feat(argo-events): Adding additional RBAC for leader election (#1242)
* Issue 1565: Adding additional RBAC for leader election Signed-off-by: David Collom <david.collom@jetstack.io> * Adding Additional RBAC for Events Signed-off-by: David Collom <david.collom@jetstack.io> * Use consistent indent style Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Bump minor chart version and add changelog Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
9279b61331
commit
9b2cffea09
3 changed files with 40 additions and 2 deletions
|
|
@ -28,6 +28,25 @@ rules:
|
|||
{{- with .Values.additionalServiceAccountRules }}
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- "events"
|
||||
verbs:
|
||||
- "create"
|
||||
- "patch"
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
- leases
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- update
|
||||
- patch
|
||||
- delete
|
||||
- apiGroups:
|
||||
- argoproj.io
|
||||
verbs:
|
||||
|
|
|
|||
|
|
@ -30,6 +30,25 @@ rules:
|
|||
{{- with .Values.additionalServiceAccountRules }}
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- "events"
|
||||
verbs:
|
||||
- "create"
|
||||
- "patch"
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
- leases
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- update
|
||||
- patch
|
||||
- delete
|
||||
- apiGroups:
|
||||
- argoproj.io
|
||||
verbs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue