[BUG] putting secrets into env vars doesn't work with AWS Secrets Manager #6304
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the bug
I'm trying to use the new
env_var
argument forSecret
, but the secret is not placed into any of the environment variables, no matter if I specify this argument or not.Python pkg versions:
Flyte version: 1.15.0
Expected behavior
I would expect that if I get a secret from AWS Secrets Manager, it is placed into an env var if
mount_requirement=Secret.MountType.ENV_VAR
is given and into the specific env var ifenv_var="TEST_ENV"
or similar is given.Additional context to reproduce
This doesn't work:
TEST_ENV
is missing. If I removeenv_var="TEST_ENV"
, the secret is not placed into any of the env vars of that task either.This in contrast works:
I'm using
in the helm values.yaml.
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: