Skip to content

Instantly share code, notes, and snippets.

@sachin-slathia
Created December 6, 2019 08:53
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 sachin-slathia/646ab3f21b90a670317961ba5db62faa to your computer and use it in GitHub Desktop.
Save sachin-slathia/646ab3f21b90a670317961ba5db62faa to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: dapi-test-pod
spec:
containers:
- name: test-container
image: k8s.gcr.io/busybox
command: [ "/bin/sh", "-c", "env" ]
env:
- name: SPECIAL_LEVEL_KEY
valueFrom:
configMapKeyRef:
name: game-config
key: game.properties
restartPolicy: Never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment