From 6be8809a9b6fc328a973f61c9f7e591223067e23 Mon Sep 17 00:00:00 2001 From: Jeffrey Regan Date: Wed, 11 Apr 2018 17:15:14 -0700 Subject: [PATCH] Drop k8s metatype fields from kustomize.yaml struct --- demos/helloWorld.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/demos/helloWorld.md b/demos/helloWorld.md index d6e9c5bf5c..63a02513a2 100644 --- a/demos/helloWorld.md +++ b/demos/helloWorld.md @@ -133,10 +133,7 @@ defining a new name prefix, and some different labels. ``` cat <<'EOF' >$OVERLAYS/staging/kustomize.yaml -apiVersion: manifest.k8s.io/v1alpha1 -kind: Package -metadata: - name: makes-staging-hello +kustomizationName: makes-staging-hello namePrefix: staging- objectLabels: instance: staging @@ -178,10 +175,7 @@ with a different name prefix and labels. ``` cat <$OVERLAYS/production/kustomize.yaml -apiVersion: manifest.k8s.io/v1alpha1 -kind: Package -metadata: - name: makes-production-tuthello +kustomizationName: makes-production-tuthello namePrefix: production- objectLabels: instance: production