From 5e0c336f72e0d4c0f88891b77f1005e0454691ad Mon Sep 17 00:00:00 2001 From: wei669 Date: Tue, 12 Sep 2023 13:00:27 +0800 Subject: [PATCH] Disable hostname verification so that ipv6 can be configured --- .../060-Deployment-strimzi-cluster-operator.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packaging/helm-charts/helm3/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml b/packaging/helm-charts/helm3/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml index 12c817668b0..00b062913ff 100644 --- a/packaging/helm-charts/helm3/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml +++ b/packaging/helm-charts/helm3/strimzi-kafka-operator/templates/060-Deployment-strimzi-cluster-operator.yaml @@ -70,6 +70,14 @@ spec: - name: {{ .Values.logVolume }} mountPath: /opt/strimzi/custom-config/ env: + {{- if .Values.kubernetesMaster }} + - name: KUBERNETES_MASTER + value: {{ .Values.kubernetesMaster }} + {{- end }} + {{- if .Values.kubernetesDisableHostVerification }} + - name: KUBERNETES_DISABLE_HOSTNAME_VERIFICATION + value: {{ .Values.kubernetesDisableHostVerification | quote }} + {{- end }} - name: STRIMZI_NAMESPACE {{- if .Values.watchAnyNamespace }} value: "*"