-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathclass.yaml
110 lines (94 loc) · 3.97 KB
/
class.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: freenas-nfs
# annotations:
# storageclass.kubernetes.io/is-default-class: "true"
provisioner: freenas.org/nfs
allowVolumeExpansion: true
reclaimPolicy: Delete
mountOptions: []
parameters:
# namespace of the secret which contains FreeNAS server connection details
# default: kube-system
#serverSecretNamespace:
# name of the secret which contains FreeNAS server connection details
# default: freenas-nfs
#serverSecretName:
# the name of the parent dataset (or simply pool) where all resources will
# be created, it *must* exist before provisioner will work
# example: tank/k8s/mycluster
# default: tank
#datasetParentName:
# whether to enforce quotas for each dataset
# if enabled each newly provisioned dataset will set the appropriate quota
# per the PVC
# default: true
#datasetEnableQuotas:
# whether to reserve space when the dataset is create
# if enabled each newly provisioned dataset will set the appropriate value
# per the PVC
# default: true
#datasetEnableReservation:
# if enabled provisioner will create parent datasets for each namespace
# otherwise, all datasets will be provisioned in a flat manner
# default: true
#datasetEnableNamespaces:
# if datasetEnableNamespaces is enabled, sets a per-namespace quota
# example: 5M | 10G | 1T (M, Mi, MB, MiB, G, Gi, GB, GiB, T, Ti, TB, or TiB)
# default: 0 (no quota)
#datasetNamespaceQuota:
# if datasetEnableNamespaces is enabled, sets a per-namespace reservation
# this should not be greater than the datasetNamespaceQuota
# example: 5M | 10G | 1T (M, Mi, MB, MiB, G, Gi, GB, GiB, T, Ti, TB, or TiB)
# default: 0
#datasetNamespaceReservation:
# if enabled created datasets will adhere to reliable pattern
# if datasetNamespaces == true dataset pattern is: <datasetParentName>/<namespace>/<PVC Name>
# if datasetNamespaces == false dataset pattern is: <datasetParentName>/<namespace>-<PVC Name>
# if disabled, datasets will be created with a name pvc-<uid> (the name of the provisioned PV)
# default: true
#datasetDeterministicNames:
# if enabled and datasetDeterministicNames is enabled then dataset that
# already exist (pre-provisioned out of band) will be retained by the
# provisioner during deletion of the reclaim process
# ignored if datasetDeterministicNames is disabled (collisions result in failure)
# default: true
#datasetRetainPreExisting:
# the following parameters determine permissions and ownership of the
# dataset mount directory (on FreeNAS) immediately upon creation
# default: 0777, root, wheel
#datasetPermissionsMode:
#datasetPermissionsUser:
#datasetPermissionsGroup:
# this determines what the 'server' property of the NFS share will be in
# in kubernetes, it's purpose is to provide flexibility between the control
# and data planes of FreeNAS
# default: uses the 'host' value from the secret
#shareHost:
# determines if newly created NFS shares will have the 'All Directories'
# option checked - note that some k8s versions (e.g OKD 3.11 which has v1.11.0
# under the hood) may demand Strings as in "true" or "false"
# default: true
#shareAlldirs:
# Authorized hosts/networks (space-separated) allowed to access the shares
# default: ""
#shareAllowedHosts:
#shareAllowedNetworks:
# Determines root mapping
# cannot be used simultaneously with shareMapAll{User,Group}
# default: root:wheel
#shareMaprootUser:
#shareMaprootGroup:
# Determines user mapping for all access (not recommended)
# cannot be used simultaneously with shareMaproot{User,Group}
# default: ""
#shareMapallUser:
#shareMapallGroup:
# if enabled and datasetDeterministicNames is enabled then shares that
# already exist (pre-provisioned out of band) will be retained by the
# provisioner during deletion of the reclaim process
# ignored if datasetDeterministicNames is disabled (collisions result in failure)
# default: true
#shareRetainPreExisting: