added event source crd and updated the cluster roles
This commit is contained in:
parent
0eb28119e8
commit
31352b0004
2 changed files with 20 additions and 0 deletions
|
@ -58,6 +58,8 @@ rules:
|
|||
- gateways/finalizers
|
||||
- sensors
|
||||
- sensors/finalizers
|
||||
- eventsources
|
||||
- eventsources/finalizers
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
|
|
18
charts/argo-events/templates/event-source-crd.yaml
Normal file
18
charts/argo-events/templates/event-source-crd.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{- if .Values.installCRD }}
|
||||
# Define a "event source" custom resource definition
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: eventsources.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: EventSource
|
||||
plural: eventsources
|
||||
singular: eventsource
|
||||
listKind: EventSourceList
|
||||
shortNames:
|
||||
- es
|
||||
version: "v1alpha1"
|
||||
{{- end }}
|
Loading…
Reference in a new issue