feat: add support to tls for ingress-route

If tls is enabled on the process, we create add the https entrypoint and also add the requisite tls secret-name
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-01-23 03:00:27 -05:00
1 parent 63a6e9087f
commit 29760e8ecd
2 files changed
+10 -8

No files matched your search

@@ -1,3 +1,6 @@
{{ if .Values.processes.PROCESS_TYPE.tls }}
- websecure
{{- end }}
routes:
{{- range .Values.processes.PROCESS_TYPE.domains }}
- kind: Rule
@@ -8,4 +11,8 @@
passHostHeader: true
port: PORT_MAPPING
scheme: PORT_SCHEME
{{- end }}
{{- end }}
{{ if .Values.processes.PROCESS_TYPE.tls }}
tls:
secretName: tls-APP_NAME-PROCESS_TYPE
{{- end }}