Skip to content

Instantly share code, notes, and snippets.

@sachin-slathia
Created December 10, 2019 11:31
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/45100173b0455d24df2908ab61d84fef to your computer and use it in GitHub Desktop.
Save sachin-slathia/45100173b0455d24df2908ab61d84fef to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: test
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