Skip to content

Commit

Permalink
Also support pull credentials for zookeeper post-install-upgrade-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBillietKlarrio committed May 15, 2023
1 parent ceeeee3 commit 132758e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/zookeeper/templates/post-install-upgrade-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ roleRef:

apiVersion: v1
kind: ServiceAccount
{{- if or .Values.global.imagePullSecrets .Values.serviceAccount.imagePullSecrets }}
imagePullSecrets:
{{- range (default .Values.global.imagePullSecrets .Values.serviceAccount.imagePullSecrets) }}
- name: {{ . }}
{{- end }}
{{- end }}
metadata:
name: {{ template "zookeeper.fullname" . }}-post-install-upgrade
namespace: {{ .Release.Namespace }}
Expand Down

0 comments on commit 132758e

Please sign in to comment.