feat: add imagePullSecrets in Job (#404)

* feat: add imagePullSecrets on Job

* feat: update values.yaml
This commit is contained in:
lenglet-k 2024-01-15 21:28:05 +01:00 committed by GitHub
parent 04b8ccebb1
commit c094322904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,7 @@ spec:
{{- end }}
template:
spec:
{{- include "pulsar.imagePullSecrets" . | nindent 6 }}
serviceAccountName: "{{ template "pulsar.fullname" . }}-{{ .Values.bookkeeper.component }}"
nodeSelector:
{{- if .Values.pulsar_metadata.nodeSelector }}

View File

@ -35,6 +35,7 @@ spec:
{{- end }}
template:
spec:
{{- include "pulsar.imagePullSecrets" . | nindent 6 }}
{{- if .Values.pulsar_metadata.nodeSelector }}
nodeSelector:
{{ toYaml .Values.pulsar_metadata.nodeSelector | indent 8 }}

View File

@ -150,6 +150,9 @@ defaultPulsarImageTag:
##
## Control what images to use for each component
images:
# set imagePullSecrets
# imagePullSecrets:
# - secretName
zookeeper:
repository: apachepulsar/pulsar-all
# uses defaultPulsarImageTag when unspecified