Moved imagePullSecret

This commit is contained in:
2023-06-04 07:58:00 +00:00
parent 5a91e4fec8
commit 42c39343c8
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "0.5.2" HELM_CHART_VERSION: "0.5.3"
stages: stages:
- deploy - deploy

View File

@@ -2,5 +2,5 @@ apiVersion: v2
name: wordyne name: wordyne
description: Helm chart for deploying pre-built website containers to kubernetes clusters description: Helm chart for deploying pre-built website containers to kubernetes clusters
type: application type: application
version: "0.5.2" version: "0.5.3"
appVersion: "6.2.2" appVersion: "6.2.2"

View File

@@ -32,6 +32,8 @@ spec:
- name: serverconfig - name: serverconfig
configMap: configMap:
name: {{ include "..fullname" . }}-cfg name: {{ include "..fullname" . }}-cfg
imagePullSecrets:
- name: pull-secret
initContainers: initContainers:
- name: deploy - name: deploy
securityContext: securityContext:
@@ -39,8 +41,6 @@ spec:
runAsUser: 0 runAsUser: 0
image: "cloudyne.azurecr.io/buildahome/{{ .Values.site.name | default ( .Values.site.domain | replace "." "-" ) }}:{{ .Values.site.imageTag | default "latest" }}" image: "cloudyne.azurecr.io/buildahome/{{ .Values.site.name | default ( .Values.site.domain | replace "." "-" ) }}:{{ .Values.site.imageTag | default "latest" }}"
imagePullPolicy: Always imagePullPolicy: Always
imagePullSecrets:
- name: pull-secret
volumeMounts: volumeMounts:
- name: cloud - name: cloud
mountPath: /full-cloud mountPath: /full-cloud