Merge pull request #1067 from zzxwill/init-container-trait

Check whether parameter.command is nill for init-container trait
This commit is contained in:
Jianbo Sun
2021-02-19 10:06:34 +08:00
committed by GitHub

View File

@@ -552,7 +552,9 @@ spec:
initContainers: [{
name: parameter.name
image: parameter.image
command: parameter.command
if parameter.command != _|_ {
command: parameter.command
}
// +patchKey=name
volumeMounts: [{
name: parameter.mountName