You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened?
Kubernetes manifests that works with 4.7.0. don't work with 4.8.0 anymore
Error Applying manifests with kubectl Error deploying mysql: failed to unmarshal manifest: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context Please make sure kubectl applydoes work locally with manifestmysql-service.yaml``
kubectl apply works with the given manifests without problems.
Using devspace 4.7.0 also works
What did you expect to happen instead?
Manifest should be applied
How can we reproduce the bug? (as minimally and precisely as possible)
devspace yaml
The text was updated successfully, but these errors were encountered:
feguiguren
changed the title
4.8.0: error converting YAML to JSON: yaml but it works with 4.7.0
error converting YAML to JSON: yaml works on 4.7.0 but does not work in 4.8.0
Mar 27, 2020
@feguiguren thanks for reporting! The issue is kubectl v1.18 that has deprecated the flag --dry-run we are using, and devspace tries to parse the error message that kubectl spits out which results in the above error. I'll fix this for the next version!
What happened?
Kubernetes manifests that works with 4.7.0. don't work with 4.8.0 anymore
Error
Applying manifests with kubectl Error deploying mysql: failed to unmarshal manifest: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context Please make sure
kubectl applydoes work locally with manifest
mysql-service.yaml``kubectl apply works with the given manifests without problems.
Using devspace 4.7.0 also works
What did you expect to happen instead?
Manifest should be applied
How can we reproduce the bug? (as minimally and precisely as possible)
devspace yaml
mysql-service.yaml
Local Environment:
Kubernetes Cluster:
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-26T06:16:15Z", GoVersion:"go1.14", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.10-eks-bac369", GitCommit:"bac3690554985327ae4d13e42169e8b1c2f37226", GitTreeState:"clean", BuildDate:"2020-02-26T01:12:54Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Anything else we need to know?
/kind bug
The text was updated successfully, but these errors were encountered: