mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +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
@@ -32,13 +32,13 @@ field paths.
|
||||
### Examples
|
||||
|
||||
# format file1.yaml and file2.yml
|
||||
kustomize config fmt file1.yaml file2.yml
|
||||
kustomize cfg fmt file1.yaml file2.yml
|
||||
|
||||
# format all *.yaml and *.yml recursively traversing directories
|
||||
kustomize config fmt my-dir/
|
||||
kustomize cfg fmt my-dir/
|
||||
|
||||
# format kubectl output
|
||||
kubectl get -o yaml deployments | kustomize config fmt
|
||||
kubectl get -o yaml deployments | kustomize cfg fmt
|
||||
|
||||
# format kustomize output
|
||||
kustomize build | kustomize config fmt
|
||||
kustomize build | kustomize cfg fmt
|
||||
Reference in New Issue
Block a user