Created
July 11, 2018 23:53
-
-
Save cmattoon/c05fcafd5a0cd20537b090c3bf84e2c5 to your computer and use it in GitHub Desktop.
dir2cm example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[app] | |
config_value = true | |
[db] | |
host = localhost | |
port = 1234 | |
user = root | |
pass = toor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[logging] | |
enable = true | |
level = INFO | |
file = stderr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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