]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/nfs: add support for selecting between haproxy ingress modes
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)
commit322c109f6bd6fa9c4449b4f938d907e1bc75629d
treee590cb484fffea4953da4752e783c410f2da4733
parent61f25e39a2146ebceef100abdf697d712defa5a4
mgr/nfs: add support for selecting between haproxy ingress modes

When the haproxy-standard mode is selected, the haproxy ingress will
behave as in previous versions of ceph. When the haproxy-protocol mode
is selected, we need to enable protocol support on the ingress service
and nfs service.

While were at it, make a few organization tweaks to improve readability.

Fixes: https://tracker.ceph.com/issues/58933
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/nfs/cluster.py
src/pybind/mgr/orchestrator/module.py