feat(filebrowser): add Traefik basic-auth middleware
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user