|
| 1 | +.catalog: |
| 2 | + name: "nDVP" |
| 3 | + version: "17.07" |
| 4 | + description: "NetApp Docker Volume Plugin (nDVP)" |
| 5 | + questions: |
| 6 | + # Common settings |
| 7 | + - variable: "STORAGE_PREFIX" |
| 8 | + description: "Prefix for created storage objects" |
| 9 | + label: "Storage Prefix" |
| 10 | + required: false |
| 11 | + default: "netappdvp_" |
| 12 | + type: "string" |
| 13 | + |
| 14 | + - variable: "DEBUG_ENABLED" |
| 15 | + description: "Enable debugging output in logs" |
| 16 | + label: "Debug Logging" |
| 17 | + required: false |
| 18 | + default: false |
| 19 | + type: "boolean" |
| 20 | + |
| 21 | + # E-Series settings |
| 22 | + - variable: "WEB_PROXY_HOSTNAME" |
| 23 | + description: "Hostname or IP address of Web Services Proxy" |
| 24 | + label: "Web Proxy Hostname" |
| 25 | + required: true |
| 26 | + default: "" |
| 27 | + type: "string" |
| 28 | + |
| 29 | + - variable: "WEB_PROXY_PORT" |
| 30 | + description: "Port number of the Web Services Proxy (optional)" |
| 31 | + label: "Web Proxy Port" |
| 32 | + required: true |
| 33 | + default: "8443" |
| 34 | + type: "string" |
| 35 | + |
| 36 | + - variable: "WEB_PROXY_USE_HTTP" |
| 37 | + description: "Use HTTP instead of HTTPS for Web Services Proxy (default = false)?" |
| 38 | + label: "Web Proxy Use HTTP?" |
| 39 | + required: true |
| 40 | + default: false |
| 41 | + type: "boolean" |
| 42 | + |
| 43 | + - variable: "WEB_PROXY_VERIFY_TLS" |
| 44 | + description: "Verify server's certificate chain and hostname (default = false)?" |
| 45 | + label: "Web Proxy verify TLS?" |
| 46 | + required: true |
| 47 | + default: false |
| 48 | + type: "boolean" |
| 49 | + |
| 50 | + - variable: "USER_NAME" |
| 51 | + description: "Username for Web Services Proxy" |
| 52 | + label: "User Name" |
| 53 | + required: true |
| 54 | + default: "rw" |
| 55 | + type: "string" |
| 56 | + - variable: "USER_PASSWORD" |
| 57 | + description: "Password for Web Services Proxy" |
| 58 | + label: "Password" |
| 59 | + required: true |
| 60 | + default: "rw" |
| 61 | + type: "password" |
| 62 | + |
| 63 | + - variable: "CONTROLLER_A" |
| 64 | + description: "IP address of controller A" |
| 65 | + label: "Controller A IP" |
| 66 | + required: true |
| 67 | + default: "" |
| 68 | + type: "string" |
| 69 | + |
| 70 | + - variable: "CONTROLLER_B" |
| 71 | + description: "IP address of controller B" |
| 72 | + label: "Controller B IP" |
| 73 | + required: true |
| 74 | + default: "" |
| 75 | + type: "string" |
| 76 | + |
| 77 | + - variable: "PASSWORD_ARRAY" |
| 78 | + description: "Password for storage array (if set)" |
| 79 | + label: "Password for Array" |
| 80 | + required: false |
| 81 | + default: "" |
| 82 | + type: "password" |
| 83 | + |
| 84 | + - variable: "HOSTDATA_IP" |
| 85 | + description: "Host iSCSI IP address (if multipathing just choose either one)" |
| 86 | + label: "Host iSCSI IP address" |
| 87 | + required: true |
| 88 | + default: "" |
| 89 | + type: "string" |
| 90 | + |
| 91 | + - variable: "POOL_NAME_SEARCH_PATTERN" |
| 92 | + description: "Regular expression for matching storage pools available for nDVP volumes (default = .+)" |
| 93 | + label: "Pool Name Search Pattern" |
| 94 | + required: true |
| 95 | + default: ".+" |
| 96 | + type: "string" |
| 97 | + |
| 98 | + - variable: "HOST_TYPE" |
| 99 | + description: "Type of E-series Host created by nDVP (default = linux_dm_mp)" |
| 100 | + label: "Host Type" |
| 101 | + required: true |
| 102 | + default: "linux_dm_mp" |
| 103 | + type: "string" |
| 104 | + |
| 105 | + - variable: "ACCESS_GROUP_NAME" |
| 106 | + description: "Name of E-series Host Group to contain Hosts defined by nDVP (default = netappdvp)" |
| 107 | + label: "Access Group Name" |
| 108 | + required: true |
| 109 | + default: "netappdvp" |
| 110 | + type: "string" |
| 111 | + |
| 112 | + # Common settings |
| 113 | + - variable: "SIZE" |
| 114 | + description: "Optional default size for new volumes. Default: '1G'" |
| 115 | + label: "Volume Size" |
| 116 | + required: false |
| 117 | + default: "1G" |
| 118 | + type: "string" |
| 119 | + |
| 120 | + - variable: "VOLUME_DRIVER_NAME" |
| 121 | + description: "Name to use for this plugin instance with Docker: docker volume create -d <volume driver name>" |
| 122 | + label: "Volume Driver Name" |
| 123 | + required: true |
| 124 | + default: "netapp" |
| 125 | + type: "string" |
| 126 | + |
| 127 | +netapp-eseries: |
| 128 | + labels: |
| 129 | + io.rancher.scheduler.global: 'true' |
| 130 | + metadata: |
| 131 | + version: 1 |
| 132 | + storageDriverName: "eseries-iscsi" |
| 133 | + debug: true |
| 134 | + storagePrefix: "${STORAGE_PREFIX}" |
| 135 | + webProxyHostname: "${WEB_PROXY_HOSTNAME}" |
| 136 | + webProxyPort: "${WEB_PROXY_PORT}" |
| 137 | + webProxyUseHTTP: "${WEB_PROXY_USE_HTTP}" |
| 138 | + webProxyVerifyTLS: "${WEB_PROXY_VERIFY_TLS}" |
| 139 | + username: "${USER_NAME}" |
| 140 | + password: "${USER_PASSWORD}" |
| 141 | + controllerA: "${CONTROLLER_A}" |
| 142 | + controllerB: "${CONTROLLER_B}" |
| 143 | + passwordArray: "${PASSWORD_ARRAY}" |
| 144 | + hostData_IP: "${HOSTDATA_IP}" |
| 145 | + poolNameSearchPattern: "${POOL_NAME_SEARCH_PATTERN}" |
| 146 | + hostType: "${HOST_TYPE}" |
| 147 | + accessGroupName: "${ACCESS_GROUP_NAME}" |
| 148 | + defaults: |
| 149 | + size: "${SIZE}" |
| 150 | + volumeDriverName: "${VOLUME_DRIVER_NAME}" |
| 151 | + storage_driver: |
| 152 | + name: "${VOLUME_DRIVER_NAME}" |
| 153 | + scope: environment |
| 154 | + volume_access_mode: singleHostRW |
0 commit comments