apiVersion: v1
data:
  config.json: |
    {
        "command": "/usr/sbin/keepalived -nld -p /run/keepalived.pid",
        "config_files": [
            {
                "source": "/var/lib/kolla/config_files/keepalived.conf",
                "dest": "/etc/keepalived/keepalived.conf",
                "owner": "root",
                "perm": "0644"
            }
        ]
    }
  keepalived.conf: |
    vrrp_instance kolla_internal_vip_51 {
        state MASTER
        nopreempt
        interface br-ex
        virtual_router_id 51
        priority 1
        advert_int 1
        virtual_ipaddress {
            10.57.120.254 dev br-ex
        }
        authentication {
            auth_type PASS
            auth_pass 47A5SReDoNE7YL2AdflwqfdsdGbPEGsiRa9mbzPM
        }
    }
kind: ConfigMap
metadata:
  name: keepalived
