71 lines
2.0 KiB
YAML
71 lines
2.0 KiB
YAML
##
|
|
# This file contains Values.yaml content that gets added to the output of questions.yaml
|
|
# It's ONLY meant for content that the user is NOT expected to change.
|
|
# Example: Everything under "image" is not included in questions.yaml but is included here.
|
|
##
|
|
|
|
image:
|
|
repository: vaultwarden/server
|
|
pullPolicy: IfNotPresent
|
|
tag: 1.22.2
|
|
|
|
envTpl:
|
|
DOMAIN: "https://{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ else }}placeholder.com{{ end }}{{ else }}placeholder.com{{ end }}"
|
|
|
|
envFrom:
|
|
- configMapRef:
|
|
name: vaultwardenconfig
|
|
- secretRef:
|
|
name: vaultwardensecret
|
|
|
|
initContainers:
|
|
- name: init-postgresdb
|
|
image: postgres:13.1
|
|
command:
|
|
- "sh"
|
|
- "-c"
|
|
- "until pg_isready -U authelia -h ${pghost} ; do sleep 2 ; done"
|
|
imagePullPolicy: IfNotPresent
|
|
env:
|
|
- name: pghost
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
|
|
|
|
envValueFrom:
|
|
DATABASE_URL:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: url
|
|
|
|
database:
|
|
# Database type, must be one of: 'sqlite', 'mysql' or 'postgresql'.
|
|
type: postgresql
|
|
# Enable DB Write-Ahead-Log for SQLite, disabled for other databases. https://github.com/dani-garcia/bitwarden_rs/wiki/Running-without-WAL-enabled
|
|
wal: false
|
|
## URL for external databases (mysql://user:pass@host:port or postgresql://user:pass@host:port).
|
|
# url: ""
|
|
## Set the size of the database connection pool.
|
|
# maxConnections: 10
|
|
## Connection retries during startup, 0 for infinite. 1 second between retries.
|
|
retries: 30
|
|
|
|
# Enabled postgres
|
|
postgresql:
|
|
enabled: true
|
|
postgresqlUsername: vaultwarden
|
|
postgresqlDatabase: vaultwarden
|
|
existingSecret: dbcreds
|
|
persistence:
|
|
db:
|
|
storageClass: "SCALE-ZFS"
|
|
dbbackups:
|
|
storageClass: "SCALE-ZFS"
|
|
|
|
##
|
|
# Most other defaults are set in questions.yaml
|
|
# For other options please refer to the wiki, default_values.yaml or the common library chart
|
|
##
|