Created
April 5, 2019 20:00
-
-
Save wuestkamp/5834ecfe18d4eec5fbcab51de7e7f8c9 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: | |
labels: | |
run: pod1 | |
name: pod1 | |
spec: | |
volumes: | |
- name: sec-vol | |
secret: | |
secretName: secret1 | |
containers: | |
- args: | |
- sleep | |
- "9999" | |
image: bash | |
name: pod1 | |
resources: {} | |
volumeMounts: | |
- name: sec-vol | |
mountPath: /tmp/secret1 | |
envFrom: | |
- configMapRef: | |
name: drink1 | |
dnsPolicy: ClusterFirst | |
restartPolicy: Never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment