blob: c1e1a33174ce67b00eb6291b418955ce6edb48eb [file] [log] [blame]
Huabing Zhao8f7cc812018-08-08 06:27:37 +00001# Copyright © 2017 Amdocs, Bell Canada, ZTE
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14apiVersion: v1
15kind: ServiceAccount
16metadata:
17 name: msb
18 namespace: {{ include "common.namespace" . }}
19---
20apiVersion: rbac.authorization.k8s.io/v1beta1
21kind: ClusterRoleBinding
22metadata:
23 name: {{ include "common.namespace" . }}-msb-binding
24 namespace: {{ include "common.namespace" . }}
25 labels:
26 app: {{ include "common.name" . }}
27 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010028 release: {{ include "common.release" . }}
Huabing Zhao8f7cc812018-08-08 06:27:37 +000029 heritage: {{ .Release.Service }}
30roleRef:
31 apiGroup: rbac.authorization.k8s.io
32 kind: ClusterRole
33 name: cluster-admin
34subjects:
35 - kind: ServiceAccount
36 name: msb
37 namespace: {{ include "common.namespace" . }}