-
Notifications
You must be signed in to change notification settings - Fork 114
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
Error parsing unquoted timestamp in ConfigGroup #501
Comments
Thanks for the report! This seems like a bug in either their our our YAML parser. I do wonder how many problems like this there are... cc @lblackstone |
I think we should serialize all values in The sequence of events that happens right now is: this gets parsed by |
Actually, looking at the Kubernetes data structures in client-go, it seems like they only have |
The fields of the Kubernetes core resource types are tagged with Go's `"json:"` serialization metadata. They expect things like JavaScript's `Date` to be serialized as string. Fixes #501.
The fields of the Kubernetes core resource types are tagged with Go's `"json:"` serialization metadata. They expect things like JavaScript's `Date` to be serialized as string. Fixes #501.
The fields of the Kubernetes core resource types are tagged with Go's `"json:"` serialization metadata. They expect things like JavaScript's `Date` to be serialized as string. Fixes #501.
The fields of the Kubernetes core resource types are tagged with Go's `"json:"` serialization metadata. They expect things like JavaScript's `Date` to be serialized as string. Fixes #501.
Trying to add a YAML file as ConfigGroup like this:
with
t.yaml
's content being:results in an error:
kubectl apply -f t.yaml
succeeds, also if the date at the error position is double-quoted ("2020-03-25T13:37:11Z"
) it succeeds.The text was updated successfully, but these errors were encountered: