Fix documentation format
This commit is contained in:
parent
be0fdc620f
commit
f5dda5fecc
11 changed files with 25 additions and 25 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# External authentication
|
||||
# External Basic Authentication
|
||||
|
||||
### Example 1:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# External Authentication
|
||||
# External OAUTH Authentication
|
||||
|
||||
### Overview
|
||||
|
||||
|
|
@ -6,7 +6,7 @@ The `auth-url` and `auth-signin` annotations allow you to use an external
|
|||
authentication provider to protect your Ingress resources.
|
||||
|
||||
!!! Important
|
||||
this annotation requires `nginx-ingress-controller v0.9.0` or greater.)
|
||||
This annotation requires `nginx-ingress-controller v0.9.0` or greater.)
|
||||
|
||||
### Key Detail
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/mast
|
|||
```
|
||||
|
||||
!!! Important
|
||||
**DO NOT RUN THIS IN PRODUCTION**
|
||||
**DO NOT RUN THIS IN PRODUCTION**
|
||||
|
||||
This deployment uses `emptyDir` in the `volumeMount` which means the contents of the registry will be deleted when the pod dies.
|
||||
This deployment uses `emptyDir` in the `volumeMount` which means the contents of the registry will be deleted when the pod dies.
|
||||
|
||||
The next required step is creation of the ingress rules. To do this we have two options: with and without TLS
|
||||
|
||||
|
|
@ -26,9 +26,9 @@ wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/exam
|
|||
```
|
||||
|
||||
!!! Important
|
||||
Running a docker registry without TLS requires we configure our local docker daemon with the insecure registry flag.
|
||||
Running a docker registry without TLS requires we configure our local docker daemon with the insecure registry flag.
|
||||
|
||||
Please check [deploy a plain http registry](https://docs.docker.com/registry/insecure/#deploy-a-plain-http-registry)
|
||||
Please check [deploy a plain http registry](https://docs.docker.com/registry/insecure/#deploy-a-plain-http-registry)
|
||||
|
||||
### With TLS
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ metadata:
|
|||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/grpc-backend: "true"
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
|
||||
name: fortune-ingress
|
||||
namespace: default
|
||||
spec:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue