update to latest 2.26.0 kubespray version and add dns zones settings to coredns

This commit is contained in:
2024-12-14 21:56:19 +03:00
parent be9c8a28fd
commit 4294f52703
368 changed files with 37761 additions and 2942 deletions

View File

@@ -1,8 +1,9 @@
package config
type Dns struct {
Servers []string `yaml:"servers" env-default:"8.8.8.8,8.8.4.4"`
DisableHostNameservers bool `yaml:"disable_host_nameservers"`
Servers []string `yaml:"servers" env-default:"8.8.8.8,8.8.4.4"`
DisableHostNameservers bool `yaml:"disable_host_nameservers"`
CoreDNSExternalZones []interface{} `yaml:"coredns_external_zones"`
}
type RegistryMirror struct {

View File

@@ -183,7 +183,10 @@ nodelocaldns_health_port: 9254
nodelocaldns_second_health_port: 9256
nodelocaldns_bind_metrics_host_ip: false
nodelocaldns_secondary_skew_seconds: 5
# nodelocaldns_external_zones:
{{- if .Orchestrator.Dns.CoreDNSExternalZones }}
coredns_external_zones:
{{- .Orchestrator.Dns.CoreDNSExternalZones | toYaml | nindent 2 }}
{{- end }}
# - zones:
# - example.com
# - example.io:1053