diff --git a/plugins/scheduler-k3s/template.go b/plugins/scheduler-k3s/template.go index 4109bbc2d..6622ba17b 100644 --- a/plugins/scheduler-k3s/template.go +++ b/plugins/scheduler-k3s/template.go @@ -244,7 +244,7 @@ type ProcessWeb struct { } type ProcessDomains struct { - Name string `yaml:"domain"` + Name string `yaml:"name"` Slug string `yaml:"slug"` } diff --git a/plugins/scheduler-k3s/templates/chart/ingress.yaml b/plugins/scheduler-k3s/templates/chart/ingress.yaml index 1c412e10b..d1505a7c1 100644 --- a/plugins/scheduler-k3s/templates/chart/ingress.yaml +++ b/plugins/scheduler-k3s/templates/chart/ingress.yaml @@ -26,11 +26,11 @@ spec: {{- if $config.web.tls.enabled }} tls: - hosts: - - {{ $domain.domain | quote }} + - {{ $domain.name | quote }} secretName: tls-{{ $.Values.global.app_name }}-{{ $processName }} {{- end }} rules: - - host: {{ $domain.domain | quote }} + - host: {{ $domain.name | quote }} http: paths: {{- if $config.web.port_maps }}