29 lines
654 B
YAML
29 lines
654 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: sa-ctb-name-test
|
|
spec:
|
|
containers:
|
|
- name: container-test
|
|
image: busybox
|
|
command: ["sleep", "3600"]
|
|
volumeMounts:
|
|
- name: token-vol
|
|
mountPath: "/root-certificates"
|
|
readOnly: true
|
|
serviceAccountName: default
|
|
volumes:
|
|
- name: root-certificates-vol
|
|
projected:
|
|
sources:
|
|
- clusterTrustBundle:
|
|
name: example
|
|
path: example-roots.pem
|
|
- clusterTrustBundle:
|
|
signerName: "example.com/mysigner"
|
|
labelSelector:
|
|
matchLabels:
|
|
version: live
|
|
path: mysigner-roots.pem
|
|
optional: true
|