mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #437 from monopole/dropK8sMetadataFields
Drop k8s metadata fields from kustomize.yaml struct
This commit is contained in:
@@ -133,10 +133,7 @@ defining a new name prefix, and some different labels.
|
|||||||
<!-- @makeStagingManifest @test -->
|
<!-- @makeStagingManifest @test -->
|
||||||
```
|
```
|
||||||
cat <<'EOF' >$OVERLAYS/staging/kustomize.yaml
|
cat <<'EOF' >$OVERLAYS/staging/kustomize.yaml
|
||||||
apiVersion: manifest.k8s.io/v1alpha1
|
kustomizationName: makes-staging-hello
|
||||||
kind: Package
|
|
||||||
metadata:
|
|
||||||
name: makes-staging-hello
|
|
||||||
namePrefix: staging-
|
namePrefix: staging-
|
||||||
objectLabels:
|
objectLabels:
|
||||||
instance: staging
|
instance: staging
|
||||||
@@ -178,10 +175,7 @@ with a different name prefix and labels.
|
|||||||
<!-- @makeProductionManifest @test -->
|
<!-- @makeProductionManifest @test -->
|
||||||
```
|
```
|
||||||
cat <<EOF >$OVERLAYS/production/kustomize.yaml
|
cat <<EOF >$OVERLAYS/production/kustomize.yaml
|
||||||
apiVersion: manifest.k8s.io/v1alpha1
|
kustomizationName: makes-production-tuthello
|
||||||
kind: Package
|
|
||||||
metadata:
|
|
||||||
name: makes-production-tuthello
|
|
||||||
namePrefix: production-
|
namePrefix: production-
|
||||||
objectLabels:
|
objectLabels:
|
||||||
instance: production
|
instance: production
|
||||||
|
|||||||
Reference in New Issue
Block a user