Skip to content
Permalink
Branch: master
Find file Copy path
1 contributor

Users who have contributed to this file

21 lines (20 sloc) 343 Bytes
apiVersion: v1
kind: Pod
metadata:
name: consumesec
spec:
containers:
- name: shell
image: centos:7
command:
- "bin/bash"
- "-c"
- "sleep 10000"
volumeMounts:
- name: apikeyvol
mountPath: "/tmp/apikey"
readOnly: true
volumes:
- name: apikeyvol
secret:
secretName: apikey
You can’t perform that action at this time.