drone-kubectl icon indicating copy to clipboard operation
drone-kubectl copied to clipboard

service account privileges required

Open mingsterism opened this issue 4 years ago • 2 comments

Hi, How can i create the service account with the right privileges. What sort of privileges would they be?

Can I use the default service account? It seems that drone is using it by default. My Logs below


1 | + kubectl apply -f deployment.yaml
-- | --
2 | User "default" set.
3 | Cluster "default" set.
4 | Context "default" created.
5 | Switched to context "default".
6 | unable to recognize "deployment.yaml": Unauthorized
7 | unable to recognize "deployment.yaml": Unauthorized

Thanks for the clarifications Ming

mingsterism avatar Apr 09 '20 15:04 mingsterism