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

Fixes tolerations not working #4315

Merged
merged 17 commits into from
Sep 23, 2024

Conversation

missylbytes
Copy link
Contributor

@missylbytes missylbytes commented Sep 13, 2024

Changes proposed in this PR

How I've tested this PR

How I expect reviewers to test this PR

Same as above

Checklist

@missylbytes missylbytes changed the title Fixes annotations not working, pushing to test bats tests Fixes tolerations not working, pushing to test bats tests Sep 13, 2024
@missylbytes missylbytes marked this pull request as ready for review September 16, 2024 19:17
@missylbytes
Copy link
Contributor Author

Note: Still working on bats, they pass locally (well technically right now I have them intentionally failing to figure out the jq parsing issue).

@missylbytes missylbytes changed the title Fixes tolerations not working, pushing to test bats tests Fixes tolerations not working Sep 19, 2024
@missylbytes missylbytes requested review from a team, NiniOak and xwa153 and removed request for a team September 20, 2024 15:53

local actual=$(echo "$spec" | jq '.[17]')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was already tested on line 90

local actual=$(echo "$spec" | jq '.[13]')
[ "${actual}" = "\"foo: bar\"" ]

local actual=$(echo "$spec" | jq '.[14] | ."-tolerations=- key"')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tolerations were moved to their own test

@missylbytes missylbytes added backport/1.6.x Changes are backported to 1.6 backport/1.2.x This release branch is no longer active. backport/1.1.x Backport to release/1.1.x branch and removed backport/1.2.x This release branch is no longer active. labels Sep 23, 2024
Copy link
Member

@jm96441n jm96441n left a comment

Choose a reason for hiding this comment

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

LGTM! thanks for cleaning up those other bats tests

@missylbytes missylbytes merged commit 9cd2edf into main Sep 23, 2024
58 of 59 checks passed
@missylbytes missylbytes deleted the net-10843-cannot-add-tolerations-to-apigateway branch September 23, 2024 18:42
@missylbytes missylbytes removed the backport/1.1.x Backport to release/1.1.x branch label Sep 23, 2024
@missylbytes
Copy link
Contributor Author

missylbytes commented Sep 23, 2024

Removed the 1.1.x backport label as the gateway-resources-job did not exist at that time.

@missylbytes missylbytes added the backport/1.3.x This release branch is no longer active. label Sep 23, 2024
missylbytes pushed a commit that referenced this pull request Sep 24, 2024
Fixes tolerations not working for API Gateways (#4315)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.3.x This release branch is no longer active. backport/1.4.x backport/1.5.x backport/1.6.x Changes are backported to 1.6
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants