Adding htaccess for longhorn ui
This commit is contained in:
parent
ee391de9cb
commit
93da61895f
Binary file not shown.
|
|
@ -1,25 +1,28 @@
|
||||||
# ### status: works, but is not secure
|
# ### status: works, but is not secure
|
||||||
|
|
||||||
|
|
||||||
# apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
# kind: Ingress
|
kind: Ingress
|
||||||
# metadata:
|
metadata:
|
||||||
# name: longhorn-frontend
|
name: longhorn-frontend
|
||||||
# namespace: longhorn-system
|
namespace: longhorn-system
|
||||||
# annotations:
|
annotations:
|
||||||
# kubernetes.io/ingress.class: "nginx"
|
kubernetes.io/ingress.class: "nginx"
|
||||||
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
# spec:
|
nginx.ingress.kubernetes.io/auth-type: basic
|
||||||
# tls:
|
nginx.ingress.kubernetes.io/auth-secret: htpasswd
|
||||||
# - hosts:
|
nginx.ingress.kubernetes.io/auth-realm: "Authentication Required - ok"
|
||||||
# - "longhorn.haumdaucher.de"
|
spec:
|
||||||
# secretName: longhorn-haumdaucher-de
|
tls:
|
||||||
# rules:
|
- hosts:
|
||||||
# - host: longhorn.haumdaucher.de
|
- "longhorn.haumdaucher.de"
|
||||||
# http:
|
secretName: longhorn-haumdaucher-de
|
||||||
# paths:
|
rules:
|
||||||
# - path: /
|
- host: longhorn.haumdaucher.de
|
||||||
# backend:
|
http:
|
||||||
# serviceName: longhorn-frontend
|
paths:
|
||||||
# servicePort: 80
|
- path: /
|
||||||
|
backend:
|
||||||
|
serviceName: longhorn-frontend
|
||||||
|
servicePort: 80
|
||||||
Loading…
Reference in New Issue