Skip to content

Commit

Permalink
markup
Browse files Browse the repository at this point in the history
  • Loading branch information
mazdakn committed Mar 4, 2025
1 parent c78091e commit b90a015
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 52 deletions.
8 changes: 3 additions & 5 deletions api/pkg/apis/projectcalico/v3/felixconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const (
type FlowLogsPolicyEvaluationModeType string

const (
FlowLogsPolicyEvaluationModNone FlowLogsPolicyEvaluationModeType = "None"
FlowLogsPolicyEvaluationModeNone FlowLogsPolicyEvaluationModeType = "None"
FlowLogsPolicyEvaluationModeContinuous FlowLogsPolicyEvaluationModeType = "Continuous"
)

Expand Down Expand Up @@ -806,15 +806,13 @@ type FelixConfigurationSpec struct {
// [Default: 1]
BPFExportBufferSizeMB *int `json:"bpfExportBufferSizeMB,omitempty" validate:"omitempty,cidrs"`

// FlowLogsPolicyEvaluationMode defines how policies are evaluated and reflected in flow logs.
// OnNewConnection - In this mode, staged policies are only evaluated when new connections are
// made in the dataplane. Staged/active policy changes will not be reflected in the
// `pending_policies` field of flow logs for long lived connections.
// Continuous - Felix evaluates active flows on a regular basis to determine the rule
// traces in the flow logs. Any policy updates that impact a flow will be reflected in the
// pending_policies field, offering a near-real-time view of policy changes across flows.
// None - Felix stops evaluating pending traces.
// [Default: Continuous]
FlowLogsPolicyEvaluationMode *FlowLogsPolicyEvaluationModeType `json:"flowLogsPolicyEvaluationMode,omitempty"`

// BPFRedirectToPeer controls which whether it is allowed to forward straight to the
// peer side of the workload devices. It is allowed for any host L2 devices by default
// (L2Only), but it breaks TCP dump on the host side of workload device as it bypasses
Expand Down
2 changes: 1 addition & 1 deletion api/pkg/openapi/generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions felix/docs/config-params.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions felix/docs/config-params.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/calico-bpf.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/calico-policy-only.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/calico-typha.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/calico-vxlan.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/calico.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/canal.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/crds.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/flannel-migration/calico.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions manifests/operator-crds.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b90a015

Please sign in to comment.