Add options auth.allow and auth.reject to all glusterfs volumes
Default behavior is allow all.
Change-Id: I3c332a4053024cc530eaa18f3309f516b4577d54
Prod-Related: PROD-25019
diff --git a/glusterfs/server/volume/jenkins_slave_multi.yml b/glusterfs/server/volume/jenkins_slave_multi.yml
index d926dfc..5d2e70a 100644
--- a/glusterfs/server/volume/jenkins_slave_multi.yml
+++ b/glusterfs/server/volume/jenkins_slave_multi.yml
@@ -12,6 +12,8 @@
- ${_param:cluster_node02_address}:/srv/glusterfs/jenkins_slaves/slave02
- ${_param:cluster_node03_address}:/srv/glusterfs/jenkins_slaves/slave02
options:
+ auth.allow: ${_param:glusterfs_allow_ips}
+ auth.reject: ${_param:glusterfs_reject_ips}
storage.owner-gid: 10000
storage.owner-uid: 10000
cluster.readdir-optimize: On
@@ -28,6 +30,8 @@
- ${_param:cluster_node02_address}:/srv/glusterfs/jenkins_slaves/slave03
- ${_param:cluster_node03_address}:/srv/glusterfs/jenkins_slaves/slave03
options:
+ auth.allow: ${_param:glusterfs_allow_ips}
+ auth.reject: ${_param:glusterfs_reject_ips}
storage.owner-gid: 10000
storage.owner-uid: 10000
cluster.readdir-optimize: On