Merge pull request #1130 from monopole/envToEnvs

Fix yaml in generator examples.
This commit is contained in:
Jeff Regan
2019-05-28 18:34:14 -07:00
committed by GitHub
5 changed files with 48 additions and 46 deletions

View File

@@ -33,7 +33,8 @@ configMapGenerator:
literals:
- fruit=apple
- vegetable=broccoli
env: foo.env
envs:
- foo.env
files:
- passphrase=phrase.dat
- forces.txt
@@ -45,7 +46,8 @@ secretGenerator:
literals:
- fruit=apple
- vegetable=broccoli
env: foo.env
envs:
- foo.env
files:
- passphrase=phrase.dat
- forces.txt

View File

@@ -178,7 +178,7 @@ resources:
- deployment.yaml
- service.yaml
configMapGenerator:
- name: configmap-in-base
- name: configmap-in-base
literals:
- foo=bar
secretGenerator:
@@ -354,10 +354,10 @@ patchesStrategicMerge:
bases:
- ../app
configMapGenerator:
- name: configmap-in-overlay
- name: configmap-in-overlay
literals:
- hello=world
- name: configmap-in-base
- name: configmap-in-base
behavior: replace
literals:
- foo=override-bar

View File

@@ -38,7 +38,7 @@ resources:
- deployment.yaml
- service.yaml
configMapGenerator:
- name: configmap-in-base
- name: configmap-in-base
literals:
- foo=bar
`)
@@ -93,7 +93,7 @@ patchesStrategicMerge:
bases:
- ../../base
configMapGenerator:
- name: configmap-in-overlay
- name: configmap-in-overlay
literals:
- hello=world
`)