Merge pull request #538 from PatrickSpies/fix/helm-rbac-cronjob

fix(helm-chart): add missing rbac for cronjob-triggering
This commit is contained in:
Muneeb Aijaz
2023-10-10 22:13:27 +05:00
committed by GitHub
2 changed files with 26 additions and 0 deletions

View File

@@ -86,6 +86,19 @@ rules:
- get
- update
- patch
- apiGroups:
- "batch"
resources:
- cronjobs
verbs:
- list
- get
- apiGroups:
- "batch"
resources:
- jobs
verbs:
- create
{{- if .Values.reloader.enableHA }}
- apiGroups:
- "coordination.k8s.io"

View File

@@ -77,6 +77,19 @@ rules:
- get
- update
- patch
- apiGroups:
- "batch"
resources:
- cronjobs
verbs:
- list
- get
- apiGroups:
- "batch"
resources:
- jobs
verbs:
- create
{{- if .Values.reloader.enableHA }}
- apiGroups:
- "coordination.k8s.io"