Naresh Dulam:
kubectl create clusterrole deployment-cluster --verb=create --resource=deployment,statefulsets,daemonsets
Naresh Dulam:
I found the answer: it should be like this
kubectl auth can-i create deployment --as system:serviceaccont:app-team1:cicd-toke -n app-team1
Naresh Dulam:
yes