-
Notifications
You must be signed in to change notification settings - Fork 81
add service to k8s spec #711
base: master
Are you sure you want to change the base?
Conversation
cmd/mesh/testdata/manifest-generate/output/ingressgateway_k8s_settings.yaml
Outdated
Show resolved
Hide resolved
enabled: true | ||
k8s: | ||
service: | ||
externalTrafficPolicy: Local |
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.
Some more complex example would be good. For example, adding to list of ports, which I'm actually not sure is going to work with this change...
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.
@ostromart I added the mirror of k8s service type so that unmarshalling can work with serviceport. PTAL
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.
lgtm, but could you hold off merging till #713 goes in? it will be easier to address any merge changes here rather than there.
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.
LGTM if the test mentioned by Martin is added.
need to wait for the change in api repo: istio/api#1229 |
a8e0157
to
c829065
Compare
@richardwxn: The following tests 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. |
@richardwxn please move this pr to istio/istio. |
@richardwxn: PR needs rebase. 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. |
the service part was added to k8s proto under ISCP spec before. however it is not added to tranlationConfig so it is not doing anything if we add the settings under component.k8s.service