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
6.8 KiB
6.8 KiB