2 # ===========LICENSE_START========================================================
3 # Copyright (c) 2021 Nokia. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
21 metadata: {{- include "common.resourceMetadata" . | nindent 2 }}
23 selector: {{- include "common.selectors" . | nindent 4 }}
26 metadata: {{- include "common.templateMetadata" . | nindent 6 }}
29 - name: {{ include "common.name" . }}
30 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
31 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
32 resources: {{ include "common.resources" . | nindent 12 }}
33 ports: {{ include "common.containerPorts" . | nindent 12 }}
36 value: {{ .Values.config.loggingLevel }}
39 path: {{ .Values.liveness.path }}
40 port: {{ .Values.liveness.port }}
41 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
42 periodSeconds: {{ .Values.liveness.periodSeconds }}
43 successThreshold: {{ .Values.liveness.successThreshold }}
44 failureThreshold: {{ .Values.liveness.failureThreshold }}
47 path: {{ .Values.startup.path }}
48 port: {{ .Values.startup.port }}
49 initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }}
50 periodSeconds: {{ .Values.startup.periodSeconds }}
51 successThreshold: {{ .Values.startup.successThreshold }}
52 failureThreshold: {{ .Values.startup.failureThreshold }}
53 {{- include "common.imagePullSecrets" . | nindent 6 }}