Skip to content

Commit

Permalink
Merge pull request kubernetes-retired#1711 from aledbf/add-helper-to-…
Browse files Browse the repository at this point in the history
…funcmap

Automatic merge from submit-queue

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

fixes kubernetes-retired#1695
  • Loading branch information
Kubernetes Submit Queue authored Sep 26, 2016
2 parents c33d05a + 15cc763 commit d90ceb7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions controllers/nginx/nginx/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
)

Expand Down

0 comments on commit d90ceb7

Please sign in to comment.