Skip to content

Instantly share code, notes, and snippets.

@wuestkamp
Created April 5, 2019 20:00
Show Gist options
  • Save wuestkamp/5834ecfe18d4eec5fbcab51de7e7f8c9 to your computer and use it in GitHub Desktop.
Save wuestkamp/5834ecfe18d4eec5fbcab51de7e7f8c9 to your computer and use it in GitHub Desktop.
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