Hands-on task
k8s: ServiceAccount for a pod
In /root/sa.yaml (two documents separated by ---) there are a ServiceAccount robot and a Pod worker, but the pod runs under the default ServiceAccount. Fix the manifest: make worker run under the ServiceAccount robot (the serviceAccountName field). Edit the file in the Editor tab.
- kubernetes
- serviceaccount
- pod
- yq
- rbac