Skip to content

Commit

Permalink
chore: add condition to enable more role permission
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanGoasdoue committed Aug 27, 2024
1 parent 0b679c8 commit 1669fb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/lighthouse/templates/tekton-controller-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@ rules:
- list
- get
- watch
{{- if .Values.tektoncontroller.rerunPrReconciler }}
- update
{{- end }}
- apiGroups:
- lighthouse.jenkins.io
resources:
- lighthousebreakpoints
- lighthousejobs
verbs:
{{- if .Values.tektoncontroller.rerunPrReconciler }}
- create
{{- end }}
- get
- update
- list
Expand Down

0 comments on commit 1669fb9

Please sign in to comment.