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

fix: ECS_FARGATE activating when anything is placed in the value. Ins… #31102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gala-bsmith
Copy link

…tead only on true.

What does this PR do?

Addresses the issue in: #31101

Motivation

Ran into an issue where putting anything, including false, in the variable of ECS_FARGATE results into it is a ecs fargate agent... That's not what this should be.

Describe how to test/QA your changes

Run without the environment variable ECS_FARGATE = No Fargate.
Run with the environment variable ECS_FARGATE empty = No Fargate.
Run with the environment variable ECS_FARGATE "true" = Fargate.
Run with the environment variable ECS_FARGATE "false" = No Fargate.
Run with the environment variable ECS_FARGATE "foo" = No Fargate.

Possible Drawbacks / Trade-offs

This may be a breaking change, due to anyone that was using the ECS_FARGATE may still work, that is only if they put the string true. Otherwise, it may shutdown a lot of FARGATE services due to the change.

Additional Notes

None.

@gala-bsmith gala-bsmith requested review from a team as code owners November 14, 2024 19:21
@bits-bot
Copy link
Collaborator

bits-bot commented Nov 14, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added community team/container-platform The Container Platform Team labels Nov 14, 2024
@clamoriniere clamoriniere added team/containers and removed team/container-platform The Container Platform Team labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants