-
Notifications
You must be signed in to change notification settings - Fork 610
Add subject_alt_names field in ServiceEntry #785
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
Changes from 2 commits
a8d6d78
7492ac6
e53c7d5
bbf383d
ce63c70
6c33e7e
3968507
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -461,4 +461,8 @@ message ServiceEntry { | |
| // the annotation "networking.istio.io/export_to" to a comma-separated list | ||
| // of namespace names. | ||
| repeated string export_to = 7; | ||
|
|
||
| // The reunion of service accounts associated with workloads | ||
| // backing this service | ||
| repeated string service_accounts = 8; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Usual bike-shedding: service account is a k8s term. Technically we can achieve the same by creating a synthetic DestinationRule, but it's getting too complicated.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Makes sense to use the same nomenclature with existing, let me change it.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I changed the name. We need to clarify what is the behavior if the user also configures a DestinationRule for the same service, with a different list of subject_alt_names. Do we want to override or merge? Override may cause auth failures, so merge seems to make more sense. Thoughts? |
||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
It might be helpful to describe what exact form this should take. It came up in the meeting today and I suspect there will be confusion for folks going forward. Would be good to try to make it clear now.
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.
@smawson - For TOC FYI even though this is not a user-visible API change, it affects contract between Pilot and Galley or other service registries
This should be marked $hidden_from_docs for the moment.
For documentation
"The set of service accounts identities allowed for workloads that implement this service. This information is used to enforce secure-naming (link https://istio.io/docs/concepts/security/#secure-naming)"
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.
Done, added also an example with SA in SPIFEE format, ptal.