mirror of
https://github.com/kubevela/kubevela.git
synced 2026-04-22 10:37:04 +00:00
Merge pull request #1067 from zzxwill/init-container-trait
Check whether parameter.command is nill for init-container trait
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user