]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: add optional HAProxy_Hosts field to ganesha conf template
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)
commitcdfed317442995dda9c8b272553257435593db09
tree6275bee387badfa21e4b2f9fd9761f25bfb51a9e
parent19187d93487d8474084218d0bf20ee9740c43c35
mgr/cephadm: add optional HAProxy_Hosts field to ganesha conf template

When NFS-Ganesha is used behind a HAProxy with proxy protocol support
enabled ganesha requires that HAProxy_Hosts is set to a list of hosts
that are permitted to use the proxy protocol. This change adds support
for specifying HAProxy_Hosts in the ganesha configuration file template.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 7c7b7b672118c9ec3803f46998a3174cccb6dfb6)
src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2