Improve docs
This commit is contained in:
parent
e68aa3806a
commit
4335d831a9
4 changed files with 397 additions and 110 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue