Skip to content
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

use custom type for k8s intorstring for operator #1229

Merged
merged 1 commit into from
Jan 17, 2020

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

@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

@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