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: literals:
- fruit=apple - fruit=apple
- vegetable=broccoli - vegetable=broccoli
env: foo.env envs:
- foo.env
files: files:
- passphrase=phrase.dat - passphrase=phrase.dat
- forces.txt - forces.txt
@@ -45,7 +46,8 @@ secretGenerator:
literals: literals:
- fruit=apple - fruit=apple
- vegetable=broccoli - vegetable=broccoli
env: foo.env envs:
- foo.env
files: files:
- passphrase=phrase.dat - passphrase=phrase.dat
- forces.txt - forces.txt

View File

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

View File

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