github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/integration/kubernetes/runtimeclass_workloads/pod-projected-volume.yaml (about) 1 # 2 # Copyright (c) 2018 Intel Corporation 3 # 4 # SPDX-License-Identifier: Apache-2.0 5 # 6 apiVersion: v1 7 kind: Pod 8 metadata: 9 name: test-projected-volume 10 spec: 11 terminationGracePeriodSeconds: 0 12 runtimeClassName: kata 13 containers: 14 - name: test-projected-volume 15 image: quay.io/prometheus/busybox:latest 16 command: ["tail", "-f", "/dev/null"] 17 volumeMounts: 18 - name: all-in-one 19 mountPath: "/projected-volume" 20 readOnly: true 21 volumes: 22 - name: all-in-one 23 projected: 24 sources: 25 - secret: 26 name: user 27 - secret: 28 name: pass