Skip to content

Commit

Permalink
fix: give permission to lighthouse webhook to update cronjobs
Browse files Browse the repository at this point in the history
  • Loading branch information
msvticket committed Jan 10, 2024
1 parent 2e16f85 commit 1c5910b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion charts/lighthouse/templates/webhooks-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ rules:
{{- end }}
- configmaps
- secrets
- cronjobs
verbs:
- get
- update
Expand All @@ -26,6 +25,16 @@ rules:
- get
- list
- watch
- apiGroups:
- batch
resources:
- cronjobs
verbs:
- get
- update
- create
- list
- watch
- apiGroups:
- lighthouse.jenkins.io
resources:
Expand Down

0 comments on commit 1c5910b

Please sign in to comment.