Closed haarisedhi102 closed 8 months ago
Hi @haarisedhi102 , I am not a kubernetes expert. The demo give full access because i struggule to set it up. I can update the demo with the minimum role required. But in intern at AXA France we use minimum required rôles.
In fact slimfaas just use list and scaleDeployment, list and scale statefulset. For the moment, i will plug watch api soon.
And list and scale statefulset is recently added right? So for the most basic functionality, only list and scaleDeployment would be required? serviceAccountName: slimfaas Is changing this line in the deployment yaml the only thing required to use a different/existing service account?
Updating the demo with minimum api requirements will be very helpful, Thank you
I will try to dobit today @haarisedhi102 , after i will be in one week holiday.
hi @haarisedhi102 ,
I have update the demo with : https://github.com/AxaFrance/SlimFaas/blob/main/demo/slimfaas-serviceaccount.yml is it what you needed?
The service account Cluster role slimfaas-full-access has broad permissions at a cluster level. Is it possible for slimfass to run properly while relying only utilizing Role at a namespace level.