
* feat(argo-events) : Upgrade argo-events to v1.7.0 Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Fix typos Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Add missing braces Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Use templates for service account names Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Drop application labels Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Update documentation Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Move CRDs to template folder Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Disable webhook by default Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Fix indentation Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Update README Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Drop prefix from aggregate-roles Signed-off-by: Petr Drastil <petr.drastil@gmail.com> * Fix typo aggragate-roles.yaml -> aggregate-roles.yaml Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Use helm-docs.sh Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Fix typo REALEASE -> RELEASE Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Use consistent wording/style Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
86 lines
1.8 KiB
YAML
86 lines
1.8 KiB
YAML
{{- if and .Values.createAggregateRoles (not .Values.controller.rbac.namespaced) }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "argo-events.fullname" . }}-aggregate-to-admin
|
|
labels:
|
|
rbac.authorization.k8s.io/aggregate-to-admin: "true"
|
|
{{- include "argo-events.labels" (dict "context" .) | nindent 4 }}
|
|
rules:
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- sensors
|
|
- sensors/finalizers
|
|
- sensors/status
|
|
- eventsources
|
|
- eventsources/finalizers
|
|
- eventsources/status
|
|
- eventbus
|
|
- eventbus/finalizers
|
|
- eventbus/status
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- deletecollection
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "argo-events.fullname" . }}-aggregate-to-edit
|
|
labels:
|
|
rbac.authorization.k8s.io/aggregate-to-edit: "true"
|
|
{{- include "argo-events.labels" (dict "context" .) | nindent 4 }}
|
|
rules:
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- sensors
|
|
- sensors/finalizers
|
|
- sensors/status
|
|
- eventsources
|
|
- eventsources/finalizers
|
|
- eventsources/status
|
|
- eventbus
|
|
- eventbus/finalizers
|
|
- eventbus/status
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- deletecollection
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "argo-events.fullname" . }}-aggregate-to-view
|
|
labels:
|
|
rbac.authorization.k8s.io/aggregate-to-view: "true"
|
|
{{- include "argo-events.labels" (dict "context" .) | nindent 4 }}
|
|
rules:
|
|
- apiGroups:
|
|
- argoproj.io
|
|
resources:
|
|
- sensors
|
|
- sensors/finalizers
|
|
- sensors/status
|
|
- eventsources
|
|
- eventsources/finalizers
|
|
- eventsources/status
|
|
- eventbus
|
|
- eventbus/finalizers
|
|
- eventbus/status
|
|
verbs:
|
|
- get
|
|
- list
|
|
- watch
|
|
{{- end }}
|