mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
add apiVersion and kind in README.md for examples
This commit is contained in:
@@ -142,6 +142,8 @@ defining a new name prefix, and some different labels.
|
||||
<!-- @makeStagingKustomization @test -->
|
||||
```
|
||||
cat <<'EOF' >$OVERLAYS/staging/kustomization.yaml
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: staging-
|
||||
commonLabels:
|
||||
variant: staging
|
||||
@@ -183,6 +185,8 @@ with a different name prefix and labels.
|
||||
<!-- @makeProductionKustomization @test -->
|
||||
```
|
||||
cat <<EOF >$OVERLAYS/production/kustomization.yaml
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: production-
|
||||
commonLabels:
|
||||
variant: production
|
||||
|
||||
Reference in New Issue
Block a user