File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
images/router/haproxy/conf Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -703,6 +703,8 @@ backend {{ genBackendNamePrefix $cfg.TLSTermination }}:{{ $cfgIdx }}
703
703
{{- "" }} secure attr SameSite={{ $samesite }}
704
704
{{- end }}
705
705
{{- end }}
706
+ {{- with $dynamicConfigManager }} dynamic
707
+ {{- end }}
706
708
{{- end }}{{/* end disable cookies check */}}
707
709
708
710
{{- if matchValues (print $cfg.TLSTermination) "edge" "reencrypt" }}
@@ -760,6 +762,7 @@ backend {{ genBackendNamePrefix $cfg.TLSTermination }}:{{ $cfgIdx }}
760
762
761
763
{{- with $dynamicConfigManager }}
762
764
{{- if (eq $cfg.TLSTermination "reencrypt") }}
765
+ dynamic-cookie-key {{ $cfg.RoutingKeyName }}
763
766
{{- range $idx, $serverName := $dynamicConfigManager.GenerateDynamicServerNames $cfgIdx }}
764
767
server {{ $serverName }} 172.4.0.4:8765 weight 0 ssl disabled check inter {{ firstMatch $timeSpecPattern (index $cfg.Annotations "router.openshift.io/haproxy.health.check.interval") (env "ROUTER_BACKEND_CHECK_INTERVAL") "5000ms" }}
765
768
{{- if gt (len (index $cfg.Certificates (printf "%s_pod" $cfg.Host)).Contents) 0 }} verify required ca-file {{ $workingDir }}/router/cacerts/{{$cfgIdx }}.pem
You can’t perform that action at this time.
0 commit comments