Skip to content

Commit

Permalink
fix: inconsistent imagePullSecrets inputs (#1045)
Browse files Browse the repository at this point in the history
Signed-off-by: Zsolt Rappi <[email protected]>
  • Loading branch information
rappizs authored Aug 23, 2023
1 parent 4b4ea64 commit 9c2ac52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions charts/kafka-operator/templates/authproxy-rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{{- if and .Values.prometheusMetrics.authProxy.serviceAccount.create .Values.prometheusMetrics.enabled .Values.prometheusMetrics.authProxy.enabled }}
apiVersion: v1
kind: ServiceAccount
{{- if .Values.imagePullSecrets }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- toYaml . | nindent 0 }}
{{- end }}
metadata:
name: {{ include "operator.metricsAuthProxy.serviceAccountName" .}}
Expand Down
4 changes: 2 additions & 2 deletions charts/kafka-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
replicaCount: 1

# Lists the secrets you need to use to pull kafka-operator image from a private registry.
imagePullSecrets: []
# - private-registry-key
# imagePullSecrets:
# - name: secret-with-private-registry-key

operator:
annotations: {}
Expand Down

0 comments on commit 9c2ac52

Please sign in to comment.