Clarify mandatory script doc

The warnings should probably be above the script, not below, especially in the ever popular GKE, where they are prerequisites. Generic Deployment sounds like it's a deployment that should work on all vanilla Kubernetes installations. It sounds like an OR logic operator, when it should be an AND.
This commit is contained in:
Ray Foss 2018-10-15 15:41:47 -05:00 committed by GitHub
parent e8bf124deb
commit dfacb6cb8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,15 +15,9 @@
- [Detect installed version](#detect-installed-version)
- [Using Helm](#using-helm)
## Generic Deployment
## Prerequisite Generic Deployment Script
The following resources are required for a generic deployment.
### Mandatory command
```console
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
```
The following **Mandatory command** is required for all deployments.
!!! attention
The default configuration watches Ingress object from all the namespaces.
@ -36,6 +30,10 @@ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/mast
If you're using GKE you need to initialize your user as a cluster-admin with the following command:
```kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user $(gcloud config get-value account)```
```console
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
```
### Provider Specific Steps
There are cloud provider specific yaml files.