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>
pull/1245/head argo-events-1.13.0
David Collom 2022-04-23 08:25:34 +01:00 committed by GitHub
parent 9279b61331
commit 9b2cffea09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 2 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v2
description: A Helm chart to install Argo-Events in k8s Cluster
name: argo-events
version: 1.12.0
version: 1.13.0
keywords:
- argo-events
- sensor-controller
@ -17,4 +17,4 @@ icon: https://argoproj.github.io/argo-events/assets/logo.png
home: https://github.com/argoproj/argo-helm
annotations:
artifacthub.io/changes: |
- "[Added]: Add aggregate-roles (sync with upstream manifests)"
- "[Added]: Additional RBAC for leader election"

View File

@ -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:

View File

@ -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: