Can we use Role and Rolebindings instead of clusterroles , init container is failing when i use rolebinding instead of clusterrole binding
syprasha1994 opened this issue · 3 comments
syprasha1994 commented
Can we use Role and Rolebindings instead of clusterroles , init container is failing when i use rolebinding instead of clusterrole binding
sethvargo commented
Hi there, sorry, what are you asking? Can you link to specific sections please?
syprasha1994 commented
Hello Seth , thank you for replying , I have sucessfully created a vault following your scripts , however while creating a service account in my-app cluster to authenticate to vault I created a sercice account with role and role binding in default namespace , then i deployed the static app , but the pods are stuck in crashloop ( the init container is failing) however if i create the same service account with cluster roles binding , it worked ,
There is a requirement for me to create service account that is namespace specific
sethvargo commented
Hi @syprasha1994 - this is probably better asked on the Vault mailing list.