Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue a010d3b195 Merge pull request #34028 from juanvallejo/jvallejo/add-dry-run-flag-kubectl-apply
Automatic merge from submit-queue

add --dry-run flag to `kubectl apply, kubectl create`

Partially addresses https://github.com/kubernetes/kubernetes/issues/11488

**Release note**:
```release-note
release-note-none
```

Related StackOverflow:
http://stackoverflow.com/questions/38824409/validate-openshift-objects-defined-in-yaml-before-actually-applying-or-executing

This patch adds a `--dry-run` flag to the `apply` command in order to
allow validation of objects, without patching or creating them. If a
`--dry-run` flag is present and no validation errors are found, the
command will exit before "configuring" or creating any objects.

@ncdc @fabianofranz
2016-10-15 05:30:40 -07:00
..
2016-10-11 23:28:59 -04:00
2016-10-14 08:35:32 -04:00
2016-10-14 08:35:32 -04:00
2016-10-13 20:57:14 +08:00
2016-10-14 11:17:03 +10:00
2016-08-23 14:51:56 +08:00
2016-10-14 14:54:57 -07:00
2016-07-08 13:53:09 +02:00
2016-07-08 13:53:09 +02:00
2016-08-20 15:58:10 +02:00