-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.go
61 lines (43 loc) · 1.54 KB
/
main.go
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
package main
import (
"context"
"github.com/rexray/gocsi"
"github.com/dell/csi-unity/provider"
"github.com/dell/csi-unity/service"
)
// main is ignored when this package is built as a go plug-in.
func main() {
gocsi.Run(
context.Background(),
service.Name,
"CSI Plugin for Dell EMC Unity Array.",
usage,
provider.New())
}
const usage = ` X_CSI_UNITY_ENDPOINT
Specifies the HTTP endpoint for Unity. This parameter is
required when running the Controller service.
The default value is empty.
X_CSI_UNITY_USER
Specifies the user name when authenticating to Unity.
The default value is admin.
X_CSI_UNITY_PASSWORD
Specifies the password of the user defined by X_CSI_UNITY_USER to use
during authenticatiion to Unity. This parameter is required
when running the Controller service.
The default value is empty.
X_CSI_UNITY_INSECURE
Specifies that the Unity's hostname and certificate chain
should not be verified.
The default value is false.
X_CSI_UNITY_NODENAME
Specifies the name of the node where the Node plugin is running.
The default value is empty.
X_CSI_UNITY_NODENAME_PREFIX
Specifies prefix to the the name of the node where the Node plugin is running.
The default value is empty and this is optional.
X_CSI_PRIVATE_MOUNT_DIR
Specifies the private directory to which a PVC will be mounted before
binding the mount to the target directory.
The default value is an empty list.
`