Skip to content

Commit

Permalink
Use command for depl check
Browse files Browse the repository at this point in the history
  • Loading branch information
eleo007 committed Oct 1, 2024
1 parent 66a31fb commit 483b7cd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions e2e-tests/tests/upgrade-minor/04-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ spec:
singular: perconapgcluster
scope: Namespaced
---
apiVersion: apps/v1
kind: Deployment
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
metadata:
annotations:
deployment.kubernetes.io/revision: "2"
name: percona-postgresql-operator
status:
readyReplicas: 1
name: check-operator-deploy-status
timeout: 45
commands:
- script: kubectl assert exist-enhanced deployment percona-postgresql-operator -n ${OPERATOR_NS:-$NAMESPACE} --field-selector status.readyReplicas=1,status.observedGeneration=2

0 comments on commit 483b7cd

Please sign in to comment.