-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Allow verify-install to work if cluster has managedField enabled (default in K8s 1.18) #26308
Conversation
I grep-ed
|
@knight42 The problem is that we use gogo proto code in a way that chokes on Kubernetes time. We don't even need to use protobuf code at all. We should be treating IOP like the other Istio CRs.
|
@esnible I don't know what the implementation is, maybe I am overcautious, but if you decide to leverage |
Adding a |
Hi guys, any update on this? I'm trying to install 1.7.4 on k8 1.18.0 but I'm totally unable do deploy IstioOperator configuration? Any workaround other than waiting for this fix? |
@esnible sorry to bother you, but is there any chance to see this merged and released in 1.7.5? I don't know which "other PR" are you referring to solve this problem, but it's totally blocking any custom deploy on k8s 1.18. |
…ith -f. Relax deployment counting
ac7874b
to
60d4be2
Compare
|
||
// gogoWorkaround prepares an unstructed for github.com/gogo/protobuf's Unmarshal(). That method cannot | ||
// unmarshal Kubernetes time.Time. | ||
func gogoWorkaround(un *unstructured.Unstructured) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific reason to name it gogoWorkaround
? The function doesn't do anything related to gogo
.
If I recall correctly, @sdake was working on removing gogo related stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I call it that because it is a flaw in gogo's unmarshall, at least the last time I checked.
@esnible Does it make sense to refactor the same mentioned in #26308 (comment) ? I think we should give it a try #24819 (comment) |
/test integ-ipv6-k8s-tests_istio |
@esnible: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Resolves #25688
Istioctl couldn't parse the on-cluster IstioOperator, because of a time field inside a
managedField
. I have only seen this on K8s 1.18.)Also:
istioctl install
is counted, not just core control plane.