Skip to content

Instantly share code, notes, and snippets.

@treacher
Last active September 17, 2017 09:07
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 treacher/3cbeabd65059ca88eea9f1de71ccf0c5 to your computer and use it in GitHub Desktop.
Save treacher/3cbeabd65059ca88eea9f1de71ccf0c5 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
  name: container-with-secrets
spec:
  containers:
  - name: container-with-secrets
  image: redis
  env:
  - name: SECRET_PASSWORD
  valueFrom:
  secretKeyRef:
  name: mysecret
  key: username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment