2021-09-03 12:43:21 +00:00
|
|
|
{{/* Make sure all variables are set properly */}}
|
2023-03-04 12:42:14 +00:00
|
|
|
{{- include "tc.v1.common.loader.init" . }}
|
2021-09-03 12:43:21 +00:00
|
|
|
|
|
|
|
{{- $newArgs := (include "traefik.args" . | fromYaml) }}
|
|
|
|
{{- $_ := set .Values "newArgs" $newArgs -}}
|
2023-03-04 12:42:14 +00: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 12:43:21 +00:00
|
|
|
|
2021-09-03 22:12:58 +00:00
|
|
|
{{- include "traefik.portalhook" . }}
|
2021-09-03 12:43:21 +00:00
|
|
|
{{- include "traefik.tlsOptions" . }}
|
|
|
|
{{- include "traefik.ingressRoute" . }}
|
|
|
|
{{- include "traefik.ingressClass" . }}
|
|
|
|
|
2023-03-19 10:58:22 +00:00
|
|
|
{{- with .Values.ingress -}}
|
|
|
|
{{- with .main -}}
|
|
|
|
{{- if .enabled -}}
|
|
|
|
{{- $_ := set $.Values.portal.open.override "protocol" "https" -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2021-09-03 12:43:21 +00:00
|
|
|
|
|
|
|
{{/* Render the templates */}}
|
2023-03-04 12:42:14 +00:00
|
|
|
{{ include "tc.v1.common.loader.apply" . }}
|