Improve docs

This commit is contained in:
Manuel de Brito Fontes 2016-06-02 18:56:17 -04:00
parent e68aa3806a
commit 4335d831a9
4 changed files with 397 additions and 110 deletions

View file

@ -35,11 +35,11 @@ metadata:
name: ingress-with-auth
annotations:
# type of authentication
ingress-nginx.kubernetes.io/auth-type: basic
ingress.kubernetes.io/auth-type: basic
# name of the secret that contains the user/password definitions
ingress-nginx.kubernetes.io/auth-secret: basic-auth
ingress.kubernetes.io/auth-secret: basic-auth
# message to display with an appropiate context why the authentication is required
ingress-nginx.kubernetes.io/auth-realm: "Authentication Required - foo"
ingress.kubernetes.io/auth-realm: "Authentication Required - foo"
spec:
rules:
- host: foo.bar.com

View file

@ -7,7 +7,7 @@ kind: Ingress
metadata:
name: echoheaders
annotations:
ingress-nginx.kubernetes.io/upstream-fail-timeout: "30"
ingress.kubernetes.io/upstream-fail-timeout: "30"
spec:
rules:
- host: foo.bar.com