Skip to content

Commit

Permalink
fix(rook): Tidy health check
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn committed Feb 25, 2025
1 parent 4507982 commit e28c9b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kubernetes/main/apps/rook-ceph/rook-ceph/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
- apiVersion: ceph.rook.io/v1
kind: CephCluster
failed: status.ceph.health == 'HEALTH_ERR'
current: status.ceph.health == 'HEALTH_OK' || status.ceph.health == 'HEALTH_WARN'
current: status.ceph.health in ['HEALTH_OK', 'HEALTH_WARN']
prune: true
interval: 30m
timeout: 5m
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/staging/apps/rook-ceph/rook-ceph/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
- apiVersion: ceph.rook.io/v1
kind: CephCluster
failed: status.ceph.health == 'HEALTH_ERR'
current: status.ceph.health == 'HEALTH_OK' || status.ceph.health == 'HEALTH_WARN'
current: status.ceph.health in ['HEALTH_OK', 'HEALTH_WARN']
prune: true
interval: 30m
timeout: 30m
Expand Down

0 comments on commit e28c9b3

Please sign in to comment.