From 19b0e30a874d670849384276f44fffff8fdd1eef Mon Sep 17 00:00:00 2001 From: awudzins Date: Thu, 5 Mar 2020 12:23:20 +0100 Subject: Create Readiness Endpoint Signed-off-by: Adam Wudzinski Issue-ID: AAF-997 Change-Id: Icb978fd7d4ac59d2b2968e5c0b861fba5eb616bf --- certService/helm/aaf-cert-service/templates/deployment.yaml | 4 ++-- certService/helm/aaf-cert-service/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'certService/helm') diff --git a/certService/helm/aaf-cert-service/templates/deployment.yaml b/certService/helm/aaf-cert-service/templates/deployment.yaml index 2e16cbca..f8b2d43f 100644 --- a/certService/helm/aaf-cert-service/templates/deployment.yaml +++ b/certService/helm/aaf-cert-service/templates/deployment.yaml @@ -25,13 +25,13 @@ spec: livenessProbe: httpGet: port: {{ .Values.containerPort }} - path: {{ .Values.healthcheck.path }} + path: {{ .Values.liveness.path }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} readinessProbe: httpGet: port: {{ .Values.containerPort }} - path: {{ .Values.healthcheck.path }} + path: {{ .Values.readiness.path }} initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} volumeMounts: diff --git a/certService/helm/aaf-cert-service/values.yaml b/certService/helm/aaf-cert-service/values.yaml index a971edd4..0dab1e32 100644 --- a/certService/helm/aaf-cert-service/values.yaml +++ b/certService/helm/aaf-cert-service/values.yaml @@ -9,11 +9,11 @@ service: liveness: initialDelaySeconds: 60 periodSeconds: 10 + path: /actuator/health readiness: initialDelaySeconds: 30 periodSeconds: 10 -healthcheck: - path: /actuator/health + path: /ready volume: name: aaf-cert-service-volume mountPath: /etc/onap/aaf/certservice -- cgit 1.2.3-korg