mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #454 from yanc0/literals-documentation
Literals documentation configMap Generation
This commit is contained in:
@@ -63,13 +63,18 @@ resources:
|
|||||||
|
|
||||||
# Each entry in this list results in the creation of
|
# Each entry in this list results in the creation of
|
||||||
# one ConfigMap resource (it's a generator of n maps).
|
# one ConfigMap resource (it's a generator of n maps).
|
||||||
# The example below creates a ConfigMap with the
|
# The example below creates two ConfigMaps. One with the
|
||||||
# names and contents of the given files.
|
# names and contents of the given files, the other with
|
||||||
|
# key/value as data.
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: myJavaServerProps
|
- name: myJavaServerProps
|
||||||
files:
|
files:
|
||||||
- application.properties
|
- application.properties
|
||||||
- more.properties
|
- more.properties
|
||||||
|
- name: myJavaServerEnvVars
|
||||||
|
literals:
|
||||||
|
- JAVA_HOME=/opt/java/jdk
|
||||||
|
- JAVA_TOOL_OPTIONS=-agentlib:hprof
|
||||||
|
|
||||||
# Each entry in this list results in the creation of
|
# Each entry in this list results in the creation of
|
||||||
# one Secret resource (it's a generator of n secrets).
|
# one Secret resource (it's a generator of n secrets).
|
||||||
|
|||||||
Reference in New Issue
Block a user