Merge pull request #2583 from aviadatsnyk/patch-1

docs: add secret scheme details to the example
This commit is contained in:
k8s-ci-robot 2018-05-30 04:13:54 -07:00 committed by GitHub
commit b9a253e239
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