Skip to content

Commit

Permalink
Do not test for storage status (#426)
Browse files Browse the repository at this point in the history
Not all storage providers honor the storage sizes. GKE and CRC always provisionat least 10Gi and 30Gi respectively.
  • Loading branch information
razvan authored Nov 16, 2023
1 parent 934beea commit f3d18e1
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tests/templates/kuttl/smoke/30-assert.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -81,33 +81,39 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: hdd-hdfs-datanode-default-0
spec:
resources:
requests:
storage: 2Gi
status:
accessModes:
- ReadWriteOnce
capacity:
storage: 2Gi
phase: Bound
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: hdd-1-hdfs-datanode-default-0
spec:
resources:
requests:
storage: 2Gi
status:
accessModes:
- ReadWriteOnce
capacity:
storage: 2Gi
phase: Bound
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ssd-hdfs-datanode-default-0
spec:
resources:
requests:
storage: 1Gi
status:
accessModes:
- ReadWriteOnce
capacity:
storage: 1Gi
phase: Bound
{% endif %}
---
Expand Down

0 comments on commit f3d18e1

Please sign in to comment.