-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OPSEXP-2391 Move ingress-nginx to a dedicated section (#1092)
- Loading branch information
Showing
2 changed files
with
35 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Install ingress-nginx | ||
|
||
We currently support and test only | ||
[ingress-nginx](https://github.com/kubernetes/ingress-nginx), but all of our | ||
charts supports overriding via values the `ingressSourceClass` and `annotations` | ||
which allows to use your preferred ingress controller. | ||
|
||
## Install on a generic Kubernetes cluster | ||
|
||
Install the ingress-nginx controller namespace: | ||
|
||
```bash | ||
helm upgrade --install ingress-nginx ingress-nginx \ | ||
--repo https://kubernetes.github.io/ingress-nginx \ | ||
--namespace ingress-nginx --create-namespace | ||
``` | ||
|
||
Enable snippet annotations which is disabled by default for security reasons, but | ||
we still requires it for `alfresco-search-services` while still filtering only | ||
the ones we strictly need. | ||
|
||
```bash | ||
kubectl -n ingress-nginx patch cm ingress-nginx-controller \ | ||
-p '{"data": {"allow-snippet-annotations":"true"}}' | ||
``` | ||
|
||
Wait for the ingress-nginx controller to be up again after the configuration change: | ||
|
||
```sh | ||
kubectl wait --namespace ingress-nginx \ | ||
--for=condition=ready pod \ | ||
--selector=app.kubernetes.io/component=controller \ | ||
--timeout=90s | ||
``` |