feat(filebrowser): add Traefik basic-auth middleware

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-03 08:05:03 +00:00
co-authored by Claude Opus 4.8
parent da8a9293c8
commit 4a529fb0b9
2 changed files with 24 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
---
# Basic-auth credentials in htpasswd format (bcrypt-hashed).
# Generated with: htpasswd -nbB chemavx <password>
apiVersion: v1
kind: Secret
metadata:
name: filebrowser-auth
namespace: filebrowser
type: Opaque
stringData:
users: |
chemavx:$2b$12$a1vb6zKuvbpvw8XWJk2ZYeAZtLGkJ.VsdOuMQhC5HmdC0cdnLzNhC
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: filebrowser-auth
namespace: filebrowser
spec:
basicAuth:
secret: filebrowser-auth
realm: "Filebrowser"