From 2a8a8de0051bd044a91d960340a92fa9fdad69a7 Mon Sep 17 00:00:00 2001 From: Todd Kazakov Date: Mon, 25 Nov 2024 13:50:44 +0200 Subject: [PATCH] Fix image pull secret --- charts/tidepool/charts/auth/templates/1-deployment-private.yaml | 2 +- charts/tidepool/charts/auth/values.yaml | 2 +- charts/tidepool/charts/data/templates/1-deployment-private.yaml | 2 +- charts/tidepool/charts/data/values.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/tidepool/charts/auth/templates/1-deployment-private.yaml b/charts/tidepool/charts/auth/templates/1-deployment-private.yaml index c548303b..5b24b39b 100644 --- a/charts/tidepool/charts/auth/templates/1-deployment-private.yaml +++ b/charts/tidepool/charts/auth/templates/1-deployment-private.yaml @@ -217,7 +217,7 @@ spec: {{- toYaml .Values.resources | nindent 10 }} {{ if .Values.deployment.imagePullSecretName }} imagePullSecrets: - name: {{- .Values.deployment.imagePullSecretName }} + - name: {{- .Values.deployment.imagePullSecretName | quote }} {{- end }} securityContext: {{- toYaml .Values.securityContext | nindent 8 }} diff --git a/charts/tidepool/charts/auth/values.yaml b/charts/tidepool/charts/auth/values.yaml index b1b759b7..a6aa6ea7 100644 --- a/charts/tidepool/charts/auth/values.yaml +++ b/charts/tidepool/charts/auth/values.yaml @@ -18,7 +18,7 @@ deployment: # -- auth Docker image imagePrivate: tidepool/platform-private-auth:master-latest # -- The name of the docker secret used for pulling the private images - imagePullSecretName: null + imagePullSecretName: # -- number of replicas to deploy replicas: 1 initContainers: [] diff --git a/charts/tidepool/charts/data/templates/1-deployment-private.yaml b/charts/tidepool/charts/data/templates/1-deployment-private.yaml index 550312f2..f457909a 100644 --- a/charts/tidepool/charts/data/templates/1-deployment-private.yaml +++ b/charts/tidepool/charts/data/templates/1-deployment-private.yaml @@ -67,7 +67,7 @@ spec: {{- toYaml .Values.resources | nindent 10 }} {{ if .Values.deployment.imagePullSecretName }} imagePullSecrets: - name: {{- .Values.deployment.imagePullSecretName }} + - name: {{- .Values.deployment.imagePullSecretName | quote }} {{- end }} securityContext: {{- toYaml .Values.securityContext | nindent 8 }} diff --git a/charts/tidepool/charts/data/values.yaml b/charts/tidepool/charts/data/values.yaml index eae3cab5..4bed01d8 100644 --- a/charts/tidepool/charts/data/values.yaml +++ b/charts/tidepool/charts/data/values.yaml @@ -9,7 +9,7 @@ deployment: # -- Docker image imagePrivate: tidepool/platform-private-data:master-latest # -- The name of the docker secret used for pulling the private images - imagePullSecretName: null + imagePullSecretName: replicas: 1 # -- memory and cpu resources for pods