From 42c39343c8fe18c2418976d52763df6085fcf0d1 Mon Sep 17 00:00:00 2001 From: Lars Scheibling Date: Sun, 4 Jun 2023 07:58:00 +0000 Subject: [PATCH] Moved imagePullSecret --- .gitlab-ci.yml | 2 +- Chart/Chart.yaml | 2 +- Chart/templates/deployment.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6db5e4..a0e29c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "0.5.2" + HELM_CHART_VERSION: "0.5.3" stages: - deploy diff --git a/Chart/Chart.yaml b/Chart/Chart.yaml index ed36057..2af1ba0 100644 --- a/Chart/Chart.yaml +++ b/Chart/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: wordyne description: Helm chart for deploying pre-built website containers to kubernetes clusters type: application -version: "0.5.2" +version: "0.5.3" appVersion: "6.2.2" diff --git a/Chart/templates/deployment.yaml b/Chart/templates/deployment.yaml index d3ebc46..e93b36d 100644 --- a/Chart/templates/deployment.yaml +++ b/Chart/templates/deployment.yaml @@ -32,6 +32,8 @@ spec: - name: serverconfig configMap: name: {{ include "..fullname" . }}-cfg + imagePullSecrets: + - name: pull-secret initContainers: - name: deploy securityContext: @@ -39,8 +41,6 @@ spec: runAsUser: 0 image: "cloudyne.azurecr.io/buildahome/{{ .Values.site.name | default ( .Values.site.domain | replace "." "-" ) }}:{{ .Values.site.imageTag | default "latest" }}" imagePullPolicy: Always - imagePullSecrets: - - name: pull-secret volumeMounts: - name: cloud mountPath: /full-cloud