1 ################################################################################
2 # Copyright (c) 2021 Nordix Foundation. #
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 #
8 # http://www.apache.org/licenses/LICENSE-2.0 #
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. #
15 ################################################################################
20 name: {{ template "helmmanager.name" . }}
21 namespace: {{ template "helmmanager.namespace" . }}
23 {{- include "helmmanager.labels" . | nindent 4 }}
25 replicas: {{ .Values.replicaCount }}
28 {{- include "helmmanager.selectorLabels" . | nindent 6 }}
32 {{- include "helmmanager.selectorLabels" . | nindent 8 }}
34 serviceAccountName: {{ template "helmmanager.name" . }}-sa
37 image: {{ .Values.image.registry }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
38 imagePullPolicy: {{ .Values.image.pullPolicy }}
40 - containerPort: {{ .Values.service.http.containerPort }}
43 - name: {{ template "helmmanager.name" . }}-pv
44 mountPath: /var/helm-manager-service
46 {{ toYaml .Values.readinessProbe | indent 12 }}
48 {{ toYaml .Values.livenessProbe | indent 12 }}
50 {{ toYaml .Values.resources | indent 12 }}
52 - name: {{ template "helmmanager.name" . }}-pv
53 persistentVolumeClaim:
54 claimName: {{ template "helmmanager.name" . }}-pvc