]> 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)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:36:15 +0000 (13:36 -0400)
commitb565e0d5723ccbe7770e9eaa8394e0b33bd85ec4
tree74a8146f3fedc4b25a34e02a548c2e2047534b66
parent9cfc55051f56fda6fb36f1e85d38cb1263ef9be7
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>
(cherry picked from commit 322c109f6bd6fa9c4449b4f938d907e1bc75629d)
src/pybind/mgr/nfs/cluster.py
src/pybind/mgr/orchestrator/module.py