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
|
||||
containers:
|
||||
- name: post-install
|
||||
image: bitnami/kubectl:latest
|
||||
image: {{ .Values.postInstallJob.postInstallContainerImage }}
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
|
|
|
@ -137,7 +137,7 @@ spec:
|
|||
restartPolicy: Never
|
||||
initContainers:
|
||||
- name: init
|
||||
image: cfssl/cfssl
|
||||
image: {{ .Values.preInstallJob.initContainerImage }}
|
||||
workingDir: /opt/mount
|
||||
command:
|
||||
- /bin/sh
|
||||
|
@ -172,7 +172,7 @@ spec:
|
|||
mountPath: /opt/configs
|
||||
containers:
|
||||
- name: pre-install
|
||||
image: bitnami/kubectl:latest
|
||||
image: {{ .Values.preInstallJob.preInstallContainerImage }}
|
||||
workingDir: /opt/mount
|
||||
command:
|
||||
- /bin/sh
|
||||
|
|
|
@ -17,6 +17,15 @@ components: []
|
|||
# "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
|
||||
certs:
|
||||
## @param certs.mode "auto" and "custom" are provided
|
||||
|
|
Loading…
Reference in New Issue