mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-20 23:16:49 +00:00
Re-enable Ceph dashboard SSL to fix SAML http/https URL mismatch
X-Forwarded-Proto approach didn't work - Ceph dashboard SAML doesn't read it. Re-enabling native SSL so the dashboard sees https:// URLs directly. Updated both Istio and Envoy Gateway backends for TLS with insecureSkipVerify for the self-signed cert. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
fb0ed0071f
commit
8df30c11ee
@@ -62,8 +62,8 @@ cephClusterSpec:
|
|||||||
# Dashboard configuration
|
# Dashboard configuration
|
||||||
dashboard:
|
dashboard:
|
||||||
enabled: true
|
enabled: true
|
||||||
ssl: false # TLS handled by ingress
|
ssl: true
|
||||||
port: 7000
|
port: 8443
|
||||||
|
|
||||||
# Network configuration
|
# Network configuration
|
||||||
network:
|
network:
|
||||||
|
|||||||
@@ -7,4 +7,7 @@ spec:
|
|||||||
endpoints:
|
endpoints:
|
||||||
- fqdn:
|
- fqdn:
|
||||||
hostname: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
|
hostname: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
|
||||||
port: 7000
|
port: 8443
|
||||||
|
tls:
|
||||||
|
insecureSkipVerify: true
|
||||||
|
sni: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
|
||||||
|
|||||||
@@ -17,12 +17,6 @@ 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
|
||||||
|
|||||||
@@ -7,4 +7,6 @@ spec:
|
|||||||
host: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
|
host: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
|
||||||
trafficPolicy:
|
trafficPolicy:
|
||||||
tls:
|
tls:
|
||||||
mode: DISABLE
|
mode: SIMPLE
|
||||||
|
sni: rook-ceph-mgr-dashboard.rook-ceph.svc.cluster.local
|
||||||
|
insecureSkipVerify: true
|
||||||
|
|||||||
@@ -9,13 +9,9 @@ spec:
|
|||||||
gateways:
|
gateways:
|
||||||
- istio-system/edge
|
- istio-system/edge
|
||||||
http:
|
http:
|
||||||
- headers:
|
- timeout: 3600s
|
||||||
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
|
||||||
port:
|
port:
|
||||||
number: 7000
|
number: 8443
|
||||||
|
|||||||
Reference in New Issue
Block a user