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

s/whitelist/allowlist #940

Merged
merged 2 commits into from
Dec 11, 2023
Merged

s/whitelist/allowlist #940

merged 2 commits into from
Dec 11, 2023

Conversation

timothysmith0609
Copy link
Contributor

@timothysmith0609 timothysmith0609 commented Dec 8, 2023

What are you trying to accomplish with this PR?
Closes #917

How is this accomplished?
global search and replace all whitelist references and change to allowlist

What could go wrong?
From what I understand, --prune-allowlist is only available in 1.26+, so any clusters running older versions will not have access. This necessitates, at the very least, a minor version bump. I've added compatibility code so older k8s versions will still work with the old --prune-whitelist flag

Note: Failing CI is due to flaky tests: I'm slowly rerunning them one-by-one to get 🟢

Copy link
Member

@DazWorrall DazWorrall left a comment

Choose a reason for hiding this comment

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

LGTM

@timothysmith0609 timothysmith0609 merged commit 41a63a8 into main Dec 11, 2023
17 checks passed
@timothysmith0609 timothysmith0609 deleted the tsmith/use-allowlist branch December 11, 2023 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kubectl 1.26 flag changes
2 participants