kubectl deployer doesn't offer a way to skip validation #3222
Labels
area/deploy
deploy/kubectl
good first issue
Good for newcomers
kind/bug
Something isn't working
priority/p2
May take a couple of releases
Expected behavior
I am trying to get out of a weird state which I believe is related to #1737. I expect
skaffold delete
to clean up my deployment.Actual behavior
When I attempt to run
skaffold delete
I get an error:I am using cert manager, which requires me to use
--validate=false
since I am not yet on kubernetes 1.15. Unfortunately, skaffold does not allow me an option to do this.If I add
--validate=false
todeploy.kubectl.flags.global
I get past this validation error, but thekubectl delete
fails because--validate
is not a valid flag:If I move the
--validate
flag from the global flags to theapply:
section the validation error comes back because skaffold is running akubectl create --dry-run
without the--validate=false
flag.Should skaffold use the
deploy.kubectl.flags.apply
forkubectl create
as well?Information
v1.0.0
The text was updated successfully, but these errors were encountered: