1 {{ if .Values.global.cmpv2Enabled }}
3 # ============LICENSE_START=======================================================
4 # Copyright (c) 2020-2021 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=========================================================
23 control-plane: controller-manager
24 name: {{ include "common.fullname" . }}
25 namespace: {{ include "common.namespace" . }}
30 control-plane: controller-manager
34 control-plane: controller-manager
35 {{- if (include "common.onServiceMesh" . | nindent 6 ) }}
37 {{- if eq ( .Values.global.serviceMesh.engine ) "linkerd" }}
38 linkerd.io/inject: disabled
40 {{- if eq ( .Values.global.serviceMesh.engine ) "istio" }}
41 traffic.sidecar.istio.io/excludeInboundPorts: "8080,8443"
42 traffic.sidecar.istio.io/includeInboundPorts: '*'
47 - name: "{{ include "common.namespace" . }}-docker-registry-key"
49 {{ include "common.readinessCheck.waitFor" . | indent 6 | trim }}
52 image: {{ .Values.global.repository }}{{if .Values.global.repository }}/{{ end }}{{ .Values.deployment.image }}
53 imagePullPolicy: {{ .Values.deployment.pullPolicy }}
55 - /oom-certservice-cmpv2issuer
57 - --metrics-addr=127.0.0.1:8080
58 - --log-level={{ .Values.deployment.logLevel }}
61 cpu: {{ .Values.deployment.resources.limits.cpu }}
62 memory: {{ .Values.deployment.resources.limits.memory }}
64 cpu: {{ .Values.deployment.resources.requests.cpu }}
65 memory: {{ .Values.deployment.resources.requests.memory }}
66 terminationGracePeriodSeconds: 10