Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#347 from cescgina/cleanup_…
Browse files Browse the repository at this point in the history
…galera_pvcs_kuttl

Delete galera pvcs in kuttl test
  • Loading branch information
abays authored Jun 14, 2023
2 parents 3c40594 + fa7ed8b commit 91a9860
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/kuttl/tests/galera-3replicas/02-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ delete:
- apiVersion: core.openstack.org/v1beta1
kind: OpenStackControlPlane
name: openstack
---
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: |
oc delete --ignore-not-found=true -n $NAMESPACE pvc mysql-db-openstack-galera-0 mysql-db-openstack-galera-1 mysql-db-openstack-galera-2

0 comments on commit 91a9860

Please sign in to comment.