Skip to content

Commit 814ca28

Browse files
authored
Merge pull request #1447 from mloiseleur/fix/rbac4branchplanner
fix(helm-chart): rbac for branch planner
2 parents 9f9eacd + a9f03f4 commit 814ca28

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

charts/tofu-controller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ __Note__: If you need to use the `imagePullSecrets` it would be best to set `ser
100100
| watchAllNamespaces | bool | `true` | If `true`, controller will watch all namespaces for Terraform resources |
101101

102102
----------------------------------------------
103-
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
103+
Autogenerated from chart metadata using [helm-docs v1.13.0](https://github.com/norwoodj/helm-docs/releases/v1.13.0)

charts/tofu-controller/templates/rbac.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ rules:
157157
- get
158158
- list
159159
- watch
160+
{{- if .Values.branchPlanner.enabled }}
161+
- create
162+
- delete
163+
{{- end }}
160164
- apiGroups:
161165
- source.toolkit.fluxcd.io
162166
resources:

0 commit comments

Comments
 (0)