Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Support updated kubectl --dry-run values #13

Merged
merged 1 commit into from
Jan 7, 2022
Merged

Conversation

trcado
Copy link
Contributor

@trcado trcado commented Jan 6, 2022

As of kubernetes version 1.23 (PR) the only supported values for the --dry-run flag are none, client, server, with the deprecation of the previous boolean values beginning with version 1.18.

This change adds support for these values and maps the current KDT values accordingly:

  • true -> client
  • false -> none

…tl 1.23+; Add backwards compatibility with existing defaults
@trcado trcado added the change/standard Trivial / minor changes that are low-impact, low risk label Jan 6, 2022
@trcado trcado requested a review from a team as a code owner January 6, 2022 17:53
@trcado trcado requested review from jbharter and removed request for a team January 6, 2022 17:53
@trcado trcado merged commit 7dfc994 into master Jan 7, 2022
@delete-merged-branch delete-merged-branch bot deleted the dry-run-support branch January 7, 2022 17:09
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
change/standard Trivial / minor changes that are low-impact, low risk
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants