From 22fff1020e3b406bd6f97c9292255a1028f667a2 Mon Sep 17 00:00:00 2001 From: Radu Carpa Date: Wed, 29 Nov 2023 13:26:34 +0100 Subject: [PATCH] servers: fix separate health check port Being able to use the port name would have been too easy ... --- charts/rucio-server/Chart.yaml | 2 +- charts/rucio-server/templates/deployment.yaml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/rucio-server/Chart.yaml b/charts/rucio-server/Chart.yaml index 26c39a6..86f9b81 100644 --- a/charts/rucio-server/Chart.yaml +++ b/charts/rucio-server/Chart.yaml @@ -1,5 +1,5 @@ name: rucio-server -version: 33.0.0 +version: 33.0.1 apiVersion: v1 description: A Helm chart to deploy servers for Rucio keywords: diff --git a/charts/rucio-server/templates/deployment.yaml b/charts/rucio-server/templates/deployment.yaml index c502f41..f9e3e0e 100644 --- a/charts/rucio-server/templates/deployment.yaml +++ b/charts/rucio-server/templates/deployment.yaml @@ -194,9 +194,11 @@ spec: readinessProbe: httpGet: path: /ping - port: health {{- if .Values.useSSL }} + port: 444 scheme: HTTPS +{{- else }} + port: 81 {{- end }} initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.readinessProbe.periodSeconds }} @@ -206,7 +208,10 @@ spec: path: /ping port: health {{- if .Values.useSSL }} + port: 444 scheme: HTTPS +{{- else }} + port: 81 {{- end }} initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.livenessProbe.periodSeconds }}