fix(apps): Removed some double b64enc on autogenerated secrets, also some quotes off them. (#1937)
* fix(anonaddy): only b64enc once * fix(pydio-cells): trim `"` from dbPass * chore(paperless-ng): don't quote secret * fix(linkace): don't quote secret * chore(librephotos): don't quote secret * chore(leantime): don't quote secret * chore(fireflyiii): don't quote secret * chore(authelia): dont quote secret
This commit is contained in:
@@ -25,7 +25,7 @@ maintainers:
|
||||
name: anonaddy
|
||||
sources:
|
||||
- https://github.com/anonaddy/docker
|
||||
version: 6.0.38
|
||||
version: 6.0.39
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- email
|
||||
|
||||
@@ -5,6 +5,7 @@ This template generates a random password and ensures it persists across updates
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
type: Opaque
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
@@ -14,15 +15,14 @@ metadata:
|
||||
{{- $secret := "" }}
|
||||
data:
|
||||
{{- if $keyprevious }}
|
||||
{{- $appkey = ( index $keyprevious.data "appkey" ) | b64dec }}
|
||||
{{- $secret = ( index $keyprevious.data "secret" ) | b64dec }}
|
||||
{{- $appkey = ( index $keyprevious.data "appkey" ) }}
|
||||
{{- $secret = ( index $keyprevious.data "secret" ) }}
|
||||
appkey: {{ ( index $keyprevious.data "appkey" ) }}
|
||||
secret: {{ ( index $keyprevious.data "secret" ) }}
|
||||
{{- else }}
|
||||
{{- $appkey = randAlphaNum 32 | b64enc }}
|
||||
{{- $secret = randAlphaNum 32 | b64enc }}
|
||||
appkey: {{ $appkey | b64enc | quote }}
|
||||
secret: {{ $secret | b64enc | quote }}
|
||||
{{- $appkey = randAlphaNum 32 }}
|
||||
{{- $secret = randAlphaNum 32 }}
|
||||
appkey: {{ $appkey | b64enc }}
|
||||
secret: {{ $secret | b64enc }}
|
||||
{{- end }}
|
||||
type: Opaque
|
||||
{{- end -}}
|
||||
|
||||
@@ -38,7 +38,7 @@ sources:
|
||||
- https://github.com/authelia/chartrepo
|
||||
- https://github.com/authelia/authelia
|
||||
type: application
|
||||
version: 8.0.40
|
||||
version: 8.0.41
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- security
|
||||
|
||||
@@ -21,15 +21,15 @@ data:
|
||||
ENCRYPTION_KEY: {{ index $autheliaprevious.data "ENCRYPTION_KEY" }}
|
||||
{{- else }}
|
||||
{{- $encryptionkey := randAlphaNum 100 }}
|
||||
ENCRYPTION_KEY: {{ $encryptionkey | b64enc | quote }}
|
||||
ENCRYPTION_KEY: {{ $encryptionkey | b64enc }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{- $jwtsecret := randAlphaNum 50 }}
|
||||
{{- $sessionsecret := randAlphaNum 50 }}
|
||||
{{- $encryptionkey := randAlphaNum 100 }}
|
||||
SESSION_ENCRYPTION_KEY: {{ $sessionsecret | b64enc | quote }}
|
||||
JWT_TOKEN: {{ $jwtsecret | b64enc | quote }}
|
||||
ENCRYPTION_KEY: {{ $encryptionkey | b64enc | quote }}
|
||||
SESSION_ENCRYPTION_KEY: {{ $sessionsecret | b64enc }}
|
||||
JWT_TOKEN: {{ $jwtsecret | b64enc}}
|
||||
ENCRYPTION_KEY: {{ $encryptionkey | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.authentication_backend.ldap.enabled }}
|
||||
|
||||
@@ -28,7 +28,7 @@ name: fireflyiii
|
||||
sources:
|
||||
- https://github.com/firefly-iii/firefly-iii/
|
||||
type: application
|
||||
version: 13.1.27
|
||||
version: 13.1.28
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- finacial
|
||||
|
||||
@@ -17,8 +17,8 @@ data:
|
||||
{{- else }}
|
||||
{{- $static_cron_token := randAlphaNum 32 }}
|
||||
{{- $app_key := randAlphaNum 32 }}
|
||||
STATIC_CRON_TOKEN: {{ $static_cron_token | b64enc | quote }}
|
||||
APP_KEY: {{ $static_cron_token | b64enc | quote }}
|
||||
STATIC_CRON_TOKEN: {{ $static_cron_token | b64enc }}
|
||||
APP_KEY: {{ $static_cron_token | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
@@ -24,7 +24,7 @@ name: leantime
|
||||
sources:
|
||||
- https://leantime.io/
|
||||
- https://hub.docker.com/r/nicholaswilde/leantime
|
||||
version: 1.0.20
|
||||
version: 1.0.21
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- management
|
||||
|
||||
@@ -14,7 +14,7 @@ data:
|
||||
LEAN_SESSION_PASSWORD: {{ index $leantimeprevious.data "LEAN_SESSION_PASSWORD" }}
|
||||
{{- else }}
|
||||
{{- $session_password := randAlphaNum 32 }}
|
||||
LEAN_SESSION_PASSWORD: {{ $session_password | b64enc | quote }}
|
||||
LEAN_SESSION_PASSWORD: {{ $session_password | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
@@ -27,7 +27,7 @@ name: librephotos
|
||||
sources:
|
||||
- https://github.com/LibrePhotos/librephotos
|
||||
- https://hub.docker.com/r/reallibrephotos/librephotos
|
||||
version: 1.0.3
|
||||
version: 1.0.4
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -14,7 +14,7 @@ data:
|
||||
SECRET_KEY: {{ index $librephotosprevious.data "SECRET_KEY" }}
|
||||
{{- else }}
|
||||
{{- $secret_key := randAlphaNum 32 }}
|
||||
SECRET_KEY: {{ $secret_key | b64enc | quote }}
|
||||
SECRET_KEY: {{ $secret_key | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
@@ -27,7 +27,7 @@ sources:
|
||||
- https://www.linkace.org/docs/
|
||||
- https://github.com/linkace/linkace
|
||||
- https://hub.docker.com/r/linkace/linkace
|
||||
version: 1.0.3
|
||||
version: 1.0.4
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -14,7 +14,7 @@ data:
|
||||
APP_KEY: {{ index $linkaceprevious.data "APP_KEY" }}
|
||||
{{- else }}
|
||||
{{- $app_key := randAlphaNum 32 }}
|
||||
APP_KEY: {{ $app_key | b64enc | quote }}
|
||||
APP_KEY: {{ $app_key | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v2
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
name: paperless-ng
|
||||
version: 1.0.21
|
||||
version: 1.0.22
|
||||
appVersion: "1.5.0"
|
||||
description: Paperless-ng is an application by Daniel Quinn and contributors that indexes your scanned documents.
|
||||
type: application
|
||||
|
||||
@@ -14,7 +14,7 @@ data:
|
||||
PAPERLESS_SECRET_KEY: {{ index $paperlessprevious.data "PAPERLESS_SECRET_KEY" }}
|
||||
{{- else }}
|
||||
{{- $secret_key := randAlphaNum 32 }}
|
||||
PAPERLESS_SECRET_KEY: {{ $secret_key | b64enc | quote }}
|
||||
PAPERLESS_SECRET_KEY: {{ $secret_key | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v2
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
name: pydio-cells
|
||||
version: 1.0.1
|
||||
version: 1.0.2
|
||||
appVersion: "3.0.4"
|
||||
description: Pydio-cells is the nextgen file sharing platform for organizations.
|
||||
type: application
|
||||
|
||||
@@ -17,5 +17,5 @@ data:
|
||||
dbTCPPort: 3306
|
||||
dbTCPName: {{ .Values.mariadb.mariadbDatabase }}
|
||||
dbTCPUser: {{ .Values.mariadb.mariadbUsername }}
|
||||
dbTCPPassword: {{ .Values.mariadb.mariadbPassword }}
|
||||
dbTCPPassword: {{ .Values.mariadb.mariadbPassword | trimAll "\"" }}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user