summaryrefslogtreecommitdiffstats
path: root/files/origin-components/console-rbac-template.yaml
diff options
context:
space:
mode:
authorDan Yocum <dyocum@redhat.com>2018-01-23 13:17:06 -0500
committerDan Yocum <dyocum@redhat.com>2018-01-23 13:17:06 -0500
commitc2de775c80b8daa629af514f24118f704c521c18 (patch)
treefda6b6352c3bdeb06946a04cf0b8fbf2dd4b782c /files/origin-components/console-rbac-template.yaml
parent1dc60bb8a49afaf2e6efcf9a3740f1f112671872 (diff)
downloadopenshift-c2de775c80b8daa629af514f24118f704c521c18.tar.gz
openshift-c2de775c80b8daa629af514f24118f704c521c18.tar.bz2
openshift-c2de775c80b8daa629af514f24118f704c521c18.tar.xz
openshift-c2de775c80b8daa629af514f24118f704c521c18.zip
moving files to their correct <role>/files dir for the openshift_web_console and template_service_broker roles
Diffstat (limited to 'files/origin-components/console-rbac-template.yaml')
-rw-r--r--files/origin-components/console-rbac-template.yaml38
1 files changed, 0 insertions, 38 deletions
diff --git a/files/origin-components/console-rbac-template.yaml b/files/origin-components/console-rbac-template.yaml
deleted file mode 100644
index 9ee117199..000000000
--- a/files/origin-components/console-rbac-template.yaml
+++ /dev/null
@@ -1,38 +0,0 @@
-apiVersion: template.openshift.io/v1
-kind: Template
-metadata:
- name: web-console-server-rbac
-parameters:
-- name: NAMESPACE
- # This namespace cannot be changed. Only `openshift-web-console` is supported.
- value: openshift-web-console
-objects:
-
-
-# allow grant powers to the webconsole server for cluster inspection
-- apiVersion: rbac.authorization.k8s.io/v1beta1
- kind: ClusterRole
- metadata:
- name: system:openshift:web-console-server
- rules:
- - apiGroups:
- - "servicecatalog.k8s.io"
- resources:
- - clusterservicebrokers
- verbs:
- - get
- - list
- - watch
-
-# Grant the service account for the web console
-- apiVersion: rbac.authorization.k8s.io/v1beta1
- kind: ClusterRoleBinding
- metadata:
- name: system:openshift:web-console-server
- roleRef:
- kind: ClusterRole
- name: system:openshift:web-console-server
- subjects:
- - kind: ServiceAccount
- namespace: ${NAMESPACE}
- name: webconsole