-
Notifications
You must be signed in to change notification settings - Fork 19
/
envvars.go
43 lines (33 loc) · 1.91 KB
/
envvars.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
package service
const (
// EnvEndpoint is the name of the environment variable used to set the
// HTTP endpoint of the Unity Gateway
EnvEndpoint = "X_CSI_UNITY_ENDPOINT"
// EnvNodeName is the name of the enviroment variable used to set the
// hostname where the node service is running
EnvNodeName = "X_CSI_UNITY_NODENAME"
// EnvAutoProbe is the name of the environment variable used to specify
// that the controller service should automatically probe itself if it
// receives incoming requests before having been probed, in direct
// violation of the CSI spec
EnvAutoProbe = "X_CSI_UNITY_AUTOPROBE"
//EnvPvtMountDir is required to Node Unstage volume where the volume has been mounted
//as a global mount via CSI-Unity v1.0 or v1.1
EnvPvtMountDir = "X_CSI_PRIVATE_MOUNT_DIR"
//EnvEphemeralStagingPath
EnvEphemeralStagingPath = "X_CSI_EPHEMERAL_STAGING_PATH"
// EnvISCSIChroot is the path to which the driver will chroot before
// running any iscsi commands. This value should only be set when instructed
// by technical support.
EnvISCSIChroot = "X_CSI_ISCSI_CHROOT"
// EnvKubeConfigPath indicates kubernetes configuration that has to be used by CSI Driver
EnvKubeConfigPath = "KUBECONFIG"
//Time interval to add node info to array. Default 60 minutes.
//X_CSI_UNITY_SYNC_NODEINFO_INTERVAL has been deprecated and will be removes in a future release
SyncNodeInfoTimeInterval = "X_CSI_UNITY_SYNC_NODEINFO_INTERVAL"
// EnvAllowRWOMultiPodAccess - Environment variable to configure sharing of a single volume across multiple pods within the same node
// Multi-node access is still not allowed for ReadWriteOnce Mount volumes.
// Enabling this option techincally violates the CSI 1.3 spec in the NodePublishVolume stating the required error returns.
//X_CSI_UNITY_ALLOW_MULTI_POD_ACCESS has been deprecated and will be removes in a future release
EnvAllowRWOMultiPodAccess = "X_CSI_UNITY_ALLOW_MULTI_POD_ACCESS"
)