Skip to content

Instantly share code, notes, and snippets.

@parashuramn
Created June 6, 2023 18:09
Show Gist options
  • Save parashuramn/a1582a329136d95fc39d53c3c6b52f9f to your computer and use it in GitHub Desktop.
Save parashuramn/a1582a329136d95fc39d53c3c6b52f9f to your computer and use it in GitHub Desktop.
config-map.yaml
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