Files
kubevela/references/docgen/testdata/parameter/env.cue
2023-02-21 15:54:44 +08:00

15 lines
591 B
CUE

#PatchParams: {
// +usage=Specify the name of the target container, if not set, use the component name
containerName: *"" | string
// +usage=Specify if replacing the whole environment settings for the container
replace: *false | bool
// +usage=Specify the environment variables to merge, if key already existing, override its value
env: [string]: string
// +usage=Specify which existing environment variables to unset
unset: *[] | [...string]
}
parameter: #PatchParams | close({
// +usage=Specify the environment variables for multiple containers
containers: [...#PatchParams]
})