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