Files
Homelabv4/infrastructure/rook-ceph/manifests/istio-virtualservice.yaml
T
Scooby HuskyandClaude Opus 4.6 fb0ed0071f 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>
2026-03-14 13:48:35 -05:00

22 lines
461 B
YAML

apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: ceph-dashboard
namespace: rook-ceph
spec:
hosts:
- ceph.kube.huskypup.net
gateways:
- istio-system/edge
http:
- headers:
request:
set:
x-forwarded-proto: https
timeout: 3600s
route:
- destination:
host: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
port:
number: 7000