From ffced89f5160b11679ca7de4132dfc3ca51426ea Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Mon, 20 May 2024 23:35:06 +0200 Subject: [PATCH] Specify cozy.local as cluster domain As part of https://github.com/aenix-io/cozystack/issues/141 Signed-off-by: Andrei Kvapil --- charts/cozystack/templates/_helpers.tpl | 1 + charts/cozystack/values.yaml | 1 + pkg/generated/presets.go | 2 ++ 3 files changed, 4 insertions(+) diff --git a/charts/cozystack/templates/_helpers.tpl b/charts/cozystack/templates/_helpers.tpl index 7cb1340..332861c 100644 --- a/charts/cozystack/templates/_helpers.tpl +++ b/charts/cozystack/templates/_helpers.tpl @@ -49,6 +49,7 @@ cluster: network: cni: name: none + dnsDomain: {{ .Values.clusterDomain }} podSubnets: {{- toYaml .Values.podSubnets | nindent 6 }} serviceSubnets: diff --git a/charts/cozystack/values.yaml b/charts/cozystack/values.yaml index 77b12eb..2a49ead 100644 --- a/charts/cozystack/values.yaml +++ b/charts/cozystack/values.yaml @@ -1,4 +1,5 @@ endpoint: "https://192.168.100.10:6443" +clusterDomain: cozy.local floatingIP: 192.168.100.10 image: "ghcr.io/aenix-io/cozystack/talos:v1.7.1" podSubnets: diff --git a/pkg/generated/presets.go b/pkg/generated/presets.go index 9d638be..7c605f0 100644 --- a/pkg/generated/presets.go +++ b/pkg/generated/presets.go @@ -79,6 +79,7 @@ cluster: network: cni: name: none + dnsDomain: {{ .Values.clusterDomain }} podSubnets: {{- toYaml .Values.podSubnets | nindent 6 }} serviceSubnets: @@ -114,6 +115,7 @@ cluster: {{- include "talos.config" . }} `, "cozystack/values.yaml": `endpoint: "https://192.168.100.10:6443" +clusterDomain: cozy.local floatingIP: 192.168.100.10 image: "ghcr.io/aenix-io/cozystack/talos:v1.7.1" podSubnets: