From 958f415e5b743d9c8a42b9700507c8e072234bd4 Mon Sep 17 00:00:00 2001 From: Carlota Rico de la Fuente Date: Mon, 30 Oct 2023 13:00:48 +0100 Subject: [PATCH] Implement imagePullSecret support for master --- charts/openstack-cloud-controller-manager/Chart.yaml | 2 +- .../openstack-cloud-controller-manager/templates/daemonset.yaml | 2 ++ charts/openstack-cloud-controller-manager/values.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/openstack-cloud-controller-manager/Chart.yaml b/charts/openstack-cloud-controller-manager/Chart.yaml index 9ab1ed5293..3eac4dca42 100644 --- a/charts/openstack-cloud-controller-manager/Chart.yaml +++ b/charts/openstack-cloud-controller-manager/Chart.yaml @@ -4,7 +4,7 @@ description: Openstack Cloud Controller Manager Helm Chart icon: https://object-storage-ca-ymq-1.vexxhost.net/swift/v1/6e4619c416ff4bd19e1c087f27a43eea/www-images-prod/openstack-logo/OpenStack-Logo-Vertical.png home: https://github.com/kubernetes/cloud-provider-openstack name: openstack-cloud-controller-manager -version: 2.29.0-alpha.4 +version: 2.29.0-alpha.5 maintainers: - name: eumel8 email: f.kloeker@telekom.de diff --git a/charts/openstack-cloud-controller-manager/templates/daemonset.yaml b/charts/openstack-cloud-controller-manager/templates/daemonset.yaml index 4bd8fde955..a210a14442 100644 --- a/charts/openstack-cloud-controller-manager/templates/daemonset.yaml +++ b/charts/openstack-cloud-controller-manager/templates/daemonset.yaml @@ -25,6 +25,8 @@ spec: labels: {{- include "occm.controllermanager.labels" . | nindent 8 }} spec: + imagePullSecrets: + {{- toYaml .Values.imagePullSecrets | nindent 8 }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/openstack-cloud-controller-manager/values.yaml b/charts/openstack-cloud-controller-manager/values.yaml index e1c23e3c74..9ede9b2038 100644 --- a/charts/openstack-cloud-controller-manager/values.yaml +++ b/charts/openstack-cloud-controller-manager/values.yaml @@ -10,6 +10,7 @@ commonAnnotations: {} # "helm.sh/hook-delete-policy": before-hook-creation # Image repository name and tag +imagePullSecrets: [] image: repository: registry.k8s.io/provider-os/openstack-cloud-controller-manager tag: ""