From 1549f5f365fc523ee0eb4d9496db1c2f4d9c0255 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Fri, 26 Jan 2024 20:52:31 +0100 Subject: [PATCH] hot-fix: replace pullsecrets with variable --- charts/hub/Chart.yaml | 2 +- .../templates/kerberos-hub/hub-reactivate-subscription.yaml | 4 +++- charts/hub/templates/kerberos-vault/vault-proxy.yaml | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/charts/hub/Chart.yaml b/charts/hub/Chart.yaml index cafa674..9a3098e 100644 --- a/charts/hub/Chart.yaml +++ b/charts/hub/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.48.0 +version: 0.49.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/hub/templates/kerberos-hub/hub-reactivate-subscription.yaml b/charts/hub/templates/kerberos-hub/hub-reactivate-subscription.yaml index cf747df..d5534b7 100644 --- a/charts/hub/templates/kerberos-hub/hub-reactivate-subscription.yaml +++ b/charts/hub/templates/kerberos-hub/hub-reactivate-subscription.yaml @@ -18,8 +18,10 @@ spec: labels: app: hub-reactivate-subscription spec: + {{- with .Values.imagePullSecrets }} imagePullSecrets: - - name: regcred + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: hub-reactivate-subscription image: "{{ .Values.kerberoshub.reactivate.repository }}:{{ .Values.kerberoshub.reactivate.tag }}" diff --git a/charts/hub/templates/kerberos-vault/vault-proxy.yaml b/charts/hub/templates/kerberos-vault/vault-proxy.yaml index 9e2dcc8..790be1c 100644 --- a/charts/hub/templates/kerberos-vault/vault-proxy.yaml +++ b/charts/hub/templates/kerberos-vault/vault-proxy.yaml @@ -18,8 +18,10 @@ spec: labels: app: vault-proxy spec: + {{- with .Values.imagePullSecrets }} imagePullSecrets: - - name: regcred + {{- toYaml . | nindent 8 }} + {{- end }} containers: - name: vault-proxy image: "{{ .Values.kerberoshub.proxy.repository }}:{{ .Values.kerberoshub.proxy.tag }}"