Skip to content

DRIVERS-2945 AWS EKS Pod Identity #655

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

Merged
merged 39 commits into from
Jun 5, 2025

Conversation

blink1073
Copy link
Member

No description provided.

["bash", HERE / "lib" / "eks-pod-teardown.sh", name], cwd=HERE / "lib"
)

return dict()
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the purpose of this return value?

Copy link
Member Author

Choose a reason for hiding this comment

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

It has to be a dict, with the values that will get exposed in test-env.sh. In this case no variables are needed.

EKS_DIR="../../k8s/eks"

cat <<EOF >> $EKS_DIR/secrets-export.sh
export EKS_CLUSTER_NAME=$EKS_CLUSTER_NAME
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the required setting of these variables be documented in the README?

Copy link
Member Author

Choose a reason for hiding this comment

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

Will do

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, no, this is set automatically by aws_setup.py. The only thing we need is PROJECT_DIRECTORY, which is covered already.

@@ -8,8 +8,8 @@ set -eu
SCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})
. $SCRIPT_DIR/handle-paths.sh

NAME=$1
if [ -z "$NAME" ]; then
_NAME=$1
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these name changes necessary for this PR, or can they be moved into a separate cleanup PR?

Copy link
Member Author

Choose a reason for hiding this comment

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

They were needed, since $NAME was overriding the parent environment.

@blink1073 blink1073 requested a review from NoahStapp June 5, 2025 14:28
@blink1073 blink1073 merged commit 9218cfd into mongodb-labs:master Jun 5, 2025
71 of 73 checks passed
@blink1073 blink1073 deleted the DRIVERS-2945 branch June 5, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants