mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-29 17:41:13 +00:00
add apiVersion and kind in README.md for examples
This commit is contained in:
@@ -158,6 +158,8 @@ height=10m
|
||||
EOF
|
||||
|
||||
cat <<EOF >$DEMO_HOME/base/kustomization.yaml
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
configMapGenerator:
|
||||
- name: my-configmap
|
||||
files:
|
||||
@@ -191,6 +193,8 @@ dbpassword=mothersMaidenName
|
||||
EOF
|
||||
|
||||
cat <<EOF >$OVERLAYS/development/kustomization.yaml
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../../base
|
||||
namePrefix: dev-
|
||||
@@ -273,6 +277,8 @@ dbpassword=thisShouldProbablyBeInASecretInstead
|
||||
EOF
|
||||
|
||||
cat <<EOF >$OVERLAYS/production/kustomization.yaml
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
bases:
|
||||
- ../../base
|
||||
namePrefix: prod-
|
||||
|
||||
Reference in New Issue
Block a user