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 # shareHost:shareBasePath should be mounted at this location in the controller container
controllerBasePath: "/mnt/client/nfs/${CI_BUILD_KEY}" controllerBasePath: "/mnt/client/nfs/${CI_BUILD_KEY}"
dirPermissionsMode: "0777" dirPermissionsMode: "0777"
dirPermissionsUser: root dirPermissionsUser: 0
dirPermissionsGroup: wheel dirPermissionsGroup: 0

View File

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

View File

@ -21,4 +21,5 @@ nfs:
shareStrategy: "setDatasetProperties" shareStrategy: "setDatasetProperties"
shareStrategySetDatasetProperties: shareStrategySetDatasetProperties:
properties: 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" shareBasePath: "/var/lib/csi-local-hostpath"
controllerBasePath: "/var/lib/csi-local-hostpath" controllerBasePath: "/var/lib/csi-local-hostpath"
dirPermissionsMode: "0777" dirPermissionsMode: "0777"
dirPermissionsUser: root dirPermissionsUser: 0
dirPermissionsGroup: root dirPermissionsGroup: 0

View File

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