Set X-Forwarded-Proto header for Ceph dashboard SAML authentication

Dashboard runs with ssl: false behind TLS-terminating proxy, so SAML
library sees http:// URLs and rejects responses expecting https://.
Explicitly set X-Forwarded-Proto: https on both Istio VirtualService
and Envoy Gateway HTTPRoute so the SAML ACS URL matches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Scooby Husky
2026-03-14 13:48:35 -05:00
co-authored by Claude Opus 4.6
parent 7c184f9d14
commit fb0ed0071f
2 changed files with 11 additions and 1 deletions
@@ -17,6 +17,12 @@ spec:
- path:
type: PathPrefix
value: /
filters:
- type: RequestHeaderModifier
requestHeaderModifier:
set:
- name: X-Forwarded-Proto
value: https
backendRefs:
- group: gateway.envoyproxy.io
kind: Backend
@@ -9,7 +9,11 @@ spec:
gateways:
- istio-system/edge
http:
- timeout: 3600s
- headers:
request:
set:
x-forwarded-proto: https
timeout: 3600s
route:
- destination:
host: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local