Solidify fireflyiii and vaultwarden database system (#860)

* Solidify fireflyiii database system

* bump major as it's breaking

* do the same with vaultwarden

* whoopsies

* hmm

* revert and clean

* another breaking change for vaulwarden
This commit is contained in:
Kjeld Schouten-Lebbing
2021-08-31 00:00:59 +02:00
committed by GitHub
parent 7e301474f5
commit 3980b45129
10 changed files with 31 additions and 22 deletions
@@ -4,7 +4,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: vaultwardenconfig
name: {{ .Release.Name }}-vaultwardenconfig
data:
ROCKET_PORT: "8080"
SIGNUPS_ALLOWED: {{ .Values.vaultwarden.allowSignups | quote }}
@@ -20,7 +20,7 @@
apiVersion: v1
kind: Secret
metadata:
name: vaultwardensecret
name: {{ .Release.Name }}-vaultwardensecret
data:
{{- if ne $adminToken "" }}
ADMIN_TOKEN: {{ $adminToken }}
@@ -41,8 +41,8 @@ kind: Secret
metadata:
labels:
{{- include "common.labels" . | nindent 4 }}
name: dbcreds
{{- $previous := lookup "v1" "Secret" .Release.Namespace "dbcreds" }}
name: {{ .Release.Name }}-dbcreds
{{- $previous := lookup "v1" "Secret" .Release.Namespace ( ( printf "%v-%v" .Release.Name "dbcreds" ) | quote ) }}
{{- $dbPass := "" }}
data:
{{- if $previous }}