mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Refactor kustomize config command structure
- Create cfg, fn, live parent commands
This commit is contained in:
committed by
Phillip Wittrock
parent
73157c7141
commit
701c217791
@@ -40,14 +40,14 @@ order they appear in the file).
|
||||
spec:
|
||||
configField: configValue
|
||||
|
||||
In the preceding example, 'kustomize config run example/' would identify the function by
|
||||
In the preceding example, 'kustomize fn run example/' would identify the function by
|
||||
the metadata.annotations.[config.kubernetes.io/function] field. It would then write all Resources in the directory to
|
||||
a container stdin (running the gcr.io/example/examplefunction:v1.0.1 image). It
|
||||
would then write the container stdout back to example/, replacing the directory
|
||||
file contents.
|
||||
|
||||
See `kustomize help config docs-fn` for more details on writing functions.
|
||||
See `kustomize help cfg docs-fn` for more details on writing functions.
|
||||
|
||||
### Examples
|
||||
|
||||
kustomize config run example/
|
||||
kustomize fn run example/
|
||||
|
||||
Reference in New Issue
Block a user