Make post-install-job pre-install-job image configurable
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
This commit is contained in:
parent
a6fd93fd23
commit
b86e09cbd5
|
@ -79,7 +79,7 @@ spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
- name: post-install
|
- name: post-install
|
||||||
image: bitnami/kubectl:latest
|
image: {{ .Values.postInstallJob.postInstallContainerImage }}
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
|
|
|
@ -137,7 +137,7 @@ spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init
|
- name: init
|
||||||
image: cfssl/cfssl
|
image: {{ .Values.preInstallJob.initContainerImage }}
|
||||||
workingDir: /opt/mount
|
workingDir: /opt/mount
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
|
@ -172,7 +172,7 @@ spec:
|
||||||
mountPath: /opt/configs
|
mountPath: /opt/configs
|
||||||
containers:
|
containers:
|
||||||
- name: pre-install
|
- name: pre-install
|
||||||
image: bitnami/kubectl:latest
|
image: {{ .Values.preInstallJob.preInstallContainerImage }}
|
||||||
workingDir: /opt/mount
|
workingDir: /opt/mount
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
|
|
|
@ -17,6 +17,15 @@ components: []
|
||||||
# "schedulerEstimator"
|
# "schedulerEstimator"
|
||||||
# ]
|
# ]
|
||||||
|
|
||||||
|
## pre-install job config
|
||||||
|
preInstallJob:
|
||||||
|
initContainerImage: cfssl/cfssl
|
||||||
|
preInstallContainerImage: bitnami/kubectl:latest
|
||||||
|
|
||||||
|
## post-install job config
|
||||||
|
postInstallJob:
|
||||||
|
postInstallContainerImage: bitnami/kubectl:latest
|
||||||
|
|
||||||
## karmada certificate config
|
## karmada certificate config
|
||||||
certs:
|
certs:
|
||||||
## @param certs.mode "auto" and "custom" are provided
|
## @param certs.mode "auto" and "custom" are provided
|
||||||
|
|
Loading…
Reference in New Issue