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/openldap_k8s.yml b/glusterfs/server/volume/openldap_k8s.yml
index 554801d..24b2a26 100644
--- a/glusterfs/server/volume/openldap_k8s.yml
+++ b/glusterfs/server/volume/openldap_k8s.yml
@@ -10,6 +10,8 @@
- ${_param:cluster_node02_address}:/srv/glusterfs/openldap/config
- ${_param:cluster_node03_address}:/srv/glusterfs/openldap/config
options:
+ auth.allow: ${_param:glusterfs_allow_ips}
+ auth.reject: ${_param:glusterfs_reject_ips}
storage.owner-gid: 999
storage.owner-uid: 999
cluster.readdir-optimize: On
@@ -26,6 +28,8 @@
- ${_param:cluster_node02_address}:/srv/glusterfs/openldap/data
- ${_param:cluster_node03_address}:/srv/glusterfs/openldap/data
options:
+ auth.allow: ${_param:glusterfs_allow_ips}
+ auth.reject: ${_param:glusterfs_reject_ips}
storage.owner-gid: 999
storage.owner-uid: 999
cluster.readdir-optimize: On