-
Notifications
You must be signed in to change notification settings - Fork 927
Fix/aws secrets manager through container #2618
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
base: master
Are you sure you want to change the base?
Fix/aws secrets manager through container #2618
Conversation
SecretSpec.secret_spec_from_str(secret_spec_str_or_dict, role=role) | ||
) | ||
elif isinstance(secret_spec_str_or_dict, dict): | ||
# If the dict is an ECS-style container-start secret spec, skip runtime fetching. |
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.
this would break workloads running on EKS
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.
Removed!
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.
Hi @savingoyal, just checking if this works?
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.
Bump!
Right now, the secrets decorator injects the secrets into an AWS Batch job after the container has been set up. However, there may be times when secrets are necessary at the container setup entrypoint. This PR allows a user to specify a name and secrets ARN so that these can be passed into the job configuration at construction time in the form of
{"name": NAME, "value_from": SECRETS_ARN}
, so that the right fields can be set like in the AWS documentation.