-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrading old config fails with unsupported type error #1585
Labels
Comments
I think this has actually been broken for a long time. Golang's json package only supports maps with string keys, so the skaffold/pkg/skaffold/schema/v1beta3/upgrade.go Lines 68 to 72 in 6a5b206
|
corneliusweig
pushed a commit
to corneliusweig/skaffold
that referenced
this issue
Feb 12, 2019
…1585) Helm overrides have type `map[string]interface{}` which cannot be serialized to json. Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com> #####
corneliusweig
pushed a commit
to corneliusweig/skaffold
that referenced
this issue
Feb 12, 2019
…tainerTools#1585) Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com>
corneliusweig
pushed a commit
to corneliusweig/skaffold
that referenced
this issue
Feb 12, 2019
…rrides (GoogleContainerTools#1585) Helm overrides have type `map[string]interface{}` which cannot be serialized to json. Implement a custom serialization which includes the overrides as a yaml-string in json. This implementation is forwards-compatible, so that it will automatically work for future apiVersions. Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com>
corneliusweig
pushed a commit
to corneliusweig/skaffold
that referenced
this issue
Feb 12, 2019
Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com>
corneliusweig
pushed a commit
to corneliusweig/skaffold
that referenced
this issue
Mar 10, 2019
…1585) Helm overrides have type `map[string]interface{}` which cannot be serialized to json. Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com> #####
corneliusweig
pushed a commit
to corneliusweig/skaffold
that referenced
this issue
Mar 10, 2019
…tainerTools#1585) Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com>
corneliusweig
pushed a commit
to corneliusweig/skaffold
that referenced
this issue
Mar 10, 2019
…rrides (GoogleContainerTools#1585) Helm overrides have type `map[string]interface{}` which cannot be serialized to json. Implement a custom serialization which includes the overrides as a yaml-string in json. This implementation is forwards-compatible, so that it will automatically work for future apiVersions. Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com>
corneliusweig
pushed a commit
to corneliusweig/skaffold
that referenced
this issue
Mar 10, 2019
Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com>
balopat
pushed a commit
that referenced
this issue
Mar 15, 2019
* config upgrade: handle helm overrides manually (#1585) Helm overrides have type `map[string]interface{}` which cannot be serialized to json. Implement a custom serialization which includes the overrides as a yaml-string in json. This implementation is forwards-compatible, so that it will automatically work for future apiVersions. Signed-off-by: Cornelius Weig <cornelius.weig@tngtech.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Expected behavior
my file should correctly parse and update
Actual behavior
parsing fails but file is valid and works if we just manually change the apiVersion.
Information
Steps to reproduce the behavior
run skaffold fix and the following is printed:
but if I simply update the
apiVersion
to beta4 it works fine and skaffold is totally happy actually parsing the configThe text was updated successfully, but these errors were encountered: