From add2ab1a41e422295ccd58c09aa9fab9b45f18cb Mon Sep 17 00:00:00 2001 From: Dominik Kaminski Date: Thu, 3 Oct 2024 18:40:13 +0200 Subject: [PATCH] fix(collabora): Add ipFamilies cluster.networking option --- helmfile/apps/collabora/values.yaml.gotmpl | 8 +++++++- helmfile/environments/default/cluster.yaml | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/helmfile/apps/collabora/values.yaml.gotmpl b/helmfile/apps/collabora/values.yaml.gotmpl index e4ff4f41..b9494d94 100644 --- a/helmfile/apps/collabora/values.yaml.gotmpl +++ b/helmfile/apps/collabora/values.yaml.gotmpl @@ -8,7 +8,13 @@ autoscaling: enabled: false collabora: - extra_params: "--o:ssl.enable=false --o:ssl.termination=true --o:fetch_update_check=0 --o:remote_font_config.url=https://{{ .Values.global.hosts.nextcloud }}.{{ .Values.global.domain }}/apps/richdocuments/settings/fonts.json" + extra_params: > + --o:ssl.enable=false + --o:ssl.termination=true + --o:fetch_update_check=0 + --o:remote_font_config.url=https://{{ .Values.global.hosts.nextcloud }}.{{ .Values.global.domain }}/apps/richdocuments/settings/fonts.json + --o:net.proto={{ if eq .Values.cluster.networking.ipFamilies "DualStack" }}all{{ else }}{{ .Values.cluster.networking.ipFamilies }}{{ end }} + username: "collabora-internal-admin" password: {{ .Values.secrets.collabora.adminPassword | quote }} aliasgroups: diff --git a/helmfile/environments/default/cluster.yaml b/helmfile/environments/default/cluster.yaml index c9d4bdbe..169e5e2d 100644 --- a/helmfile/environments/default/cluster.yaml +++ b/helmfile/environments/default/cluster.yaml @@ -29,6 +29,8 @@ cluster: # The IP/DNS of your load-balancer will be fetched for some components from 'status' map of services. # Most providers use '.status.loadBalancer.ingress[0].ip' to store public ip. You can modify the chosen field here. loadBalancerStatusField: "ip" + # Network protocol options: "IPv4", "IPv6", "DualStack" + ipFamilies: "DualStack" container: # Used container engine in kubernetes cluster.