Kubernetes ConfigMap Manifest: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
... | ... | ||
data: | data: | ||
# property-like keys; each key maps to a simple value | <font color=teal># property-like keys; each key maps to a simple value</font> | ||
player_initial_lives: "3" | player_initial_lives: "3" | ||
ui_properties_file_name: "user-interface.properties" | ui_properties_file_name: "user-interface.properties" | ||
# file-like keys | <font color=teal># file-like keys</font> | ||
game.properties: | | game.properties: | | ||
enemy.types=aliens,monsters | enemy.types=aliens,monsters |
Revision as of 17:44, 2 March 2022
External
Internal
Example
apiVersion: v1 kind: ConfigMap metadata: name: blue labels: color: blue annotations: ... data: # property-like keys; each key maps to a simple value player_initial_lives: "3" ui_properties_file_name: "user-interface.properties" # file-like keys game.properties: | enemy.types=aliens,monsters player.maximum-lives=5 user-interface.properties: | color.good=purple color.bad=yellow allow.textmode=true