Interface: KustomizeOptions
@kosko/kustomize.KustomizeOptions
Hierarchy
LoadOptions
↳
KustomizeOptions
Properties
asCurrentUser
• Optional
asCurrentUser: boolean
Use the uid and gid of the command executor to run the function in the container.
Defined in
packages/kustomize/src/load.ts:24
buildCommand
• Optional
buildCommand: readonly string
[]
The command to build Kustomize files. By default, it uses kustomize build
when the kustomize
executable exists, otherwise fallback to kubectl kustomize
.
Defined in
packages/kustomize/src/load.ts:94
enableAlphaPlugins
• Optional
enableAlphaPlugins: boolean
Enable kustomize plugins.
Defined in
packages/kustomize/src/load.ts:29
enableExec
• Optional
enableExec: boolean
Enable support for exec functions (raw executables); do not use for untrusted configs! (Alpha)
Defined in
packages/kustomize/src/load.ts:34
enableHelm
• Optional
enableHelm: boolean
Enable use of the Helm chart inflator generator.
Defined in
packages/kustomize/src/load.ts:39
enableManagedByLabel
• Optional
enableManagedByLabel: boolean
Enable adding app.kubernetes.io/managed-by
label.
Defined in
packages/kustomize/src/load.ts:44
enableStar
• Optional
enableStar: boolean
Enable support for starlark functions. (Alpha)
Defined in
packages/kustomize/src/load.ts:49
env
• Optional
env: Record
<string
, string
>
A list of environment variables to be used by functions.
Defined in
packages/kustomize/src/load.ts:54
helmCommand
• Optional
helmCommand: string
Helm command (path to executable). (default helm
)
Defined in
packages/kustomize/src/load.ts:59
loadRestrictor
• Optional
loadRestrictor: string
If set to LoadRestrictionsNone
, local kustomizations may load files from
outside their root. This does, however, break the relocatability of the
kustomization. (default LoadRestrictionsRootOnly
)
Defined in
packages/kustomize/src/load.ts:66
mount
• Optional
mount: string
[]
A list of storage options read from the filesystem.
Defined in
packages/kustomize/src/load.ts:71
network
• Optional
network: boolean
Enable network access for functions that declare it.
Defined in
packages/kustomize/src/load.ts:76
networkName
• Optional
networkName: string
The docker network to run the container in. (default bridge
)
Defined in
packages/kustomize/src/load.ts:81
path
• path: string
The path to a directory containing kustomization.yaml
, or a Git repository
URL with a suffix specifying same with respect to the repository root.
Defined in
packages/kustomize/src/load.ts:19
reorder
• Optional
reorder: string
Reorder the resources just before output. Use legacy
to apply a legacy
reordering (Namespaces first, Webhooks last, etc). Use none
to suppress a
final reordering. (default legacy
)
Defined in
packages/kustomize/src/load.ts:88
Methods
transform
▸ Optional
transform(manifest
): undefined
| null
| Manifest
Parameters
Name | Type |
---|---|
manifest | Manifest |
Returns
undefined
| null
| Manifest
Inherited from
LoadOptions.transform
Defined in
packages/yaml/dist/load.d.ts:7