Enable https port
Issue-ID: NONRTRIC-224
Change-Id: I65b80da2f45007c57d4246d6f7f40085756c7126
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
diff --git a/nonrtric/helm/controlpanel/templates/deployment.yaml b/nonrtric/helm/controlpanel/templates/deployment.yaml
index d2fbd57..0d08ea4 100644
--- a/nonrtric/helm/controlpanel/templates/deployment.yaml
+++ b/nonrtric/helm/controlpanel/templates/deployment.yaml
@@ -45,9 +45,10 @@
image: {{ .Values.controlpanel.image.registry }}/{{ .Values.controlpanel.image.name }}:{{ .Values.controlpanel.image.tag }}
imagePullPolicy: {{ .Values.controlpanel.imagePullPolicy }}
ports:
- - name: http
- containerPort: {{ .Values.controlpanel.service.internalPort }}
- protocol: TCP
+ - containerPort: {{ .Values.controlpanel.service.targetPort1 }}
+ protocol: TCP
+ - containerPort: {{ .Values.controlpanel.service.targetPort2 }}
+ protocol: TCP
volumeMounts:
- name: configmap
mountPath: /maven/application.properties
@@ -55,9 +56,14 @@
readOnly: true
readinessProbe:
tcpSocket:
- port: {{ .Values.controlpanel.service.internalPort }}
- initialDelaySeconds: 15
- periodSeconds: 15
+ port: {{ .Values.controlpanel.service.targetPort1 }}
+ initialDelaySeconds: {{ .Values.controlpanel.liveness.initialDelaySeconds }}
+ periodSeconds: {{ .Values.controlpanel.liveness.periodSeconds }}
+ livenessProbe:
+ tcpSocket:
+ port: {{ .Values.controlpanel.service.targetPort1 }}
+ initialDelaySeconds: {{ .Values.controlpanel.liveness.initialDelaySeconds }}
+ periodSeconds: {{ .Values.controlpanel.liveness.periodSeconds }}
volumes:
- name: configmap
configMap: