Last active
January 30, 2019 17:51
-
-
Save jboyd01/f1897420ff998951da46c73c128ff1ca to your computer and use it in GitHub Desktop.
Jan 25 2019 patch for missing rbac rules for Service Catalog - oc create -f svcat-rbac.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: system:service-catalog:aggregate-to-admin | |
labels: | |
rbac.authorization.k8s.io/aggregate-to-admin: "true" | |
rules: | |
- apiGroups: | |
- "servicecatalog.k8s.io" | |
attributeRestrictions: null | |
resources: | |
- servicebrokers | |
- serviceclasses | |
- serviceplans | |
- serviceinstances | |
- servicebindings | |
verbs: | |
- create | |
- update | |
- delete | |
- get | |
- list | |
- watch | |
- patch | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: system:service-catalog:aggregate-to-edit | |
labels: | |
rbac.authorization.k8s.io/aggregate-to-edit: "true" | |
rules: | |
- apiGroups: | |
- "servicecatalog.k8s.io" | |
attributeRestrictions: null | |
resources: | |
- servicebrokers | |
- serviceclasses | |
- serviceplans | |
- serviceinstances | |
- servicebindings | |
verbs: | |
- create | |
- update | |
- delete | |
- get | |
- list | |
- watch | |
- patch | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: system:service-catalog:aggregate-to-view | |
labels: | |
rbac.authorization.k8s.io/aggregate-to-view: "true" | |
rules: | |
- apiGroups: | |
- "servicecatalog.k8s.io" | |
attributeRestrictions: null | |
resources: | |
- servicebrokers | |
- serviceclasses | |
- serviceplans | |
- serviceinstances | |
- servicebindings | |
verbs: | |
- get | |
- list | |
- watch | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole | |
metadata: | |
name: servicecatalog-serviceclass-viewer | |
rules: | |
- apiGroups: | |
- servicecatalog.k8s.io | |
resources: | |
- clusterserviceclasses | |
- clusterserviceplans | |
verbs: | |
- list | |
- watch | |
- get | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: servicecatalog-serviceclass-viewer-binding | |
roleRef: | |
kind: ClusterRole | |
name: servicecatalog-serviceclass-viewer | |
subjects: | |
- kind: Group | |
name: system:authenticated | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: system:auth-delegator-binding | |
roleRef: | |
kind: ClusterRole | |
name: system:auth-delegator | |
subjects: | |
- kind: ServiceAccount | |
name: service-catalog-apiserver | |
namespace: openshift-operators |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment