Skip to content

Commit

Permalink
Adding wacky Role/Rolebinding (knative#56)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew authored Oct 23, 2020
1 parent e143737 commit bb71355
Show file tree
Hide file tree
Showing 7 changed files with 196 additions and 0 deletions.
28 changes: 28 additions & 0 deletions cmd/operator/kodata/knative-eventing/0.17.0/3-eventing-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4078,3 +4078,31 @@ webhooks:
timeoutSeconds: 2

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: knative-eventing
name: openshift-serverless-view-eventing-configmaps
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openshift-serverless-view-eventing-configmaps
namespace: knative-eventing
subjects:
- kind: Group
name: system:authenticated
apiGroup: rbac.authorization.k8s.io
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openshift-serverless-view-eventing-configmaps
28 changes: 28 additions & 0 deletions cmd/operator/kodata/knative-eventing/0.17.1/2-eventing-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4078,3 +4078,31 @@ webhooks:
timeoutSeconds: 2

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: knative-eventing
name: openshift-serverless-view-eventing-configmaps
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openshift-serverless-view-eventing-configmaps
namespace: knative-eventing
subjects:
- kind: Group
name: system:authenticated
apiGroup: rbac.authorization.k8s.io
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openshift-serverless-view-eventing-configmaps
28 changes: 28 additions & 0 deletions cmd/operator/kodata/knative-eventing/0.17.2/2-eventing-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4078,3 +4078,31 @@ webhooks:
timeoutSeconds: 2

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: knative-eventing
name: openshift-serverless-view-eventing-configmaps
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openshift-serverless-view-eventing-configmaps
namespace: knative-eventing
subjects:
- kind: Group
name: system:authenticated
apiGroup: rbac.authorization.k8s.io
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openshift-serverless-view-eventing-configmaps
28 changes: 28 additions & 0 deletions cmd/operator/kodata/knative-eventing/0.17.3/2-eventing-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4094,3 +4094,31 @@ webhooks:
timeoutSeconds: 2

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: knative-eventing
name: openshift-serverless-view-eventing-configmaps
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openshift-serverless-view-eventing-configmaps
namespace: knative-eventing
subjects:
- kind: Group
name: system:authenticated
apiGroup: rbac.authorization.k8s.io
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openshift-serverless-view-eventing-configmaps
28 changes: 28 additions & 0 deletions cmd/operator/kodata/knative-eventing/0.17.4/2-eventing-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4094,3 +4094,31 @@ webhooks:
timeoutSeconds: 2

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: knative-eventing
name: openshift-serverless-view-eventing-configmaps
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openshift-serverless-view-eventing-configmaps
namespace: knative-eventing
subjects:
- kind: Group
name: system:authenticated
apiGroup: rbac.authorization.k8s.io
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openshift-serverless-view-eventing-configmaps
28 changes: 28 additions & 0 deletions cmd/operator/kodata/knative-eventing/0.17.5/2-eventing-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4093,4 +4093,32 @@ webhooks:
name: sinkbindings.webhook.sources.knative.dev
timeoutSeconds: 2

----
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: knative-eventing
name: openshift-serverless-view-eventing-configmaps
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openshift-serverless-view-eventing-configmaps
namespace: knative-eventing
subjects:
- kind: Group
name: system:authenticated
apiGroup: rbac.authorization.k8s.io
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openshift-serverless-view-eventing-configmaps
28 changes: 28 additions & 0 deletions cmd/operator/kodata/knative-eventing/0.18.0/3-eventing-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5125,3 +5125,31 @@ webhooks:
timeoutSeconds: 2

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: knative-eventing
name: openshift-serverless-view-eventing-configmaps
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: openshift-serverless-view-eventing-configmaps
namespace: knative-eventing
subjects:
- kind: Group
name: system:authenticated
apiGroup: rbac.authorization.k8s.io
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: openshift-serverless-view-eventing-configmaps

0 comments on commit bb71355

Please sign in to comment.