Skip to content

Commit

Permalink
Drop k8s metatype fields from kustomize.yaml struct
Browse files Browse the repository at this point in the history
  • Loading branch information
monopole committed Apr 12, 2018
1 parent e543dd2 commit 6be8809
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions demos/helloWorld.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,7 @@ defining a new name prefix, and some different labels.
<!-- @makeStagingManifest @test -->
```
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
Expand Down Expand Up @@ -178,10 +175,7 @@ with a different name prefix and labels.
<!-- @makeProductionManifest @test -->
```
cat <<EOF >$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
Expand Down

0 comments on commit 6be8809

Please sign in to comment.