]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: add enable_haproxy_protocol to ingress and nfs service specs
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 21 Mar 2023 15:42:25 +0000 (11:42 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 26 May 2023 14:43:11 +0000 (10:43 -0400)
commit5691def1f8634e4e0a55b313febea1fd0d8cb41a
treeb18758689c4dfd258da79bac94d5ec0526cd4605
parent7c7b7b672118c9ec3803f46998a3174cccb6dfb6
mgr/cephadm: add enable_haproxy_protocol to ingress and nfs service specs

Add a new boolean field, enable_haproxy_protocol, to both the ingress
service spec and the nfs service spec. The ingress service spec needs
the field to tell haproxy to enable proxy protocol (v2) support.
The nfs service spec needs the field to allow the nfs server to accept
proxy protocol messages.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/python-common/ceph/deployment/service_spec.py