mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Revert "add apiVersion and kind to docs and examples" (#653)
This commit is contained in:
@@ -142,8 +142,6 @@ 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
|
||||
@@ -185,8 +183,6 @@ with a different name prefix and labels.
|
||||
<!-- @makeProductionKustomization @test -->
|
||||
```
|
||||
cat <<EOF >$OVERLAYS/production/kustomization.yaml
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: production-
|
||||
commonLabels:
|
||||
variant: production
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# Example configuration for the webserver
|
||||
# at https://github.com/monopole/hello
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
commonLabels:
|
||||
app: hello
|
||||
|
||||
|
||||
Reference in New Issue
Block a user