fix authelia db and try to hack-fix external-service

This commit is contained in:
kjeld Schouten-Lebbing
2021-08-31 21:46:49 +02:00
parent c4754391a9
commit 6644443525
5 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -38,4 +38,4 @@ sources:
- https://github.com/authelia/chartrepo - https://github.com/authelia/chartrepo
- https://github.com/authelia/authelia - https://github.com/authelia/authelia
type: application type: application
version: 1.6.4 version: 1.6.5
@@ -8,13 +8,13 @@ metadata:
labels: labels:
{{- include "common.labels" . | nindent 4 }} {{- include "common.labels" . | nindent 4 }}
name: dbcreds name: dbcreds
{{- $previous := lookup "v1" "Secret" .Release.Namespace "dbcreds" }} {{- $dbprevious := lookup "v1" "Secret" .Release.Namespace "dbcreds" }}
{{- $dbPass := "" }} {{- $dbPass := "" }}
data: data:
{{- if $previous }} {{- if $dbprevious }}
{{- $dbPass = ( index $previous.data "postgresql-password" ) | b64dec }} {{- $dbPass = ( index $dbprevious.data "postgresql-password" ) | b64dec }}
postgresql-password: {{ ( index $previous.data "postgresql-password" ) }} postgresql-password: {{ ( index $dbprevious.data "postgresql-password" ) }}
postgresql-postgres-password: {{ ( index $previous.data "postgresql-postgres-password" ) }} postgresql-postgres-password: {{ ( index $dbprevious.data "postgresql-postgres-password" ) }}
{{- else }} {{- else }}
{{- $dbPass = randAlphaNum 50 }} {{- $dbPass = randAlphaNum 50 }}
postgresql-password: {{ $dbPass | b64enc | quote }} postgresql-password: {{ $dbPass | b64enc | quote }}
+1 -1
View File
@@ -23,4 +23,4 @@ name: external-service
sources: sources:
- https://github.com/truecharts/apps/tree/master/charts/stable/external-service - https://github.com/truecharts/apps/tree/master/charts/stable/external-service
type: application type: application
version: 1.4.7 version: 1.4.8
@@ -4,6 +4,12 @@
# Example: Everything under "image" is not included in questions.yaml but is included here. # Example: Everything under "image" is not included in questions.yaml but is included here.
## ##
# Fake external service image
image:
repository: ghcr.io/truecharts/bs
pullPolicy: IfNotPresent
tag: v0.66.6
# Disable Deployment # Disable Deployment
controller: controller:
enabled: false enabled: false
+5 -1
View File
@@ -1,4 +1,8 @@
# Default values for Jackett. # Fake external service image
image:
repository: ghcr.io/truecharts/bs
pullPolicy: IfNotPresent
tag: v0.66.6
# Disable Deployment # Disable Deployment
controller: controller: