add secret scheme details to the example

This commit is contained in:
aviadatsnyk 2018-05-30 10:52:47 +03:00 committed by GitHub
parent 0cdb74e123
commit d1758c5e5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
# Basic Authentication
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
$ htpasswd -c auth foo