Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPSMDB-921 fix IRSA test #1783

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions e2e-tests/demand-backup-eks-credentials-irsa/run
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
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"
Expand Down
Loading