Updated pull policy for main container since init container pulls image
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "1.0.11"
|
HELM_CHART_VERSION: "1.0.12"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ spec:
|
|||||||
image: cloudyne/ubuntu-ci:latest
|
image: cloudyne/ubuntu-ci:latest
|
||||||
command: ["python3"]
|
command: ["python3"]
|
||||||
args: ["/usr/local/bin/storage-clone", "/mnt/cloud", "/mnt/local"]
|
args: ["/usr/local/bin/storage-clone", "/mnt/cloud", "/mnt/local"]
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: IfNotExists
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: cloud
|
- name: cloud
|
||||||
mountPath: /mnt/cloud
|
mountPath: /mnt/cloud
|
||||||
@@ -138,7 +138,7 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 101
|
runAsUser: 101
|
||||||
image: "{{ .Values.site.image }}"
|
image: "{{ .Values.site.image }}"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: IfNotExists
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: serverconfig
|
- name: serverconfig
|
||||||
mountPath: /init-go/config.json
|
mountPath: /init-go/config.json
|
||||||
|
|||||||
Reference in New Issue
Block a user