feat: use certificates imported by certs plugin when deploying via scheduler-k3s

Closes #7257
This commit is contained in:
Jose Diaz-Gonzalez committed 2026-01-08 01:05:40 -05:00
1 parent b99e0b303d
commit b8e8ea74ff
16 files changed
+899 -38

No files matched your search

@@ -4,7 +4,7 @@
{{- continue }}
{{- end }}
{{- if and $config.web.tls.enabled $config.web.domains }}
{{- if and $config.web.tls.enabled (not $config.web.tls.use_imported_cert) $config.web.domains }}
---
apiVersion: cert-manager.io/v1
kind: Certificate
@@ -53,7 +53,11 @@ spec:
{{- end }}
{{- if $config.web.tls.enabled }}
tls:
{{- if $config.web.tls.use_imported_cert }}
secretName: tls-{{ $.Values.global.app_name }}
{{- else }}
secretName: tls-{{ $.Values.global.app_name }}-{{ $processName }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
@@ -38,7 +38,11 @@ spec:
tls:
- hosts:
- {{ $domain.name | quote }}
{{- if $config.web.tls.use_imported_cert }}
secretName: tls-{{ $.Values.global.app_name }}
{{- else }}
secretName: tls-{{ $.Values.global.app_name }}-{{ $processName }}
{{- end }}
{{- end }}
rules:
- host: {{ $domain.name | quote }}