Skip to content

Instantly share code, notes, and snippets.

@wuestkamp
Last active April 28, 2020 21:51
Show Gist options
  • Save wuestkamp/321c670bd7e635f45438df6915081956 to your computer and use it in GitHub Desktop.
Save wuestkamp/321c670bd7e635f45438df6915081956 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
dnsPolicy: ClusterFirst
restartPolicy: Always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment