Modify coder serviceaccount when deploying with helm charts
Hello,
I'm using helm charts and argocd to deploy coder. I have a use case where I'm trying to use kubernetes to deploy additional workspaces with coder, the coder serviceaccount is trying to access an apigroup provided by a custom operator for deploying another application. I can modify the role directly, but argocd detects a change to the configuration and overwrites the additional permissions. I don't believe the helm chart supports adding custom role permissions. If it does can someone provide guidance on how I would do that?
6 Replies
<#1158805502730440817>
Category
Other
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Hmm, instead of modifying the
coder-workspace-perms
role, maybe you could add an extra Role and RoleBinding for the coder serviceaccount into extraTemplates
in the Helm values?https://github.com/coder/coder/blob/main/helm/coder/values.yaml#L320
Something like this?
GitHub
coder/helm/coder/values.yaml at main · coder/coder
Provision remote development environments via Terraform - coder/coder
I’ll try this out tomorrow! Ty
hey @Garrett Primm, have you had any luck ?
clusterRole