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

Replace use of deprecated --prune-whitelist kubectl flag #10215

Open
adleong opened this issue Jan 27, 2023 · 3 comments
Open

Replace use of deprecated --prune-whitelist kubectl flag #10215

adleong opened this issue Jan 27, 2023 · 3 comments

Comments

@adleong
Copy link
Member

adleong commented Jan 27, 2023

What problem are you trying to solve?

As of k8s 1.26 the kubectl flag --prune-whitelist has been deprecated and --prune-allowlist has been created to replace it. We reference this flag in examples and instructions which are output from the CLI.

How should the problem be solved?

We should update these references of --prune-whitelist to --prune-allowlist once our minimum support k8s version is 1.26 or later.

We also use the flag in integration tests should update the usage of this flag once the version of kubectl in the dev image is 1.26 or later.

Any alternatives you've considered?

N/A

How would users interact with this feature?

No response

Would you like to work on this feature?

None

@nikzayn
Copy link

nikzayn commented Feb 14, 2023

I would like to take this up @adleong

@adleong
Copy link
Member Author

adleong commented Feb 14, 2023

Hi @nikzayn! Unfortunately, we cannot make this change until our minimum supported Kubernetes version is 1.26 or greater. It is currently 1.21. So any work on this issue will need to wait, for now.

@nikzayn
Copy link

nikzayn commented Feb 14, 2023

Sure thing @adleong. Thanks for updating. I will look out for some other issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants