added information regarding basic authentication

added information regarding how to configure http basic
authentication using traefik ingress controller for services
that do not provide any authentication mechanism
This commit is contained in:
2025-02-22 19:14:54 +02:00
parent 830212edcd
commit 860fb1d80e
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,7 @@
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: basic-auth
spec:
basicAuth:
secret: traefik-basic-auth

View File

@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: traefik-basic-auth
type: Opaque
data:
auth: "${TRAEFIK_SECRET}"