Skip to main content

Module files

Module files 

Source
Expand description

Materializes a local kustomization plus caller-declared generated files into a private temporary copy before kustomize build runs.

Ported from internal/deployer/kustomize/files.go.

Enums§

FilesError
Errors from validate_files and materialize_with_files.

Functions§

materialize_with_files
Copies src into a fresh 0700 temp directory and writes files into it (0600), so nothing lands in the user’s repository. cleanup is always safe to call.
validate_files
Rejects files: on non-local paths and keys that leave the kustomization directory.