-
Notifications
You must be signed in to change notification settings - Fork 17
/
env.sh
91 lines (77 loc) · 3.62 KB
/
env.sh
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
#!/bin/bash
# Copyright © 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
export X_CSI_POWERMAX_CONFIG_PATH="deploy/config.yaml"
# Comma separated list of array managed by the driver
export X_CSI_MANAGED_ARRAYS="000000000001"
# HTTP endpoint of Unisphere
# set this to "" if using revproxy
export X_CSI_POWERMAX_ENDPOINT="https://0.0.0.1:8443"
# EnvUser is the name of the environment variable used to set the
# username when authenticating to Unisphere
export X_CSI_POWERMAX_USER="username"
# EnvPassword is the name of the environment variable used to set the
# user's password when authenticating to Unisphere
export X_CSI_POWERMAX_PASSWORD="password"
# EnvSkipCertificateValidation is the name of the environment variable used to specify
# that Unisphere's certificate chain and hostname should not
# be verified
export X_CSI_POWERMAX_SKIP_CERTIFICATE_VALIDATION="true"
# EnvNodeName is the name of the environment variable used to set the
# hostname where the node service is running
export X_CSI_POWERMAX_NODENAME=`hostname`
# EnvClusterPrefix is the name of the environment variable that is used
# to specify as a prefix to apply to objects created via this K8s cluster
export X_CSI_K8S_CLUSTER_PREFIX="XYZ"
# 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, indirect
# violation of the CSI spec
export X_CSI_POWERMAX_AUTOPROBE="true"
# EnvPortGroups is the name of the environment variable that is used
# to specify a list of Port Groups that the driver can choose from
# These Port Groups must exist and be populated
export X_CSI_POWERMAX_PORTGROUPS="iscsi_ports"
# Enable/Disable CSI request and response logging
# setting them to true sets X_CSI_REQ_ID_INJECTION to true
export X_CSI_REQ_LOGGING="true"
export X_CSI_REP_LOGGING="true"
# Variables for the integration test code.
export CSI_ENDPOINT=`pwd`/unix_sock
export SYMID="000000000001"
export SRPID="SRP_1"
export SERVICELEVEL="Bronze"
export LOCALRDFGROUP="000"
export REMOTESYMID="000000000001"
export REMOTESRPID="SRP_1"
export REMOTESERVICELEVEL="Gold"
export X_CSI_ENABLE_BLOCK="true"
export REMOTERDFGROUP="000"
export X_CSI_REPLICATION_CONTEXT_PREFIX="powermax"
export X_CSI_REPLICATION_PREFIX="replication.storage.dell.com"
# EnvPreferredTransportProtocol enables you to be able to force the transport protocol.
# Valid values are "FC" or "ISCSI" or "". Value "" will choose FC if both are available.
# This is mainly for testing.
export X_CSI_TRANSPORT_PROTOCOL=""
# Set this value to a higher number is a proxy is being used
export X_CSI_GRPC_MAX_THREADS="50"
# Set this value to the timeout as: "300ms", "1.5h" or "2h45m".
# Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
export X_CSI_UNISPHERE_TIMEOUT="5m"
# variables for reverseproxy
# service name of the revproxy
export X_CSI_POWERMAX_PROXY_SERVICE_NAME="powermax-revproxy"
# Cluster IP of the revproxy service
export POWERMAX_REVPROXY_SERVICE_HOST="0.0.0.0"
# Port of the revproxy service
export POWERMAX_REVPROXY_SERVICE_PORT="2222"