File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
e2e-tests/demand-backup-fs Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ create_infra ${namespace}
50
50
51
51
kubectl_bin delete ns storage || :
52
52
53
- if [[ $EKS == 1 || -n ${OPENSHIFT} ]]; then
54
- sc=$( kubectl_bin get storageclass | tail -1 | awk ' {print $1}' )
53
+ if [[ $GKE != 1 ]]; then
54
+ sc=$( kubectl_bin get storageclass | tail -1 | awk ' {print $1}' )
55
55
kubectl_bin annotate storageclass ${sc} storageclass.kubernetes.io/is-default-class=true
56
56
fi
57
57
@@ -64,7 +64,7 @@ kubectl_bin apply \
64
64
-f " ${conf_dir} /client.yml"
65
65
66
66
log " creating PSMDB cluster ${cluster} "
67
- if [[ $EKS == 1 || -n ${OPENSHIFT} ]]; then
67
+ if [[ $GKE != 1 ]]; then
68
68
nfs_ip=$( kubectl_bin -n storage get svc nfs-service -o jsonpath={.spec.clusterIP})
69
69
sed " s/nfs-service.storage.svc.cluster.local/${nfs_ip} /g" ${test_dir} /conf/${cluster} .yaml \
70
70
| kubectl_bin apply -f -
75
75
log ' wait for all 3 pods to start'
76
76
wait_for_running ${cluster} -rs0 3
77
77
78
- if [[ $EKS -ne 1 && -z ${OPENSHIFT} ]]; then
78
+ if [[ $GKE == 1 ]]; then
79
79
log ' checking if statefulset created with expected config'
80
80
compare_kubectl statefulset/${cluster} -rs0
81
81
fi
You can’t perform that action at this time.
0 commit comments