Skip to content

Commit

Permalink
feat(chart): add imagePullSecrets support (#12)
Browse files Browse the repository at this point in the history
* feat(chart): add imagePullSecrets support

Signed-off-by: Elliot Maincourt <[email protected]>

* fix(chart): only use a single root imagePullSecrets reference
  • Loading branch information
emaincourt authored Mar 24, 2022
1 parent 60d442c commit 1e02966
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions versions/1.0.1/templates/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ spec:
labels:
control-plane: controller-manager
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- args:
- --enable-leader-election
Expand Down Expand Up @@ -157,6 +161,10 @@ spec:
labels:
control-plane: daemon
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.daemon.affinity }}
affinity:
{{ toYaml .Values.daemon.affinity | indent 8 }}
Expand Down

0 comments on commit 1e02966

Please sign in to comment.