488194c974
Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: Ia1723829088ae28b45551aca7d2c6f0c32ec0010
24 lines
766 B
YAML
24 lines
766 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "collabora-online.fullname" . }}
|
|
annotations:
|
|
confighash: config-{{ .Values.collabora | toYaml | sha256sum | trunc 32 }}
|
|
labels:
|
|
{{- include "collabora-online.labels" . | nindent 4 }}
|
|
data:
|
|
{{- if .Values.collabora.extra_params }}
|
|
extra_params: {{ .Values.collabora.extra_params }}
|
|
{{- end }}
|
|
{{- if .Values.collabora.server_name }}
|
|
server_name: {{ .Values.collabora.server_name }}
|
|
{{- end }}
|
|
{{- range $k,$v := .Values.collabora.aliasgroups }}
|
|
{{- $alias := $v.host }}
|
|
{{- if $v.aliases }}
|
|
{{- $alias := printf "%s,%s" $alias (join "," $v.aliases) }}
|
|
aliasgroup{{ add $k 1 }}: {{ $alias }}
|
|
{{- else }}
|
|
aliasgroup{{ add $k 1 }}: {{ $alias }}
|
|
{{- end }}
|
|
{{- end }}
|