[bitwardenrs] [FIX] Add SMTP password (#780)

* [FIX] Add SMTP password

Adding the support of SMTP password

* Update charts/stable/bitwardenrs/templates/configmap.yaml

Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>

* Update Chart.yaml

Co-authored-by: ᗪєνιη ᗷυнʟ <onedr0p@users.noreply.github.com>
This commit is contained in:
Loïc Cotonéa 2021-04-13 23:43:58 +02:00 committed by GitHub
parent ea6d401f66
commit ddc0f220df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: bitwardenrs
description: Unofficial Bitwarden compatible server written in Rust
type: application
version: 2.1.5
version: 2.1.6
appVersion: 1.18.0
keywords:
- bitwarden

View File

@ -29,6 +29,9 @@ data:
{{- if and (not .existingSecret.enabled) .user }}
SMTP_USERNAME: {{ .user | quote }}
{{- end }}
{{- if and (not .existingSecret.enabled) .password }}
SMTP_PASSWORD: {{ .password | quote }}
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.bitwardenrs.yubico }}
@ -47,4 +50,4 @@ data:
{{- include "bitwardenrs.externalDatabaseConfigMap" . | nindent 2 }}
{{- if .Values.env }}
{{- toYaml .Values.env | nindent 2 }}
{{- end }}
{{- end }}