1 ################################################################################
2 # Copyright (c) 2023 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 ################################################################################
23 app: nonrtric-controlpanel
25 replicas: {{ .Values.controlpanel.replicaCount }}
28 app: nonrtric-controlpanel
32 app: nonrtric-controlpanel
36 image: "{{ .Values.controlpanel.image.registry }}/{{ .Values.controlpanel.image.name }}:{{ .Values.controlpanel.image.tag }}"
37 imagePullPolicy: {{ .Values.controlpanel.imagePullPolicy }}
39 - containerPort: {{ .Values.controlpanel.service.targetPort1 }}
41 - containerPort: {{ .Values.controlpanel.service.targetPort2 }}
44 - name: controlpanel-configmap
45 mountPath: /etc/nginx/nginx.conf
50 port: {{ .Values.controlpanel.service.targetPort1 }}
51 initialDelaySeconds: {{ .Values.controlpanel.readiness.initialDelaySeconds }} # liveness -> readiness
52 periodSeconds: {{ .Values.controlpanel.readiness.periodSeconds }} # liveness -> readiness
55 port: {{ .Values.controlpanel.service.targetPort1 }}
56 initialDelaySeconds: {{ .Values.controlpanel.liveness.initialDelaySeconds }}
57 periodSeconds: {{ .Values.controlpanel.liveness.periodSeconds }}
59 - name: controlpanel-configmap
61 name: controlpanel-configmap