From b5d9ac891390af7b51d6e57784ca899b3afc7abc Mon Sep 17 00:00:00 2001 From: Khusro Jaleel Date: Thu, 14 Sep 2017 17:13:50 +0100 Subject: [PATCH] adding documentation about --configmap command-line arg --- controllers/nginx/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/nginx/configuration.md b/controllers/nginx/configuration.md index 07c2285b0..4aa2cadee 100644 --- a/controllers/nginx/configuration.md +++ b/controllers/nginx/configuration.md @@ -23,7 +23,7 @@ There are 3 ways to customize NGINX: -1. [ConfigMap](#allowed-parameters-in-configuration-configmap): create a stand alone ConfigMap, use this if you want a different global configuration. +1. [ConfigMap](#allowed-parameters-in-configuration-configmap): create a stand alone ConfigMap, use this if you want a different global configuration. **NOTE** Please make sure you add the `--configmap` command-line argument when starting the controller for ConfigMaps to work! See the documentation [here](https://github.com/kubernetes/ingress/tree/master/controllers/nginx#command-line-arguments) 2. [annotations](#annotations): use this if you want a specific configuration for the site defined in the Ingress rule. 3. custom template: when more specific settings are required, like [open_file_cache](http://nginx.org/en/docs/http/ngx_http_core_module.html#open_file_cache), custom [log_format](http://nginx.org/en/docs/http/ngx_http_log_module.html#log_format), adjust [listen](http://nginx.org/en/docs/http/ngx_http_core_module.html#listen) options as `rcvbuf` or when is not possible to change an through the ConfigMap.