-
Notifications
You must be signed in to change notification settings - Fork 70
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
Conversation
["bash", HERE / "lib" / "eks-pod-teardown.sh", name], cwd=HERE / "lib" | ||
) | ||
|
||
return dict() |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Co-authored-by: Noah Stapp <[email protected]>
No description provided.