Skip to content

Conversation

@richardwxn
Copy link
Contributor

@richardwxn richardwxn commented Jan 9, 2020

Use custom type for k8s intorstring for operator with custom marshaller/unmarshaller, otherwise the unmarshaling would not work for targetport.

This change together with the operator PR would enable setting k8s service specs for IstioOperatorSpec

@richardwxn richardwxn requested a review from ostromart January 9, 2020 02:59
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Jan 9, 2020
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 9, 2020
@howardjohn
Copy link
Member

why doesn't it work? if I'm remembering correctly there was some bug with this that for fixed, but may be different can you give more details

@rshriram rshriram requested a review from howardjohn January 10, 2020 02:56
@richardwxn
Copy link
Contributor Author

@howardjohn the k8s intorstring type has custom unmarshaller defined but not called when unmarshalling the k8s service type for jsobpb, so we need to mirror that type and its unmarshaller. I was trying to address that in previous operator PR: istio/operator#711. But since now we are using the new API in istio/api so I need to make the change here

@richardwxn
Copy link
Contributor Author

@howardjohn @ostromart @linsun Can you PTAL? This is blocking another operator fix: istio/operator#711

@istio-testing istio-testing merged commit 9fcdbdc into istio:master Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants