Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/kafka-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: kafka-exporter
version: 1.2.0
version: 1.3.0
home: https://github.com/abhishekjiitr/kafka-exporter-helm
maintainers:
- name: abhishekjiitr
Expand Down
8 changes: 3 additions & 5 deletions charts/kafka-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,11 @@ spec:
- --tls.enabled
{{- if .Values.kafkaExporter.tls.insecureSkipTlsVerify}}
- --tls.insecure-skip-tls-verify
{{- else }}
{{- end }}
- --tls.ca-file=/etc/tls-certs/ca-file
- --tls.cert-file=/etc/tls-certs/cert-file
- --tls.key-file=/etc/tls-certs/key-file
{{- end }}
{{- end }}
{{- if .Values.kafkaExporter.log }}
- --verbosity={{ .Values.kafkaExporter.log.verbosity }}
{{- end }}
Expand Down Expand Up @@ -102,8 +101,7 @@ spec:
periodSeconds: 15
successThreshold: 1
timeoutSeconds: 9

{{- if and .Values.kafkaExporter.tls.enabled (not .Values.kafkaExporter.tls.insecureSkipTlsVerify) }}
{{- if .Values.kafkaExporter.tls.enabled }}
volumeMounts:
- name: tls-certs
mountPath: "/etc/tls-certs/"
Expand All @@ -124,7 +122,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if and .Values.kafkaExporter.tls.enabled (not .Values.kafkaExporter.tls.insecureSkipTlsVerify) }}
{{- if .Values.kafkaExporter.tls.enabled }}
volumes:
- name: tls-certs
secret:
Expand Down
2 changes: 1 addition & 1 deletion charts/kafka-exporter/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and .Values.kafkaExporter.tls.enabled (not .Values.kafkaExporter.tls.insecureSkipTlsVerify) }}
{{- if .Values.kafkaExporter.tls.enabled }}
apiVersion: v1
kind: Secret
metadata:
Expand Down