Pod service account helm package
$ helm repo add psosnicki-helm-repo-stable https://psosnicki.github.io/helm3-repo/stable
$ helm repo update
$ helm install my-release psosnicki-helm-repo-stable/k8s-pod-service-account --version=1.0.0
# default values
name: "pod-service-account"
allowedResources:
- configmaps
- secrets
allowedVerbs:
- get
- list
- watch
apiGroups:
- ""
- rbac.authorization.k8s.io
serviceAccount:
create: false
name: "pod-service-account"
or set serviceAccountName: "pod-service-account"
directly in deployment.yaml