mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-18 12:42:19 +00:00
23 lines
607 B
Markdown
23 lines
607 B
Markdown
## source
|
|
|
|
[Alpha] Implement a Source by reading a local directory.
|
|
|
|
### Synopsis
|
|
|
|
[Alpha] Implement a Source by reading a local directory.
|
|
|
|
kustomize fn source DIR...
|
|
|
|
DIR:
|
|
One or more paths to local directories. Contents from directories will be concatenated.
|
|
If no directories are provided, source will read from stdin as if it were a single file.
|
|
|
|
`source` emits configuration to act as input to a function
|
|
|
|
### Examples
|
|
|
|
# emity configuration directory as input source to a function
|
|
kustomize fn source DIR/
|
|
|
|
kustomize fn source DIR/ | your-function | kustomize fn sink DIR/
|