Fix: multiple initialization containers are not supported in traits (#5110) (#5413)

Signed-off-by: huaxk <huaxk@163.com>
This commit is contained in:
huaxk
2023-02-03 15:57:05 +08:00
committed by GitHub
parent ce63df6b26
commit 8ec8bd9390
3 changed files with 3 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ spec:
mountPath: parameter.appMountPath
}]
}]
// +patchKey=name
initContainers: [{
name: parameter.name
image: parameter.image

View File

@@ -27,6 +27,7 @@ spec:
mountPath: parameter.appMountPath
}]
}]
// +patchKey=name
initContainers: [{
name: parameter.name
image: parameter.image

View File

@@ -18,6 +18,7 @@ template: {
mountPath: parameter.appMountPath
}]
}]
// +patchKey=name
initContainers: [{
name: parameter.name
image: parameter.image