Add basic authentification
This commit is contained in:
parent
a0d4f0a26d
commit
212811e224
3 changed files with 21 additions and 0 deletions
|
|
@ -10,6 +10,10 @@ metadata:
|
|||
ingress.kubernetes.io/whitelist-source-range: "{% for acl_whitelist in ingress_whitelist %}{{ acl_whitelist }}{% if not loop.last %}, {% endif %}{% endfor %}"
|
||||
{% endif %}
|
||||
traefik.frontend.priority: "10"
|
||||
{% if basic_auth is defined %}
|
||||
traefik.ingress.kubernetes.io/auth-type: basic
|
||||
traefik.ingress.kubernetes.io/auth-secret: traefik-auth
|
||||
{% endif %}
|
||||
spec:
|
||||
rules:
|
||||
- host: weave.{{ ingress_domain }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue