From 3faaf73c58640c4c744b0d57abb4a986a32574ab Mon Sep 17 00:00:00 2001 From: Michel Loiseleur Date: Wed, 18 Sep 2024 11:48:05 +0200 Subject: [PATCH 1/2] fix(helm-chart): rbac for branch planner --- charts/tofu-controller/templates/rbac.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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: From a9f03f4128796861ae11820c37fa98140c6e6fed Mon Sep 17 00:00:00 2001 From: Michel Loiseleur Date: Wed, 18 Sep 2024 11:51:45 +0200 Subject: [PATCH 2/2] fix ci --- charts/tofu-controller/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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