Merge pull request #1711 from aledbf/add-helper-to-funcmap

Automatic merge from submit-queue

[nginx-ingress-controller]: Add function helpers to nginx template

fixes #1695
This commit is contained in:
Kubernetes Submit Queue 2016-09-25 21:03:32 -07:00 committed by GitHub
commit d90ceb7f3c

View file

@ -52,6 +52,11 @@ var (
"buildProxyPass": buildProxyPass,
"buildRateLimitZones": buildRateLimitZones,
"buildRateLimit": buildRateLimit,
"contains": strings.Contains,
"hasPrefix": strings.HasPrefix,
"hasSuffix": strings.HasSuffix,
"toUpper": strings.ToUpper,
"toLower": strings.ToLower,
}
)