update kyaml in functions/examples

This commit is contained in:
yugo kobayashi
2022-07-07 18:51:12 +00:00
parent d2ceab5f30
commit bd67fc2781
17 changed files with 1243 additions and 424 deletions

View File

@@ -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.