From 71efc437daf0430bb7136fd8079e6bf16adcb695 Mon Sep 17 00:00:00 2001 From: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> Date: Tue, 13 Aug 2024 07:40:40 +0200 Subject: [PATCH] feat: enable https and http liveliness and readyness probes Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> --- .../charts/bitwarden-sdk-server/templates/deployment.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/charts/bitwarden-sdk-server/templates/deployment.yaml b/deploy/charts/bitwarden-sdk-server/templates/deployment.yaml index a247906..06e2882 100644 --- a/deploy/charts/bitwarden-sdk-server/templates/deployment.yaml +++ b/deploy/charts/bitwarden-sdk-server/templates/deployment.yaml @@ -43,18 +43,20 @@ spec: - name: http containerPort: {{ .Values.service.port }} protocol: TCP - {{- if not .Values.image.tls.enabled }} livenessProbe: httpGet: path: /live port: http + {{- if .Values.image.tls.enabled }} scheme: HTTPS + {{- end }} readinessProbe: httpGet: path: /ready port: http + {{- if .Values.image.tls.enabled }} scheme: HTTPS - {{- end }} + {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }}