add secret scheme details to the example
This commit is contained in:
parent
0cdb74e123
commit
d1758c5e5f
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Basic Authentication
|
# Basic Authentication
|
||||||
|
|
||||||
This example shows how to add authentication in a Ingress rule using a secret that contains a file generated with `htpasswd`.
|
This example shows how to add authentication in a Ingress rule using a secret that contains a file generated with `htpasswd`.
|
||||||
|
It's important the file generated is named `auth` (actually - that the secret has a key `data.auth`), otherwise the ingress-controller returns a 503.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ htpasswd -c auth foo
|
$ htpasswd -c auth foo
|
||||||
|
|
Loading…
Reference in a new issue