Remove longhorn ingress

This commit is contained in:
Ruben Hensen
2024-10-03 14:49:10 +02:00
parent 26324c1825
commit 3e932a61f0
+27 -27
View File
@@ -1,27 +1,27 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: longhorn-ingress
namespace: longhorn-system
annotations:
# type of authentication
# nginx.ingress.kubernetes.io/auth-type: basic
# prevent the controller from redirecting (308) to HTTPS
nginx.ingress.kubernetes.io/ssl-redirect: 'false'
# name of the secret that contains the user/password definitions
# nginx.ingress.kubernetes.io/auth-secret: basic-auth
# message to display with an appropriate context why the authentication is required
# nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required '
# custom max body size for file uploading like backing image uploading
nginx.ingress.kubernetes.io/proxy-body-size: 10000m
spec:
rules:
- http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: longhorn-frontend
port:
number: 80
# apiVersion: networking.k8s.io/v1
# kind: Ingress
# metadata:
# name: longhorn-ingress
# namespace: longhorn-system
# annotations:
# # type of authentication
# # nginx.ingress.kubernetes.io/auth-type: basic
# # prevent the controller from redirecting (308) to HTTPS
# nginx.ingress.kubernetes.io/ssl-redirect: 'false'
# # name of the secret that contains the user/password definitions
# # nginx.ingress.kubernetes.io/auth-secret: basic-auth
# # message to display with an appropriate context why the authentication is required
# # nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required '
# # custom max body size for file uploading like backing image uploading
# nginx.ingress.kubernetes.io/proxy-body-size: 10000m
# spec:
# rules:
# - http:
# paths:
# - pathType: Prefix
# path: "/"
# backend:
# service:
# name: longhorn-frontend
# port:
# number: 80