Annotations for the InfluxDB Module

Signed-off-by: Lorenzo Fontana <lo@linux.com>
This commit is contained in:
Lorenzo Fontana 2018-05-17 14:25:38 +02:00
parent aa256ac887
commit 93be8db612
No known key found for this signature in database
GPG key ID: 0D48B0B074C3DC15
10 changed files with 256 additions and 1 deletions

View file

@ -516,6 +516,11 @@ type Configuration struct {
// DisableLuaRestyWAF disables lua-resty-waf globally regardless
// of whether there's an ingress that has enabled the WAF using annotation
DisableLuaRestyWAF bool `json:"disable-lua-resty-waf"`
// EnableInfluxDB enables the nginx InfluxDB extension
// http://github.com/influxdata/nginx-influxdb-module/
// By default this is disabled
EnableInfluxDB bool `json:"enable-influxdb"`
}
// NewDefault returns the default nginx configuration