Define image pull policy for init container
This commit is contained in:
@@ -111,6 +111,7 @@ questions:
|
|||||||
|
|
||||||
- variable: nextcloudDataHostPathEnabled
|
- variable: nextcloudDataHostPathEnabled
|
||||||
label: "Configure Host Path for Nextcloud data"
|
label: "Configure Host Path for Nextcloud data"
|
||||||
|
group: "Storage"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@@ -123,6 +124,7 @@ questions:
|
|||||||
|
|
||||||
- variable: nextcloudDataVolume
|
- variable: nextcloudDataVolume
|
||||||
label: "Configure iXVolume"
|
label: "Configure iXVolume"
|
||||||
|
group: "Storage"
|
||||||
schema:
|
schema:
|
||||||
type: dict
|
type: dict
|
||||||
$ref:
|
$ref:
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ spec:
|
|||||||
- name: init-postgresdb
|
- name: init-postgresdb
|
||||||
image: busybox:latest
|
image: busybox:latest
|
||||||
command: ['sh', '-c', "until nslookup {{ template "nextcloud.fullname" . }}-postgres; do echo waiting for postgres; sleep 2; done"]
|
command: ['sh', '-c', "until nslookup {{ template "nextcloud.fullname" . }}-postgres; do echo waiting for postgres; sleep 2; done"]
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user