fix: use correct variable name

This commit is contained in:
Jose Diaz-Gonzalez
2024-03-12 06:11:28 -04:00
parent 25469845e1
commit ac2ea7597e
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ type ProcessWeb struct {
} }
type ProcessDomains struct { type ProcessDomains struct {
Name string `yaml:"domain"` Name string `yaml:"name"`
Slug string `yaml:"slug"` Slug string `yaml:"slug"`
} }

View File

@@ -26,11 +26,11 @@ spec:
{{- if $config.web.tls.enabled }} {{- if $config.web.tls.enabled }}
tls: tls:
- hosts: - hosts:
- {{ $domain.domain | quote }} - {{ $domain.name | quote }}
secretName: tls-{{ $.Values.global.app_name }}-{{ $processName }} secretName: tls-{{ $.Values.global.app_name }}-{{ $processName }}
{{- end }} {{- end }}
rules: rules:
- host: {{ $domain.domain | quote }} - host: {{ $domain.name | quote }}
http: http:
paths: paths:
{{- if $config.web.port_maps }} {{- if $config.web.port_maps }}