On latest master I run this: ``` console [root@localhost rails-ex]# oc edit bc/rails-postgresql-example -o json ``` After I add `incremental: true` to strategy, I get this error: ``` A copy of your changes has been stored to "/tmp/kubectl-edit-7nm06.json" error: no kind "BuildConfig" is registered for version "pre012" ``` @kargakis (rebase issue?)
Activity
mfojtik commentedon Feb 6, 2016
Also if I omit the
-o jsonoption and get yaml in VIM, after saving I get:mfojtik commentedon Feb 6, 2016
And another one ;-)
(note that I do not update the apiVersion, just add incremental to strategy).
mfojtik commentedon Feb 6, 2016
cc @deads2k @smarterclayton seems like something that broken after rebase.
deads2k commentedon Feb 8, 2016
I'll take a look. Can you include the output of what you have in
editand also note whether you can do anoc updatewith it?dgoodwin commentedon Feb 8, 2016
Hitting this one too with oc edit scc/restricted, change a field (not apiVersion), and the result is: "error: apiVersion should not be changed"
0xmichalis commentedon Feb 8, 2016
@dgoodwin @mfojtik syntax/validation errors are not retried by
kubectl. This is fixed in #6959