added repo
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
# oauth2-proxy routes (/oauth2/*) on the same host as Kibana.
|
||||
# No auth_request on this Ingress — otherwise the /oauth2/start and /oauth2/callback
|
||||
# paths would loop trying to authenticate themselves.
|
||||
# Ref: https://medium.com/@hrlimaye/google-oauth2-with-kubernetes-nginx-controller-d7a0a3e62e1b
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: oauth2-proxy-kibana-nginx
|
||||
namespace: eck-observability-prd
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx-internal
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
rules:
|
||||
- host: kibana-prd-observability.prd.meesho.int
|
||||
http:
|
||||
paths:
|
||||
- path: /oauth2
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: oauth2-proxy-kibana
|
||||
port:
|
||||
number: 4180
|
||||
Reference in New Issue
Block a user