Skip to content

Commit

Permalink
feat: enable https and http liveliness and readyness probes
Browse files Browse the repository at this point in the history
Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
  • Loading branch information
Skarlso committed Aug 13, 2024
1 parent 704e397 commit 71efc43
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deploy/charts/bitwarden-sdk-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 71efc43

Please # to comment.