1 {{ if .Values.global.CMPv2CertManagerIntegration }}
3 # ============LICENSE_START=======================================================
4 # Copyright (c) 2020 Nokia
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
19 apiVersion: rbac.authorization.k8s.io/v1
22 name: cmpv2-issuer-leader-election-role
23 namespace: {{ include "common.namespace" . }}
52 apiVersion: rbac.authorization.k8s.io/v1
55 name: cmpv2-issuer-manager-role
84 - certificaterequests/status
90 - certmanager.onap.org
102 - certmanager.onap.org
104 - cmpv2issuers/status
110 apiVersion: rbac.authorization.k8s.io/v1
113 name: cmpv2-issuer-proxy-role
116 - authentication.k8s.io
122 - authorization.k8s.io
124 - subjectaccessreviews
128 apiVersion: rbac.authorization.k8s.io/v1
131 name: cmpv2-issuer-leader-election-rolebinding
132 namespace: {{ include "common.namespace" . }}
134 apiGroup: rbac.authorization.k8s.io
136 name: cmpv2-issuer-leader-election-role
138 - kind: ServiceAccount
140 namespace: {{ include "common.namespace" . }}
142 apiVersion: rbac.authorization.k8s.io/v1
143 kind: ClusterRoleBinding
145 name: cmpv2-issuer-manager-rolebinding
147 apiGroup: rbac.authorization.k8s.io
149 name: cmpv2-issuer-manager-role
151 - kind: ServiceAccount
153 namespace: {{ include "common.namespace" . }}
155 apiVersion: rbac.authorization.k8s.io/v1
156 kind: ClusterRoleBinding
158 name: cmpv2-issuer-proxy-rolebinding
160 apiGroup: rbac.authorization.k8s.io
162 name: cmpv2-issuer-proxy-role
164 - kind: ServiceAccount
166 namespace: {{ include "common.namespace" . }}