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