24 lines
407 B
YAML
24 lines
407 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: test-projected-volume
|
|
spec:
|
|
containers:
|
|
- name: test-projected-volume
|
|
image: busybox
|
|
args:
|
|
- sleep
|
|
- "86400"
|
|
volumeMounts:
|
|
- name: all-in-one
|
|
mountPath: "/projected-volume"
|
|
readOnly: true
|
|
volumes:
|
|
- name: all-in-one
|
|
projected:
|
|
sources:
|
|
- secret:
|
|
name: user
|
|
- secret:
|
|
name: pass
|