@@ -109,68 +109,3 @@ func TestGeneratePowerScaleStorageClass(t *testing.T) {
109109 assert .Equal (t , string (tt .want ), string (generated ))
110110 }
111111}
112-
113- // Expected output when running `repctl create sc --from-config ...` using a powerscale config template.
114- // Used to validate repctl is generating the expected storage classes.
115- // If the config file is updated with more configuration options, the new output should be reviewed and
116- // upon approval, be used to replace these values.
117- const powerscaleStorageClass = `
118- # yamllint disable-file
119- # This file is not valid YAML because it is a Helm template
120- apiVersion: storage.k8s.io/v1
121- kind: StorageClass
122- metadata:
123- name: isilon-replication
124- provisioner: csi-isilon.dellemc.com
125- reclaimPolicy: Delete
126- volumeBindingMode: Immediate
127- parameters:
128- replication.storage.dell.com/isReplicationEnabled: "true"
129- replication.storage.dell.com/remoteStorageClassName: isilon-replication
130- replication.storage.dell.com/remoteClusterID: target
131- replication.storage.dell.com/rpo: Five_Minutes
132- replication.storage.dell.com/ignoreNamespaces: "false"
133- replication.storage.dell.com/volumeGroupPrefix: csi
134- replication.storage.dell.com/remoteSystem: cluster-2
135- replication.storage.dell.com/remoteRGRetentionPolicy: Retain
136- replication.storage.dell.com/remotePVRetentionPolicy: Retain
137- replication.storage.dell.com/remoteAccessZone: System
138- replication.storage.dell.com/remoteAzServiceIP: 192.168.1.2
139- replication.storage.dell.com/remoteAzNetwork: 192.168.3.0/24
140- replication.storage.dell.com/remoteRootClientEnabled: "false"
141- AccessZone: System
142- AzServiceIP: 192.168.1.1
143- AzNetwork: 192.168.2.0/24
144- IsiPath: /ifs/data/csi
145- RootClientEnabled: "false"
146- ClusterName: cluster-1
147- # yamllint disable-file
148- # This file is not valid YAML because it is a Helm template
149- apiVersion: storage.k8s.io/v1
150- kind: StorageClass
151- metadata:
152- name: isilon-replication
153- provisioner: csi-isilon.dellemc.com
154- reclaimPolicy: Delete
155- volumeBindingMode: Immediate
156- parameters:
157- replication.storage.dell.com/isReplicationEnabled: "true"
158- replication.storage.dell.com/remoteStorageClassName: isilon-replication
159- replication.storage.dell.com/remoteClusterID: source
160- replication.storage.dell.com/rpo: Five_Minutes
161- replication.storage.dell.com/ignoreNamespaces: "false"
162- replication.storage.dell.com/volumeGroupPrefix: csi
163- replication.storage.dell.com/remoteSystem: cluster-1
164- replication.storage.dell.com/remoteRGRetentionPolicy: Retain
165- replication.storage.dell.com/remotePVRetentionPolicy: Retain
166- replication.storage.dell.com/remoteAccessZone: System
167- replication.storage.dell.com/remoteAzServiceIP: 192.168.1.1
168- replication.storage.dell.com/remoteAzNetwork: 192.168.2.0/24
169- replication.storage.dell.com/remoteRootClientEnabled: "false"
170- AccessZone: System
171- AzServiceIP: 192.168.1.2
172- AzNetwork: 192.168.3.0/24
173- IsiPath: /ifs/data/csi
174- RootClientEnabled: "false"
175- ClusterName: cluster-2
176- `
0 commit comments