Skip to content

Commit 6be8809

Browse files
committed
Drop k8s metatype fields from kustomize.yaml struct
1 parent e543dd2 commit 6be8809

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

demos/helloWorld.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ defining a new name prefix, and some different labels.
133133
<!-- @makeStagingManifest @test -->
134134
```
135135
cat <<'EOF' >$OVERLAYS/staging/kustomize.yaml
136-
apiVersion: manifest.k8s.io/v1alpha1
137-
kind: Package
138-
metadata:
139-
name: makes-staging-hello
136+
kustomizationName: makes-staging-hello
140137
namePrefix: staging-
141138
objectLabels:
142139
instance: staging
@@ -178,10 +175,7 @@ with a different name prefix and labels.
178175
<!-- @makeProductionManifest @test -->
179176
```
180177
cat <<EOF >$OVERLAYS/production/kustomize.yaml
181-
apiVersion: manifest.k8s.io/v1alpha1
182-
kind: Package
183-
metadata:
184-
name: makes-production-tuthello
178+
kustomizationName: makes-production-tuthello
185179
namePrefix: production-
186180
objectLabels:
187181
instance: production

0 commit comments

Comments
 (0)