mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-21 05:26:49 +00:00
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:
co-authored by
Claude Opus 4.6
parent
7c184f9d14
commit
fb0ed0071f
@@ -17,6 +17,12 @@ spec:
|
|||||||
- path:
|
- path:
|
||||||
type: PathPrefix
|
type: PathPrefix
|
||||||
value: /
|
value: /
|
||||||
|
filters:
|
||||||
|
- type: RequestHeaderModifier
|
||||||
|
requestHeaderModifier:
|
||||||
|
set:
|
||||||
|
- name: X-Forwarded-Proto
|
||||||
|
value: https
|
||||||
backendRefs:
|
backendRefs:
|
||||||
- group: gateway.envoyproxy.io
|
- group: gateway.envoyproxy.io
|
||||||
kind: Backend
|
kind: Backend
|
||||||
|
|||||||
@@ -9,7 +9,11 @@ spec:
|
|||||||
gateways:
|
gateways:
|
||||||
- istio-system/edge
|
- istio-system/edge
|
||||||
http:
|
http:
|
||||||
- timeout: 3600s
|
- headers:
|
||||||
|
request:
|
||||||
|
set:
|
||||||
|
x-forwarded-proto: https
|
||||||
|
timeout: 3600s
|
||||||
route:
|
route:
|
||||||
- destination:
|
- destination:
|
||||||
host: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
|
host: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
|
||||||
|
|||||||
Reference in New Issue
Block a user