Closed FloGro3 closed 3 months ago
Fixes 296
Enables you to have separate initContainers for the initializer and runner pod.
Was tested successfully in own K8 environment (only the initializer pod was configured to have initContainers):
Config looks like this:
initializer: ... {{- if .Values.executor.script.volumeClaim }} initContainers: - image: {{ tpl $.Values.docker.registry $ }}/{{ tpl $.Values.image.name $ }}:{{ tpl $.Values.image.tag $ }} {{- if .Values.image.command }} command: [ "sh", "-c", {{ .Values.image.command }} ] {{- else }} {{- with (index .Values.mount.pvcs 0) }} command: [ "sh", "-c", "cp -r /home/* {{ .path }};" ] {{- end }} {{- end }} {{- end }}
All committers have signed the CLA.
@yorugac Sure, I've added a small example.
Fixes 296
Enables you to have separate initContainers for the initializer and runner pod.
Was tested successfully in own K8 environment (only the initializer pod was configured to have initContainers):
Config looks like this: