Skip to content

Instantly share code, notes, and snippets.

@sillysachin
Forked from matthewpalmer/config-map.yaml
Created February 4, 2021 13:13
Show Gist options
  • Select an option

  • Save sillysachin/138fd1a5502bbfbfad9394d2d6aae215 to your computer and use it in GitHub Desktop.

Select an option

Save sillysachin/138fd1a5502bbfbfad9394d2d6aae215 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