This repository was archived by the owner on Aug 19, 2020. It is now read-only.

Description
We have a unique constraint placed on us by a provider. We have two separate networks that are in the same VLAN. In order to make routing work correctly, the ability to set the virtual_ipaddress to match that network's subnet would be the ideal solution, ideally through a config map.
Something along the lines of:
apiVersion: v1
kind: ConfigMap
metadata:
name: vip-configmap
data:
10.0.0.10: ""
vip_cidr: 27
resulting in:
virtual_ipaddress {
10.0.0.10/27
}
inside the container's /etc/keepalived.conf, which is a valid keepalived configuration.