mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-21 17:41:44 -08:00
21 lines
558 B
YAML
21 lines
558 B
YAML
{{- /*
|
|
Copyright 2025 New Vector Ltd
|
|
Copyright 2025 Element Creations Ltd
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
*/ -}}
|
|
|
|
{{- with $.Values.postgres }}
|
|
{{- if (include "element-io.postgres.enabled" (dict "root" $)) }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
labels:
|
|
{{- include "element-io.postgres.labels" (dict "root" $ "context" .) | nindent 4 }}
|
|
name: {{ $.Release.Name }}-postgres
|
|
namespace: {{ $.Release.Namespace }}
|
|
data:
|
|
{{- include "element-io.postgres.configmap-data" (dict "root" $ "context" .) | nindent 2 }}
|
|
{{- end -}}
|
|
{{- end -}}
|