diff --git a/charts/tofu-controller/README.md b/charts/tofu-controller/README.md index 3800b65e..6d4676f1 100644 --- a/charts/tofu-controller/README.md +++ b/charts/tofu-controller/README.md @@ -100,4 +100,4 @@ __Note__: If you need to use the `imagePullSecrets` it would be best to set `ser | watchAllNamespaces | bool | `true` | If `true`, controller will watch all namespaces for Terraform resources | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) \ No newline at end of file +Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0) \ No newline at end of file diff --git a/charts/tofu-controller/templates/rbac.yaml b/charts/tofu-controller/templates/rbac.yaml index eb8e54be..8ff36cb8 100644 --- a/charts/tofu-controller/templates/rbac.yaml +++ b/charts/tofu-controller/templates/rbac.yaml @@ -157,6 +157,10 @@ rules: - get - list - watch + {{- if .Values.branchPlanner.enabled }} + - create + - delete + {{- end }} - apiGroups: - source.toolkit.fluxcd.io resources: