diff options
author | Dan Yocum <dyocum@redhat.com> | 2018-01-23 13:17:06 -0500 |
---|---|---|
committer | Dan Yocum <dyocum@redhat.com> | 2018-01-23 13:17:06 -0500 |
commit | c2de775c80b8daa629af514f24118f704c521c18 (patch) | |
tree | fda6b6352c3bdeb06946a04cf0b8fbf2dd4b782c /files/origin-components/console-rbac-template.yaml | |
parent | 1dc60bb8a49afaf2e6efcf9a3740f1f112671872 (diff) | |
download | openshift-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.yaml | 38 |
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 |