File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
charts/kafka-exporter/templates Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,11 @@ spec:
6666 - --tls.enabled
6767 {{- if .Values.kafkaExporter.tls.insecureSkipTlsVerify}}
6868 - --tls.insecure-skip-tls-verify
69- {{- else }}
69+ {{- end }}
7070 - --tls.ca-file=/etc/tls-certs/ca-file
7171 - --tls.cert-file=/etc/tls-certs/cert-file
7272 - --tls.key-file=/etc/tls-certs/key-file
7373 {{- end }}
74- {{- end }}
7574 {{- if .Values.kafkaExporter.log }}
7675 - --verbosity={{ .Values.kafkaExporter.log.verbosity }}
7776 {{- end }}
@@ -102,8 +101,7 @@ spec:
102101 periodSeconds : 15
103102 successThreshold : 1
104103 timeoutSeconds : 9
105-
106- {{- if and .Values.kafkaExporter.tls.enabled (not .Values.kafkaExporter.tls.insecureSkipTlsVerify) }}
104+ {{- if .Values.kafkaExporter.tls.enabled }}
107105 volumeMounts :
108106 - name : tls-certs
109107 mountPath : " /etc/tls-certs/"
@@ -124,7 +122,7 @@ spec:
124122 tolerations :
125123 {{- toYaml . | nindent 8 }}
126124 {{- end }}
127- {{- if and .Values.kafkaExporter.tls.enabled (not .Values.kafkaExporter.tls.insecureSkipTlsVerify) }}
125+ {{- if .Values.kafkaExporter.tls.enabled }}
128126 volumes :
129127 - name : tls-certs
130128 secret :
Original file line number Diff line number Diff line change 1- {{- if and .Values.kafkaExporter.tls.enabled (not .Values.kafkaExporter.tls.insecureSkipTlsVerify) }}
1+ {{- if .Values.kafkaExporter.tls.enabled }}
22apiVersion : v1
33kind : Secret
44metadata :
You can’t perform that action at this time.
0 commit comments