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