Skip to content

Instantly share code, notes, and snippets.

@bobbytables
Created January 12, 2018 14:08
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 bobbytables/734feb39fa2fa6c60bec0dadd2da8adf to your computer and use it in GitHub Desktop.
Save bobbytables/734feb39fa2fa6c60bec0dadd2da8adf to your computer and use it in GitHub Desktop.
Example of ConfigMaps and PodSpecs
apiVersion: v1
data:
endpoint_deadline: 5s
listen_addr: "0.0.0.0"
listen_port: "50051"
metadata:
name: heimdall
namespace: default
env:
- name: LISTEN_ADDR
valueFrom:
configMapKeyRef:
name: heimdall
key: listen_addr
- name: LISTEN_PORT
valueFrom:
configMapKeyRef:
name: heimdall
key: listen_port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment