From 755806429a6525561fbb501837a26cf7b5d3f42e Mon Sep 17 00:00:00 2001 From: Igor Latkin Date: Mon, 18 Dec 2023 17:43:50 +0300 Subject: [PATCH] allow specification of liveness & readiness probes schemes (#78) --- charts/centrifugo/Chart.yaml | 2 +- charts/centrifugo/templates/deployment.yaml | 2 ++ charts/centrifugo/values.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/centrifugo/Chart.yaml b/charts/centrifugo/Chart.yaml index b7ef38c..37adaa4 100644 --- a/charts/centrifugo/Chart.yaml +++ b/charts/centrifugo/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: centrifugo description: Centrifugo is a scalable real-time messaging server in language-agnostic way -version: 11.2.0 +version: 11.2.1 appVersion: 5.1.2 home: https://centrifugal.dev icon: https://centrifugal.dev/img/favicon.png diff --git a/charts/centrifugo/templates/deployment.yaml b/charts/centrifugo/templates/deployment.yaml index 716458a..e37ebec 100644 --- a/charts/centrifugo/templates/deployment.yaml +++ b/charts/centrifugo/templates/deployment.yaml @@ -167,12 +167,14 @@ spec: httpGet: path: /health port: {{ .Values.internalService.port }} + scheme: {{ .Values.internalService.probeScheme }} initialDelaySeconds: 30 periodSeconds: 10 readinessProbe: httpGet: path: /health port: {{ .Values.internalService.port }} + scheme: {{ .Values.internalService.probeScheme }} initialDelaySeconds: 3 periodSeconds: 10 resources: diff --git a/charts/centrifugo/values.yaml b/charts/centrifugo/values.yaml index 6eca367..16cc7e7 100644 --- a/charts/centrifugo/values.yaml +++ b/charts/centrifugo/values.yaml @@ -53,6 +53,7 @@ service: internalService: port: 9000 type: ClusterIP + probeScheme: HTTP nodePort: "" # Static NodePort, if set. # nodePort: 30101