2021-09-03 08:43:21 -04:00
|
|
|
{{/* Make sure all variables are set properly */}}
|
2023-03-04 07:42:14 -05:00
|
|
|
{{- include "tc.v1.common.loader.init" . }}
|
2021-09-03 08:43:21 -04:00
|
|
|
|
|
|
|
{{- $newArgs := (include "traefik.args" . | fromYaml) }}
|
|
|
|
{{- $_ := set .Values "newArgs" $newArgs -}}
|
2023-03-04 07:42:14 -05:00
|
|
|
{{- $mergedargs := concat $.Values.workload.main.podSpec.containers.main.args .Values.newArgs.args }}
|
|
|
|
{{- $_ := set $.Values.workload.main.podSpec.containers.main "args" $mergedargs -}}
|
2021-09-03 08:43:21 -04:00
|
|
|
|
2021-09-03 18:12:58 -04:00
|
|
|
{{- include "traefik.portalhook" . }}
|
2023-11-25 18:50:19 -05:00
|
|
|
{{- include "traefik.tlsstore" . }}
|
2021-09-03 08:43:21 -04:00
|
|
|
{{- include "traefik.tlsOptions" . }}
|
|
|
|
{{- include "traefik.ingressRoute" . }}
|
|
|
|
{{- include "traefik.ingressClass" . }}
|
|
|
|
|
2023-03-19 06:58:22 -04:00
|
|
|
{{- with .Values.ingress -}}
|
|
|
|
{{- with .main -}}
|
|
|
|
{{- if .enabled -}}
|
|
|
|
{{- $_ := set $.Values.portal.open.override "protocol" "https" -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2021-09-03 08:43:21 -04:00
|
|
|
|
|
|
|
{{/* Render the templates */}}
|
2023-03-04 07:42:14 -05:00
|
|
|
{{ include "tc.v1.common.loader.apply" . }}
|