Added felixConfig values to be added from values.yaml file

Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@suse.com>
pull/370/head
Roberto Bonafiglia 2023-08-25 16:01:29 +02:00 committed by Roberto Bonafiglia
parent 3efffcccf1
commit 4033b0f414
3 changed files with 8 additions and 14 deletions

View File

@ -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 }}

View File

@ -26,7 +26,7 @@
certs:
node:
@@ -40,9 +53,30 @@
@@ -40,9 +53,28 @@
# Image and registry configuration for the tigera/operator pod.
tigeraOperator:
@ -56,7 +56,5 @@
+ featureDetectOverride: "ChecksumOffloadBroken=true"
+ healthPort: 9099
+ defaultEndpointToHostAction: "Drop"
+ failsafeInboundHostPorts: ""
+ failsafeOutboundHostPorts: ""
+ logSeveritySys: "Info"
+ xdpEnabled: true

View File

@ -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: