From 6ddea27f190fba5fdb1fbf883dd661493ae8c219 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sat, 14 Dec 2024 19:37:30 +0100 Subject: [PATCH] Update longhorn ingress - add basic auth 2 --- longhorn/ingress.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/longhorn/ingress.yaml b/longhorn/ingress.yaml index 2cb5813..aff09d9 100644 --- a/longhorn/ingress.yaml +++ b/longhorn/ingress.yaml @@ -7,6 +7,8 @@ metadata: cert-manager.io/cluster-issuer: prod-cluster-issuer nginx.ingress.kubernetes.io/ssl-passthrough: "false" nginx.ingress.kubernetes.io/enable-cors: "true" + # type of authentication + nginx.ingress.kubernetes.io/auth-type: basic # name of the secret that contains the user/password definitions nginx.ingress.kubernetes.io/auth-secret: longhorn-basic-auth # message to display with an appropriate context why the authentication is required