Skip to content

Commit

Permalink
feat: add imagePullSecrets in Job (#404)
Browse files Browse the repository at this point in the history
* feat: add imagePullSecrets on Job

* feat: update values.yaml
  • Loading branch information
lenglet-k authored Jan 15, 2024
1 parent 04b8cce commit c094322
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/pulsar/templates/bookkeeper-cluster-initialize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions charts/pulsar/templates/pulsar-cluster-initialize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/pulsar/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c094322

Please sign in to comment.