7122a4498a
Changes where done with these commands: reprec 'image: busybox(?!:)' 'image: busybox:1.28' */docs */examples reprec -- '--image=busybox(?!:)' '--image=busybox:1.28' */docs */examples Related issues: https://github.com/docker-library/busybox/issues/48 https://github.com/kubernetes/kubernetes/issues/66924
22 lines
423 B
YAML
22 lines
423 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: sa-token-test
|
|
spec:
|
|
containers:
|
|
- name: container-test
|
|
image: busybox:1.28
|
|
volumeMounts:
|
|
- name: token-vol
|
|
mountPath: "/service-account"
|
|
readOnly: true
|
|
serviceAccountName: default
|
|
volumes:
|
|
- name: token-vol
|
|
projected:
|
|
sources:
|
|
- serviceAccountToken:
|
|
audience: api
|
|
expirationSeconds: 3600
|
|
path: token
|