Update longhorn ingress - add basic auth 2

This commit is contained in:
Ruben Hensen
2024-12-14 19:37:30 +01:00
parent b334b836a8
commit 6ddea27f19
+2
View File
@@ -7,6 +7,8 @@ metadata:
cert-manager.io/cluster-issuer: prod-cluster-issuer cert-manager.io/cluster-issuer: prod-cluster-issuer
nginx.ingress.kubernetes.io/ssl-passthrough: "false" nginx.ingress.kubernetes.io/ssl-passthrough: "false"
nginx.ingress.kubernetes.io/enable-cors: "true" 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 # name of the secret that contains the user/password definitions
nginx.ingress.kubernetes.io/auth-secret: longhorn-basic-auth nginx.ingress.kubernetes.io/auth-secret: longhorn-basic-auth
# message to display with an appropriate context why the authentication is required # message to display with an appropriate context why the authentication is required