mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 10:15:22 +00:00
Update generatorOptions.md
fix indentation
This commit is contained in:
@@ -29,11 +29,11 @@ Add following generatorOptions
|
|||||||
```
|
```
|
||||||
cat >> $DEMO_HOME/kustomization.yaml << EOF
|
cat >> $DEMO_HOME/kustomization.yaml << EOF
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
labels:
|
labels:
|
||||||
kustomize.generated.resource: somevalue
|
kustomize.generated.resource: somevalue
|
||||||
annotations:
|
annotations:
|
||||||
annotations.only.for.generated: othervalue
|
annotations.only.for.generated: othervalue
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
Run `kustomize build` and make sure that the generated ConfigMap
|
Run `kustomize build` and make sure that the generated ConfigMap
|
||||||
|
|||||||
Reference in New Issue
Block a user