mirror of
https://github.com/truenas/charts.git
synced 2026-05-11 19:16:17 +08:00
This commit upgrades chia, photoprism, home-assistant, storj, nextcloud, emby catalog item(s).
14 lines
432 B
YAML
14 lines
432 B
YAML
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 }}
|