File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ spec:
38
38
requests :
39
39
cpu : 2000m
40
40
memory : 3Gi
41
- # volumeMounts:
42
- # - name: skynet-data
43
- # mountPath: '/var/skynet-data'
44
- # readOnly: false
45
- # volumes:
46
- # - name: skynet-data
47
- # persistentVolumeClaim:
48
- # claimName: skynet-workspace
41
+ volumeMounts :
42
+ - name : skynet-data
43
+ mountPath : ' /var/skynet-data'
44
+ readOnly : false
45
+ volumes :
46
+ - name : skynet-data
47
+ persistentVolumeClaim :
48
+ claimName : skynet-workspace
Original file line number Diff line number Diff line change @@ -110,9 +110,9 @@ function fetch_managed_cluster_by_platform() {
110
110
INFO " Validate $platform clusters"
111
111
112
112
clusters=$( oc get managedcluster -o json \
113
- | jq -r ' .items[] | select(.status.clusterClaims | from_entries
113
+ | jq -r ' .items[] | select(( .status.clusterClaims | from_entries
114
114
| select(."platform.open-cluster-management.io"
115
- | contains("' " $platform " ' "))).metadata.name' )
115
+ | contains("' " $platform " ' ")))?) .metadata.name' )
116
116
117
117
check_managed_clusters_readiness " $clusters "
118
118
}
You can’t perform that action at this time.
0 commit comments