Skip to content

Instantly share code, notes, and snippets.

@cmattoon
Created July 11, 2018 23:53
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 cmattoon/c05fcafd5a0cd20537b090c3bf84e2c5 to your computer and use it in GitHub Desktop.
Save cmattoon/c05fcafd5a0cd20537b090c3bf84e2c5 to your computer and use it in GitHub Desktop.
dir2cm example
[app]
config_value = true
[db]
host = localhost
port = 1234
user = root
pass = toor
[logging]
enable = true
level = INFO
file = stderr
apiversion: v1
kind: ConfigMap
metadata:
name: my-app-config
labels: {}
data:
app.conf: |
[app]
config_value = true
[db]
host = localhost
port = 1234
user = root
pass = toor
log.conf: |
[logging]
enable = true
level = INFO
file = stderr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment