Categories
Development

Please enter Username for – ServiceAccount deployment

I get Please enter Username when I try to deploy with a ServiceAccount, even I have set ClusterRole bindings – do you know why? kubectl: kubectl apply -f deployment.yaml Role & binding: kubectl create clusterrole tutorial-role \ –verb=get,list,watch,create,update,patch,delete \ –resource=deployments kubectl create clusterrolebinding tutorial-binding \ –clusterrole=tutorial-role \ –serviceaccount=default:tutorial-service Create config user: TOKEN=$(kubectl describe secrets “$(kubectl […]