diff --git a/charts/vela-core/templates/defwithtemplate/init-container.yaml b/charts/vela-core/templates/defwithtemplate/init-container.yaml index 593b534ee..4c5c3cfac 100644 --- a/charts/vela-core/templates/defwithtemplate/init-container.yaml +++ b/charts/vela-core/templates/defwithtemplate/init-container.yaml @@ -99,7 +99,7 @@ spec: initMountPath: string // +usage=Specify the extra volume mounts for the init container - extraVolumeMounts: [{ + extraVolumeMounts: [...{ // +usage=The name of the volume to be mounted name: string // +usage=The mountPath for mount in the init container diff --git a/charts/vela-minimal/templates/defwithtemplate/init-container.yaml b/charts/vela-minimal/templates/defwithtemplate/init-container.yaml index 593b534ee..4c5c3cfac 100644 --- a/charts/vela-minimal/templates/defwithtemplate/init-container.yaml +++ b/charts/vela-minimal/templates/defwithtemplate/init-container.yaml @@ -99,7 +99,7 @@ spec: initMountPath: string // +usage=Specify the extra volume mounts for the init container - extraVolumeMounts: [{ + extraVolumeMounts: [...{ // +usage=The name of the volume to be mounted name: string // +usage=The mountPath for mount in the init container diff --git a/vela-templates/definitions/internal/trait/init-container.cue b/vela-templates/definitions/internal/trait/init-container.cue index 1362661f4..af000805f 100644 --- a/vela-templates/definitions/internal/trait/init-container.cue +++ b/vela-templates/definitions/internal/trait/init-container.cue @@ -94,7 +94,7 @@ template: { initMountPath: string // +usage=Specify the extra volume mounts for the init container - extraVolumeMounts: [{ + extraVolumeMounts: [...{ // +usage=The name of the volume to be mounted name: string // +usage=The mountPath for mount in the init container