update oauth2 proxy
This commit is contained in:
@@ -1,17 +1,25 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: oauth2-proxy-longhorn-ingress
|
name: longhorn-ingress
|
||||||
namespace: longhorn-system
|
namespace: longhorn-system
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
spec:
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- longhorn.prod.panic.haus
|
||||||
|
secretName: longhorn-tls
|
||||||
rules:
|
rules:
|
||||||
- host: longhorn.prod.panic.haus
|
- host: longhorn.prod.panic.haus
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
service:
|
service:
|
||||||
name: oauth2-proxy-longhorn-service
|
name: oauth2-proxy-longhorn-service
|
||||||
port:
|
port:
|
||||||
number: 4180
|
number: 4180
|
||||||
path: /oauth2
|
path: /oauth2
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
Reference in New Issue
Block a user