Phase 3b of migration #2: Middleware.spec.basicAuth.secret now references the Infisical-managed secret. Secret stanza in auth.yaml left in place as fallback until 3b is verified (401 w/o creds, 200 w/ creds), then removed in 3c. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
510 B
YAML
24 lines
510 B
YAML
---
|
|
# 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-infisical
|
|
realm: "Filebrowser"
|