mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
cilium hubble ui fix
This commit is contained in:
parent
04d2b820eb
commit
0cdcb7f835
2 changed files with 5 additions and 4 deletions
|
|
@ -11,8 +11,8 @@ oauth2-proxy:
|
||||||
github_users = "amkartashov"
|
github_users = "amkartashov"
|
||||||
proxy_prefix = "/"
|
proxy_prefix = "/"
|
||||||
whitelist_domains = ".ioot.xyz"
|
whitelist_domains = ".ioot.xyz"
|
||||||
cookie_refresh = "1h"
|
cookie_refresh = "1m"
|
||||||
cookie_expire = "168h0m"
|
cookie_expire = "30m"
|
||||||
cookie_secure = "true"
|
cookie_secure = "true"
|
||||||
cookie_domains = ".ioot.xyz"
|
cookie_domains = ".ioot.xyz"
|
||||||
ssl_insecure_skip_verify = "true"
|
ssl_insecure_skip_verify = "true"
|
||||||
|
|
@ -21,6 +21,7 @@ oauth2-proxy:
|
||||||
pass_user_headers = "true"
|
pass_user_headers = "true"
|
||||||
set_authorization_header = "true"
|
set_authorization_header = "true"
|
||||||
pass_authorization_header = "true"
|
pass_authorization_header = "true"
|
||||||
|
set_xauthrequest = true
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,9 @@ cilium:
|
||||||
kubernetes.io/ingress.class: nginx
|
kubernetes.io/ingress.class: nginx
|
||||||
kubernetes.io/tls-acme: "true"
|
kubernetes.io/tls-acme: "true"
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
nginx.ingress.kubernetes.io/auth-url: "http://oauth2-proxy.oauth2-proxy.svc.cluster.local/auth"
|
nginx.ingress.kubernetes.io/auth-url: "https://oauth2.ioot.xyz/auth"
|
||||||
nginx.ingress.kubernetes.io/auth-signin: "https://oauth2.ioot.xyz/start?rd=$escaped_request_uri"
|
nginx.ingress.kubernetes.io/auth-signin: "https://oauth2.ioot.xyz/start?rd=$escaped_request_uri"
|
||||||
nginx.ingress.kubernetes.io/auth-response-headers: "authorization"
|
nginx.ingress.kubernetes.io/auth-response-headers: "x-auth-request-user, x-auth-request-email, x-auth-request-access-token"
|
||||||
hosts:
|
hosts:
|
||||||
- hubble.ioot.xyz
|
- hubble.ioot.xyz
|
||||||
tls:
|
tls:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue