From 5c4d2a4e3bf1b1db1cf923ee5af7e2c573c9375d Mon Sep 17 00:00:00 2001 From: Natalia Marukovich Date: Fri, 10 Jan 2025 17:08:41 +0100 Subject: [PATCH] K8SPSMDB-921 fix IRSA test --- e2e-tests/demand-backup-eks-credentials-irsa/run | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e-tests/demand-backup-eks-credentials-irsa/run b/e2e-tests/demand-backup-eks-credentials-irsa/run index d9c79bcf4..3284475ac 100755 --- a/e2e-tests/demand-backup-eks-credentials-irsa/run +++ b/e2e-tests/demand-backup-eks-credentials-irsa/run @@ -66,17 +66,17 @@ compare_kubectl statefulset/$cluster-rs0 desc "update service accounts for operator and default (our cluster uses this one)" -kubectl_bin annotate serviceaccount default \ +kubectl_bin annotate serviceaccount default \ eks.amazonaws.com/role-arn="$role_arn" \ --overwrite -kubectl_bin annotate serviceaccount percona-server-mongodb-operator \ +kubectl_bin ${OPERATOR_NS:+-n $OPERATOR_NS} annotate serviceaccount percona-server-mongodb-operator \ eks.amazonaws.com/role-arn="$role_arn" \ --overwrite desc "restart operator and cluster" operator_pod=$(get_operator_pod) -kubectl_bin delete pod $operator_pod +kubectl_bin ${OPERATOR_NS:+-n $OPERATOR_NS} delete pod $operator_pod kubectl_bin delete pod "$cluster-rs0-0" kubectl_bin delete pod "$cluster-rs0-1"