Skip to content

Commit

Permalink
Add none strategy and clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
julianvmodesto committed Dec 11, 2019
1 parent f7a029b commit 2dab3ae
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions keps/sig-api-machinery/0015-dry-run.md
Original file line number Diff line number Diff line change
@@ -158,17 +158,20 @@ For the `kubectl` client integration with server-side dry-run, we will pass
the `dryRun` query parameter by reading the user's intent from a flag.

For beta, we use `--server-dry-run` for `kubectl apply` to exercise
server-side apply. This flag will be deprecated next release and removed in 2 releases.
server-side apply. This flag will be deprecated next release, then removed in 2 releases.

For GA, we'll use the existing `--dry-run` flag available on `kubectl apply`.
For GA, we'll use the existing `--dry-run` flag available on `kubectl apply`.j

Currently, the `--dry-run` flag is a boolean for subcommands including
`kubectl apply` and `kubectl create`.

We'll extend the flag to accept strings for new options `client` and `server`
for selecting client-side and server-side behavior. For backwards compatibility,
we'll continue to default to `--dry-run=true` as
the default, which is equivalent to `--dry-run=client`.
We'll extend the flag to accept strings for new options
for selecting client-side and server-side behavior: `client`, `server`, and
`none`.

The boolean values for `--dry-run` will be deprecated and removed in 2 releases.
For backwards compatibility, we'll continue to default the value for `--dry-run`
to `--dry-run=client`, which is equivalent to the existing behavior for
`--dry-run=true`.

The boolean values for `--dry-run` will be deprecated next release, then removed in 2 releases.

0 comments on commit 2dab3ae

Please sign in to comment.