che-operator/deploy/namespaces_cluster_role_bin...

23 lines
628 B
YAML

#
# Copyright (c) 2012-2019 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Red Hat, Inc. - initial API and implementation
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: che-operator-namespace-editor
subjects:
- kind: ServiceAccount
name: che-operator
namespace: che
roleRef:
kind: ClusterRole
name: che-namespace-editor
apiGroup: rbac.authorization.k8s.io