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:
7
Kubernetes_deployments/traefik-middleware/auth.yaml
Normal file
7
Kubernetes_deployments/traefik-middleware/auth.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: basic-auth
|
||||
spec:
|
||||
basicAuth:
|
||||
secret: traefik-basic-auth
|
||||
@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: traefik-basic-auth
|
||||
type: Opaque
|
||||
data:
|
||||
auth: "${TRAEFIK_SECRET}"
|
||||
Reference in New Issue
Block a user