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 }} diff --git a/deploy/charts/bitwarden-sdk-server/values.yaml b/deploy/charts/bitwarden-sdk-server/values.yaml index f0424af..da43c1c 100644 --- a/deploy/charts/bitwarden-sdk-server/values.yaml +++ b/deploy/charts/bitwarden-sdk-server/values.yaml @@ -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"