Skip to content

Revert "Add sds_name into gateway config."#777

Closed
rshriram wants to merge 3 commits intorelease-1.1from
revert-772-release-1.1
Closed

Revert "Add sds_name into gateway config."#777
rshriram wants to merge 3 commits intorelease-1.1from
revert-772-release-1.1

Conversation

@rshriram
Copy link
Copy Markdown
Member

Reverts #772

This change had several implications that were not fully considered. The servers on a gateway are merged. Server hosts can be of ns/* format or just *.

On an API level, asking for both the certificates and some SDS name does not provide an indication of which one will be used. One could specify arbitrary cert paths and soem valid SDS name or vice versa, making it hard to reason about the system behavior.

The right design should be to use the port name.gatewayname.namespace as the sds name in code, thus requiring no user input in the API. Or atleast a oneOf sdsName and certs so that the user can be explicit about the use of SDS, along with a constraint that SDS names must be unique across all servers in the system.

@istio-testing
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rshriram

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

The pull request process is described here

Details 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

@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 29, 2019
@rshriram rshriram requested review from JimmyCYJ and wenchenglu and removed request for frankbu and kyessenov January 29, 2019 19:14
@costinm
Copy link
Copy Markdown
Contributor

costinm commented Jan 29, 2019 via email

@JimmyCYJ
Copy link
Copy Markdown
Member

cc @myidpt

@rshriram rshriram closed this Jan 29, 2019
@rshriram rshriram deleted the revert-772-release-1.1 branch January 31, 2019 22:18
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. review/done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants