Update nextcloud chart version

This commit is contained in:
Waqar Ahmed
2020-12-09 19:34:49 +05:00
parent dbdb89f587
commit 27c4d3c98b
15 changed files with 3 additions and 1 deletions
@@ -0,0 +1,13 @@
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 }}