Remove auth longhorn

This commit is contained in:
Ruben Hensen
2024-09-13 21:27:11 +02:00
parent 9d8128e9b4
commit 3951548dc8
2 changed files with 4 additions and 30 deletions
-26
View File
@@ -1,26 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: helm-longhorn
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
syncPolicy:
syncOptions:
- CreateNamespace=true
project: default
sources:
- chart: longhorn
repoURL: https://charts.longhorn.io/
targetRevision: v1.7.1 # Replace with the Longhorn version you'd like to install or upgrade to
helm:
values: |
preUpgradeChecker:
jobEnabled: false
parameters:
- name: csi.kubeletRootDir
value: "/var/snap/microk8s/common/var/lib/kubelet"
destination:
server: https://kubernetes.default.svc
namespace: longhorn-system
+4 -4
View File
@@ -5,13 +5,13 @@ metadata:
namespace: longhorn-system
annotations:
# type of authentication
nginx.ingress.kubernetes.io/auth-type: basic
# 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
# 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 '
# 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:
@@ -19,7 +19,7 @@ spec:
- http:
paths:
- pathType: Prefix
path: "/longhorn"
path: "/"
backend:
service:
name: longhorn-frontend