che-operator/deploy/namespaces_cluster_role_bin...

27 lines
760 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
labels:
app.kubernetes.io/name: che
app.kubernetes.io/instance: che
app.kubernetes.io/component: che-operator
subjects:
- kind: ServiceAccount
name: che-operator
namespace: eclipse-che
roleRef:
kind: ClusterRole
name: che-namespace-editor
apiGroup: rbac.authorization.k8s.io