Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

VRID flag not supported in keepalived.tmpl #18

Closed
primeroz opened this issue Sep 18, 2017 · 2 comments · Fixed by #19
Closed

VRID flag not supported in keepalived.tmpl #18

primeroz opened this issue Sep 18, 2017 · 2 comments · Fixed by #19

Comments

@primeroz
Copy link

virtual_router_id 50

Unless i misunderstand how this is supposed to work it seem that the vrid flag passed to keepalived-vip container is not expanded in the template which is enforcing 50

@aledbf
Copy link
Owner

aledbf commented Sep 18, 2017

@primeroz please download aledbf/kube-keepalived-vip:0.20

@primeroz
Copy link
Author

Seems like the template is not expanding properly for me anymore

ERROR: logging before flag.Parse: F0920 16:10:19.771428       1 main.go:392] Error loading templates: template: keepalived.tmpl:80: unexpected EOF

Do we need an extra "{{ end }}" to the if added here ?

{{ if eq $svc.LVSMethod "VIP" }}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants