Skip to content

Commit

Permalink
Implement imagePullSecret support for master branch (#2446)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlotardl authored Nov 8, 2023
1 parent 577f673 commit 95a3823
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ spec:
labels:
{{- include "occm.controllermanager.labels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
5 changes: 5 additions & 0 deletions charts/openstack-cloud-controller-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ commonAnnotations: {}
# "helm.sh/hook-weight": "-100"
# "helm.sh/hook-delete-policy": before-hook-creation

# List of secrets to use as image pull secret
imagePullSecrets: []
# - pull-secret-1
# - pull-secret-2

# Image repository name and tag
image:
repository: registry.k8s.io/provider-os/openstack-cloud-controller-manager
Expand Down

0 comments on commit 95a3823

Please sign in to comment.