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

Support define configscope for k8s service #10598

Merged
merged 4 commits into from
Dec 31, 2018

Conversation

hzxuzhonghu
Copy link
Member

@hzxuzhonghu hzxuzhonghu commented Dec 20, 2018

Support define Service configScope by annotation "networking.istio.io/configScope"

// ServiceScopeLabel configs the scope the service visible to.
// "PUBLIC" which is the default, indicates it is reachable within the mesh
// "PRIVATE" indicates it is reachable within its namespace
ServiceScopeLabel = "istio-config-scope"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alternate choice is to set this in annotation, any suggestion?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer annotations. Other parts of istio use annotations. The availability zone thing should also be using annotations (not to mention its incorrect after your recent work on using regions, zones, etc..).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, will update

Copy link
Member

@rshriram rshriram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@istio-testing
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu, rshriram

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@istio-testing istio-testing merged commit fe94f7f into istio:release-1.1 Dec 31, 2018
@hzxuzhonghu hzxuzhonghu deleted the k8s-svc-configscope branch January 2, 2019 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants