Skip to content

dataplaneapi in read only mode #212

Open
@pontostroy

Description

@pontostroy

Hello, i want to use dataplaneapi only for fetching backed servers.
Is it possible to configure it to do not modify haproxy config file?
Now I see this in my file

# _md5hash=5633fd65bc4d17590eb9365cb8caecfd
# _version=2
# Dataplaneapi managed File
# changing file directly can cause a conflict if dataplaneapi is running

My config

program dataplaneapi 
  command dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg -r 'systemctl status haproxy' -s 'systemctl status haproxy' --reload-delay 3600 --userlist api_users
  no option start-on-reload

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions