-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
formatIP issue #1202
Comments
Please check you have the latest code. https://github.com/kubernetes/ingress/blob/master/controllers/nginx/pkg/template/template.go#L148 |
@aledbf yes I do. Same here: 'F0821 14:56:26.559928 6 nginx.go:96] invalid NGINX template: template: nginx.tmpl:283: function "buildDenyVariable" not defined' I'm trying to see what else is happening. Will reopen if nothing happens :) |
@aledbf I've compiled the latest version (make build) and the error still happens :( I'm reopening this issue. Thanks |
Sorry, you need to reopen the issue :D |
@rikatz just in case if the code in master compiles the templates it's ok (we have a test that checks that) |
@aledbf sorry, my bad! I've pushed the latest commit, but I didn't linked k8s.io/ingress with github.com/kubernetes/ingress :) Now it issues the following error while compiling:
|
You need Go 1.8 |
Hum that's new :D Thank you! @jcmoraisjr for next releases, we should use (if you're not already using) Go 1.8 |
@aledbf another thing: This line is causing some issues: specifically in this:
What am I missing now? Some bogused ingress? Thanks! |
Yep, already using on HAProxy |
In 0.9.0-beta.11 the version was like this Don't know what and why this was changed, I'm going to return to $server.Hostname and see what happens here. |
OK, nevermind, the template is right. I've made some mess here while trying to solve the problems. Ingress working fine here, and now with SSLPassthrough disabled, solving the issues related in #1000 Thanks! |
I've downloaded the latest source code and compiled here.
When trying to start, the following error happens:
F0821 14:49:24.833766 6 nginx.go:96] invalid NGINX template: template: nginx.tmpl:256: function "formatIP" not defined
Don't know which is the related commit to this.
Thanks!
The text was updated successfully, but these errors were encountered: