Created
July 19, 2018 09:22
-
-
Save mhausenblas/18e4be34eac8bcec3d314f82edcf7199 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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