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

Support setting kubectlVersion via piped config #4081

Merged
merged 1 commit into from
Dec 16, 2022
Merged

Conversation

khanhtc1202
Copy link
Member

What this PR does / why we need it:

The priority to determine kubectl version would be:

  • Version setting via application config
  • Version setting via piped config
  • Default version

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

Enable to specify default kubectl version via piped config

@knanao
Copy link
Member

knanao commented Dec 16, 2022

I do think we have discussed supporting such a feature before, but I forgot what makes us happy.
It seems rather inappropriate to make setting that version possible at PlatformProviderKubernetesConfig because it's not related to the destination.

@khanhtc1202
Copy link
Member Author

Well can say that at some places where users don't want config kubectl version on their application configuration and at the same time, they want to use kubectl at a newer version than the piped default version, this change could help, wdyt?

@knanao
Copy link
Member

knanao commented Dec 16, 2022

Right, as you mentions, it's a hassle to specify per the application configuration file.

@khanhtc1202 khanhtc1202 merged commit 654447b into master Dec 16, 2022
@khanhtc1202 khanhtc1202 deleted the version-setting branch December 16, 2022 08:19
@knanao
Copy link
Member

knanao commented Dec 16, 2022

#3484

@khanhtc1202
Copy link
Member Author

#3484

Nice catch, tbh I got this from nghialv directly without checking the issue tracker 😂

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

Successfully merging this pull request may close these issues.

2 participants