summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaemod/components/dcaemod-healthcheck/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-09-14 11:25:57 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-14 11:25:57 +0000
commitf7d5e4f88fd8f9a0ac00ee47a2670d1ae18ff211 (patch)
tree681561c2429c4e7f8725a368b19e18e18ae638ab /kubernetes/dcaemod/components/dcaemod-healthcheck/templates
parent83b60d8e01f1803fdb4963bd72cd6ebd9953b44f (diff)
parent28d372ab210e4bf053b1dd49dfed443096959000 (diff)
Merge "[Tree-Wide] Reference ports by name not index"
Diffstat (limited to 'kubernetes/dcaemod/components/dcaemod-healthcheck/templates')
-rw-r--r--kubernetes/dcaemod/components/dcaemod-healthcheck/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/dcaemod/components/dcaemod-healthcheck/templates/deployment.yaml b/kubernetes/dcaemod/components/dcaemod-healthcheck/templates/deployment.yaml
index 64268abb33..28d974c815 100644
--- a/kubernetes/dcaemod/components/dcaemod-healthcheck/templates/deployment.yaml
+++ b/kubernetes/dcaemod/components/dcaemod-healthcheck/templates/deployment.yaml
@@ -36,13 +36,13 @@ spec:
{{- if eq .Values.liveness.enabled true }}
livenessProbe:
tcpSocket:
- port: {{ ( index .Values.service.ports 0).port }}
+ port: {{ include "common.getPort" (dict "global" . "name" "http") }}
initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
{{ end -}}
readinessProbe:
tcpSocket:
- port: {{ ( index .Values.service.ports 0).port }}
+ port: {{ include "common.getPort" (dict "global" . "name" "http") }}
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
volumeMounts: