Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
feat(charts): enables imagePullSecrets in cleanup-webhook
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Ripa <[email protected]>
  • Loading branch information
eripa authored and kmova committed Sep 12, 2021
1 parent 0a0e835 commit 68ae551
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openebs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 2.12.5
version: 2.12.6
name: openebs
appVersion: 2.12.1
description: Containerized Storage for Containers
Expand Down
4 changes: 4 additions & 0 deletions charts/openebs/templates/legacy/cleanup-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
labels:
app: {{ template "openebs.name" . }}
spec:
{{- if .Values.cleanup.image.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.cleanup.image.imagePullSecrets | indent 8 }}
{{- end }}
serviceAccountName: {{ template "openebs.serviceAccountName" . }}
{{- if .Values.webhook.tolerations }}
tolerations:
Expand Down
2 changes: 2 additions & 0 deletions charts/openebs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -664,3 +664,5 @@ cleanup:
registry:
repository: bitnami/kubectl
tag:
imagePullSecrets: []
# - name: image-pull-secret

0 comments on commit 68ae551

Please sign in to comment.