@@ -1,13 +0,0 @@
-apiVersion: v1
-kind: Secret
-metadata:
- name: db-details
-data:
- db-user: postgres
- {{- if .Release.IsInstall }}
- db-password: {{ randAlphaNum 15 | b64enc | quote }}
- {{ else }}
- # `index` function is necessary because the property name contains a dash.
- # Otherwise (...).data.db_password would have worked too.
- db-password: {{ index (lookup "v1" "Secret" .Release.Namespace "db-details").data "db-password" }}
- {{ end }}
@@ -1,5 +1,5 @@
apiVersion: v2
-appVersion: 25.0.1
+appVersion: 25.0.2
dependencies:
- name: common
repository: file://../../../library/common/2207.0.0
@@ -19,4 +19,4 @@ sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
upstream_version: 2.3.2
-version: 1.6.14
+version: 1.6.15
@@ -1,10 +1,10 @@
image:
pullPolicy: IfNotPresent
repository: nextcloud
- tag: 25.0.1
+ tag: 25.0.2
nginx:
repository: nginx
- tag: 1.21.3
+ tag: 1.23.3
useServiceNameForHost: false
@@ -0,0 +1,12 @@
+{{- $secretName := "db-details" }}
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ $secretName }}
+data:
+ db-user: {{ "postgres" | b64enc }}
+ {{ with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
+ db-password: {{ index .data "db-password" }}
+ {{ else }}
+ db-password: {{ randAlphaNum 15 | b64enc }}
+ {{ end }}
@@ -12,7 +12,7 @@ environmentVariables: []
ixChartContext: {}
nextcloud:
datadir: /var/www/html/data
@@ -23,7 +23,7 @@ nginx:
postgresAppVolumeMounts:
postgres-backup:
emptyDir: true