Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 95 additions & 42 deletions networking/v1alpha3/gateway.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions networking/v1alpha3/gateway.proto
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,13 @@ message Server {
// Optional: If specified, only support the specified cipher list.
// Otherwise default to the default cipher list supported by Envoy.
repeated string cipher_suites = 9;

// Optional: If specified, the gateway controllers (with SDS enabled)
// use the specified name as the SDS secret config name to call the SDS
// server, to retrieve the key and certificates. Otherwise, the gateway
// controllers (with SDS enabled) use the first value in the hosts as
// the SDS secret config name to call the SDS server.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I dont think you should use the first value in hosts. Thats very arbitrary and could end up fetching someone else's secret. There is no mandate for the hosts in a gateway to be unique.

Second, this API is very adhoc. How does this work with the certificates that the end user specifies? Do they work together or is there some other magic behind the scenes ? The agreement earlier was to make this a oneOf such that the user either specifies the certs or the secret name. Not both. And certainly not this gratuitous default of picking the first host.

Please fix this before implementing it.

string sds_name = 10;
}

// Set of TLS related options that govern the server's behavior. Use
Expand Down
12 changes: 12 additions & 0 deletions networking/v1alpha3/istio.networking.v1alpha3.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3302,6 +3302,11 @@
"name": "cipher_suites",
"type": "string",
"is_repeated": true
},
{
"id": 10,
"name": "sds_name",
"type": "string"
}
]
}
Expand Down
25 changes: 16 additions & 9 deletions python/istio_api/networking/v1alpha3/gateway_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.