2 # Copyright © 2022 Deutsche Telekom
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.
19 metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
21 selector: {{- include "common.selectors" . | nindent 4 }}
22 replicas: {{ .Values.replicaCount }}
23 revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
25 metadata: {{- include "common.templateMetadata" . | nindent 6 }}
27 {{- include "common.imagePullSecrets" . | nindent 6 }}
29 - name: {{ .Chart.Name }}
30 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image.imageName }}:{{ .Values.image.tag | default .Chart.AppVersion }}
31 imagePullPolicy: {{ .Values.image.pullPolicy }}
34 name: {{ include "common.fullname" . }}-configmap
35 ports: {{ include "common.containerPorts" . | nindent 12 }}
39 port: {{ .Values.service.internalPort}}
40 initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
41 failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
45 port: {{ .Values.service.internalPort}}
46 initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
47 failureThreshold: {{ .Values.probes.readiness.failureThreshold }}
50 mountPath: {{ .Values.nginx.tilesIconsPath }}
53 mountPath: {{ .Values.nginx.tilesPath }}
56 resources: {{ include "common.resources" . | nindent 12 }}
57 {{- with .Values.nodeSelector }}
59 {{- toYaml . | nindent 10 }}
61 {{- with .Values.affinity }}
63 {{- toYaml . | nindent 10 }}
65 {{- with .Values.tolerations }}
67 {{- toYaml . | nindent 10 }}
72 name: {{ include "common.fullname" . }}-tiles-icons
75 name: {{ include "common.fullname" . }}-tiles-json