Update argocd/longhorn-system/templates/ingress.yaml
This commit is contained in:
27
argocd/longhorn-system/templates/ingress.yaml
Normal file
27
argocd/longhorn-system/templates/ingress.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: longhorn-ingress
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: nginx
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
nginx.ingress.kubernetes.io/auth-response-headers: Authorization
|
||||||
|
nginx.ingress.kubernetes.io/auth-url: http://oauth2-proxy.oauth2-proxy.svc.cluster.local/oauth2/auth
|
||||||
|
nginx.ingress.kubernetes.io/auth-signin: https://oauth.lukritz.com/oauth2/start?rd=https://$host$request_uri$is_args$args
|
||||||
|
nginx.ingress.kubernetes.io/whitelist-source-range: "89.187.180.41/32"
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: longhorn.durp.info
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: longhorn-frontend
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- longhorn.durp.info
|
||||||
|
secretName: longhorn-tls
|
||||||
Reference in New Issue
Block a user