use id instead of names for user/group in ci configs

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2022-05-05 16:42:06 -06:00
parent 301af17421
commit e960cf4b6d
5 changed files with 15 additions and 9 deletions

View File

@ -6,5 +6,5 @@ nfs:
# shareHost:shareBasePath should be mounted at this location in the controller container
controllerBasePath: "/mnt/client/nfs/${CI_BUILD_KEY}"
dirPermissionsMode: "0777"
dirPermissionsUser: root
dirPermissionsGroup: wheel
dirPermissionsUser: 0
dirPermissionsGroup: 0

View File

@ -6,5 +6,9 @@ smb:
# shareHost:shareBasePath should be mounted at this location in the controller container
controllerBasePath: "/mnt/client/smb/${CI_BUILD_KEY}"
dirPermissionsMode: "0777"
dirPermissionsUser: root
dirPermissionsGroup: wheel
dirPermissionsUser: 0
dirPermissionsGroup: 0
node:
mount:
mount_flags: "username=smbroot,password=smbroot"

View File

@ -21,4 +21,5 @@ nfs:
shareStrategy: "setDatasetProperties"
shareStrategySetDatasetProperties:
properties:
sharenfs: "on"
#sharenfs: "on"
sharenfs: "rw,no_subtree_check,no_root_squash"

View File

@ -6,5 +6,5 @@ local-hostpath:
shareBasePath: "/var/lib/csi-local-hostpath"
controllerBasePath: "/var/lib/csi-local-hostpath"
dirPermissionsMode: "0777"
dirPermissionsUser: root
dirPermissionsGroup: root
dirPermissionsUser: 0
dirPermissionsGroup: 0

View File

@ -36,8 +36,8 @@ zfs:
datasetEnableQuotas: true
datasetEnableReservation: false
datasetPermissionsMode: "0777"
datasetPermissionsUser: root
datasetPermissionsGroup: root
datasetPermissionsUser: 0
datasetPermissionsGroup: 0
#datasetPermissionsAcls:
#- "-m everyone@:full_set:allow"
#- "-m u:kube:full_set:allow"
@ -48,6 +48,7 @@ nfs:
shareStrategy: "setDatasetProperties"
shareStrategySetDatasetProperties:
properties:
#sharenfs: "rw,no_subtree_check,no_root_squash"
sharenfs: "on"
# share: ""
shareHost: "server address"