Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1711 from aledbf/add-helper-to-funcmap
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

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

fixes #1695
  • Loading branch information
Kubernetes Submit Queue authored Sep 26, 2016
2 parents 24074d1 + 50de1a8 commit 4a7b079
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ingress/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 4a7b079

Please sign in to comment.