Skip to content

Instantly share code, notes, and snippets.

@tstrul1
Forked from matthewpalmer/config-map.yaml
Created August 29, 2020 12:07
Show Gist options
  • Select an option

  • Save tstrul1/9f13609b9706d21bce5dec33bf55e352 to your computer and use it in GitHub Desktop.

Select an option

Save tstrul1/9f13609b9706d21bce5dec33bf55e352 to your computer and use it in GitHub Desktop.
kind: ConfigMap
apiVersion: v1
metadata:
name: example-configmap
data:
# Configuration values can be set as key-value properties
database: mongodb
database_uri: mongodb://localhost:27017
# Or set as complete file contents (even JSON!)
keys: |
image.public.key=771
rsa.public.key=42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment