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
  • Loading branch information
Skarlso committed Aug 13, 2024
1 parent 704e397 commit a218b0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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
2 changes: 1 addition & 1 deletion deploy/charts/bitwarden-sdk-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ image:
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tls:
enabled: true
enabled: false
volumeMounts:
- mountPath: "/certs"
name: "bitwarden-tls-certs"
Expand Down

0 comments on commit a218b0c

Please sign in to comment.