File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 port : 443
2222 route :
2323 enabled : {{ .Values.central.exposure.route.enabled }}
24+ {{- if .Values.central.exposure.route.reencrypt.enabled }}
25+ reencrypt :
26+ enabled : true
27+ {{- if .Values.central.exposure.route.reencrypt.host }}
28+ host : {{ .Values.central.exposure.route.reencrypt.host }}
29+ {{- end }}
30+ {{- end }}
2431
2532 {{- if .Values.central.persistence.enabled }}
2633 persistence :
Original file line number Diff line number Diff line change @@ -8,7 +8,11 @@ metadata:
88 annotations :
99 argocd.argoproj.io/sync-wave : " 46"
1010spec :
11+ {{- if .Values.central.exposure.route.reencrypt.enabled }}
12+ href : https://central-reencrypt-{{ .Release.Namespace }}.{{ .Values.global.localClusterDomain }}
13+ {{- else }}
1114 href : https://central-{{ .Release.Namespace }}.{{ .Values.global.localClusterDomain }}
15+ {{- end }}
1216 location : ApplicationMenu
1317 text : Advanced Cluster Security
1418 applicationMenu :
Original file line number Diff line number Diff line change 8686 exit 0
8787 fi
8888
89- ACS_CENTRAL_HOSTNAME="$(oc get route central -n stackrox -o jsonpath='{.spec.host}')"
89+ ACS_CENTRAL_HOSTNAME="$(oc get route central-reencrypt -n stackrox -o jsonpath='{.spec.host}' 2>/dev/null || oc get route central -n stackrox -o jsonpath='{.spec.host}')"
9090 echo "ACS Central hostname: $ACS_CENTRAL_HOSTNAME"
9191
9292 cat > /tmp/oidc-config.json << 'OIDCEOF'
Original file line number Diff line number Diff line change @@ -73,10 +73,11 @@ central:
7373 exposure :
7474 route :
7575 enabled : true
76- # Use cluster wildcard certificate
7776 tls :
7877 enabled : true
7978 termination : passthrough
79+ reencrypt :
80+ enabled : true
8081 loadBalancer :
8182 enabled : false
8283
You can’t perform that action at this time.
0 commit comments