mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
update kyaml in functions/examples
This commit is contained in:
@@ -17,7 +17,7 @@ Resource configuration, and looks for invalid configuration.
|
||||
The function is invoked by authoring a [local Resource](local-resource)
|
||||
with `metadata.annotations.[config.kubernetes.io/function]` and running:
|
||||
|
||||
kustomize fn run local-resource/
|
||||
kustomize build --enable-alpha-plugins local-resource/
|
||||
|
||||
This exits non-zero if there is an error.
|
||||
|
||||
@@ -25,11 +25,11 @@ This exits non-zero if there is an error.
|
||||
|
||||
Run the validator with:
|
||||
|
||||
kustomize fn run local-resource/
|
||||
kustomize build --enable-alpha-plugins local-resource/
|
||||
|
||||
This will add resource reservations to the Deployment. Change the `tshirt-size`
|
||||
annotation from `medium` to `small` and rerun:
|
||||
|
||||
kustomize fn run local-resource/
|
||||
kustomize build --enable-alpha-plugins local-resource/
|
||||
|
||||
Observe that the reservations have changed.
|
||||
|
||||
Reference in New Issue
Block a user