Skip to content

Commit

Permalink
Added felixConfig values to be added from values.yaml file
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
  • Loading branch information
rbrtbnfgl committed Aug 25, 2023
1 parent 3efffcc commit 6bf86e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{{ $felixConfig := dict }}
{{ range $key, $value := .Values.felixConfiguration }}
{{ $_ := set $felixConfig $key $value }}
{{ end }}

apiVersion: crd.projectcalico.org/v1
kind: FelixConfiguration
metadata:
name: default
spec:
wireguardEnabled: {{ .Values.felixConfiguration.wireguardEnabled }}
featureDetectOverride: {{ .Values.felixConfiguration.featureDetectOverride }}
healthPort: {{ .Values.felixConfiguration.healthPort }}
defaultEndpointToHostAction: {{ .Values.felixConfiguration.defaultEndpointToHostAction }}
failsafeInboundHostPorts: {{ .Values.felixConfiguration.failsafeInboundHostPorts }}
failsafeOutboundHostPorts: {{ .Values.felixConfiguration.failsafeOutboundHostPorts }}
iptablesRefreshInterval: {{ .Values.felixConfiguration.iptablesRefreshInterval }}
iptablesBackend: {{ .Values.felixConfiguration.iptablesBackend }}
logSeveritySys: {{ .Values.felixConfiguration.logSeveritySys }}
xdpEnabled: {{ .Values.felixConfiguration.xdpEnabled }}
{{ $felixConfig | toYaml | indent 2 }}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

certs:
node:
@@ -40,9 +53,30 @@
@@ -40,9 +53,28 @@

# Image and registry configuration for the tigera/operator pod.
tigeraOperator:
Expand Down Expand Up @@ -56,7 +56,5 @@
+ featureDetectOverride: "ChecksumOffloadBroken=true"
+ healthPort: 9099
+ defaultEndpointToHostAction: "Drop"
+ failsafeInboundHostPorts: ""
+ failsafeOutboundHostPorts: ""
+ logSeveritySys: "Info"
+ xdpEnabled: true
2 changes: 1 addition & 1 deletion packages/rke2-calico/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
url: https://github.com/projectcalico/calico/releases/download/v3.26.1/tigera-operator-v3.26.1.tgz
packageVersion: 00
packageVersion: 01
additionalCharts:
- workingDir: charts-crd
crdOptions:
Expand Down

0 comments on commit 6bf86e6

Please sign in to comment.