ci: fix ci test encryption-pvc-kms-vault-token-auth
we need to wait for the rgw pod to be delete and not
only the cephobjectsore, sometime the pod could be in
terminating state. Also, in some place it require proper
command to wait for pod to be ready/delete and get the
pod name only.
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 70f29be748)
This commit is contained in:
1 parent
483b15e238
commit
20f962fc00
2 files changed
+5
-1
No files matched your search
@@ -972,6 +972,8 @@ jobs:
|
||||
kubectl delete -f tests/manifests/test-object.yaml
|
||||
yq write -i tests/manifests/test-object.yaml "spec.security.kms.connectionDetails.VAULT_SECRET_ENGINE" transit
|
||||
timeout 120 bash -c 'while kubectl -n rook-ceph get cephobjectstore my-store; do echo "waiting for objectstore my-store to delete"; sleep 5; done'
|
||||
echo "wait for rgw pod to be deleted"
|
||||
kubectl wait --for=delete pod -l app=rook-ceph-rgw -n rook-ceph --timeout=100s
|
||||
kubectl create -f tests/manifests/test-object.yaml
|
||||
tests/scripts/validate_cluster.sh rgw
|
||||
tests/scripts/deploy-validate-vault.sh validate_rgw
|
||||
|
||||
Reference in new issue
Block a user