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