Skip to content

Commit

Permalink
add build and eventing crd api groups
Browse files Browse the repository at this point in the history
Signed-off-by: Huamin Chen <[email protected]>
  • Loading branch information
rootfs committed Jun 8, 2018
1 parent 2197015 commit cbf55af
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions config/200-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ rules:
- apiGroups: ["serving.knative.dev"]
resources: ["configurations", "configurationGenerations", "routes", "revisions", "revisionUIDs", "autoscalers", "services"]
verbs: ["get", "list", "create", "update", "delete", "patch"]
- apiGroups: ["build.dev"]
resources: ["builds", "buildtemplates"]
verbs: ["get", "list", "create", "update", "delete", "patch"]
- apiGroups: ["feeds.knative.dev"]
resources: ["eventsources", "eventtypes", "binds"]
verbs: ["get", "list", "create", "update", "delete", "patch"]
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand All @@ -45,6 +51,12 @@ rules:
- apiGroups: ["serving.knative.dev"]
resources: ["configurations", "configurationGenerations", "routes", "revisions", "revisionUIDs", "autoscalers", "services"]
verbs: ["get", "list", "update", "patch"]
- apiGroups: ["build.dev"]
resources: ["builds", "buildtemplates"]
verbs: ["get", "list", "update", "patch"]
- apiGroups: ["feeds.knative.dev"]
resources: ["eventsources", "eventtypes", "binds"]
verbs: ["get", "list", "update", "patch"]
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand All @@ -69,3 +81,9 @@ rules:
- apiGroups: ["serving.knative.dev"]
resources: ["configurations", "configurationGenerations", "routes", "revisions", "revisionUIDs", "autoscalers", "services"]
verbs: ["get", "list"]
- apiGroups: ["build.dev"]
resources: ["builds", "buildtemplates"]
verbs: ["get", "list"]
- apiGroups: ["feeds.knative.dev"]
resources: ["eventsources", "eventtypes", "binds"]
verbs: ["get", "list"]

0 comments on commit cbf55af

Please sign in to comment.