mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
add apiVersion and kind in README.md for examples
This commit is contained in:
@@ -39,6 +39,8 @@ curl -s -o "$BASE/#1.yaml" "https://raw.githubusercontent.com\
|
||||
/{deployment,service}.yaml"
|
||||
|
||||
cat <<'EOF' >$BASE/kustomization.yaml
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
commonLabels:
|
||||
app: hello
|
||||
resources:
|
||||
@@ -59,6 +61,8 @@ OVERLAYS=$DEMO_HOME/overlays
|
||||
mkdir -p $OVERLAYS/staging
|
||||
|
||||
cat <<'EOF' >$OVERLAYS/staging/kustomization.yaml
|
||||
apiVersion: v1
|
||||
kind: Kustomization
|
||||
namePrefix: staging-
|
||||
nameSuffix: -v1
|
||||
commonLabels:
|
||||
|
||||
Reference in New Issue
Block a user