Skip to content

Instantly share code, notes, and snippets.

@mhausenblas
Created July 19, 2018 09:22
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 mhausenblas/18e4be34eac8bcec3d314f82edcf7199 to your computer and use it in GitHub Desktop.
Save mhausenblas/18e4be34eac8bcec3d314f82edcf7199 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: envfromsecret
spec:
containers:
- name: shell
image: centos:7
command:
- "bin/bash"
- "-c"
- "sleep 10000"
env:
- name: AWS_REGION
valueFrom:
secretKeyRef:
name: aws-region
key: VAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment