Skip to content

Instantly share code, notes, and snippets.

@jeff-french
Last active January 23, 2023 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeff-french/8f465464e7fd8a77c51d0397b99b80ed to your computer and use it in GitHub Desktop.
Save jeff-french/8f465464e7fd8a77c51d0397b99b80ed to your computer and use it in GitHub Desktop.
ConfigMap Examples
apiVersion: v1
kind: ConfigMap
metadata:
name: game-demo
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment