Hi Folks, Is there any clear documentation on what...
# kubernetes
c
Hi Folks, Is there any clear documentation on what k8s RBAC permissions are required to run pulumi preview using the v4.Chart resource? Any places to look would be appreciated.
m
Are you specifically interested in
pulumi preview
?
I assume that you'll need permissions to query the resources in your chart in order for Pulumi to be able to determine the current state.
So if your chart contains a pod and a secret, you'll have to have permissions to "get" pods and secrets in the relevant namespace.
c
This isn’t the pulumi operator, but the helm chart resource. I figured it out on my own, but its not clearly documented.
m
I understood that you're not using the k8s operator, it just came to mind as a useful reference to look at, because the operator has to perform the same operations 🙂
Would you mind sharing what you figured out? I'd be quite interested to learn
c
I needed to give the provider/role access to do every get operation that the helm chart would be implementing
m
But
preview
didn't require
list
or
watch
?
c
I added list, watch in there for good measure as well
m
Thanks for these details, that's helpful to know 🙂