2 # Copyright © 2024 Deutsche Telekom AG.
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.
18 metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
20 selector: {{- include "common.selectors" . | nindent 4 }}
21 replicas: {{ .Values.replicaCount }}
22 revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
24 metadata: {{- include "common.templateMetadata" . | nindent 6 }}
26 {{- include "common.imagePullSecrets" . | nindent 6 }}
28 - name: {{ .Chart.Name }}
29 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image.imageName }}:{{ .Values.image.tag | default .Chart.AppVersion }}
30 imagePullPolicy: {{ .Values.image.pullPolicy }}
33 name: {{ include "common.fullname" . }}-configmap
35 name: {{ include "common.fullname" . }}-secret
36 ports: {{ include "common.containerPorts" . | nindent 12 }}
39 path: /actuator/health/liveness
40 port: {{ .Values.service.port }}
41 initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
42 failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
45 path: /actuator/health/readiness
46 port: {{ .Values.service.port }}
47 initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
48 failureThreshold: {{ .Values.probes.readiness.failureThreshold }}