使用 cert-manager 在 k8s 中运行容器以颁发 Letsencrypt 证书。客户端和容器之间的安全性很好,所以我不需要在客户端和服务器容器之间使用任何进一步的 TLS 代码 - 对吧?
我需要curl -H "Host:
在 grpc-dart 中设置,但我只能通过 grpc-dart 代码中的安全连接来完成:
final channel = new ClientChannel('mydomain.com', // localhost
port: 80,
options: const ChannelOptions(
credentials: const ChannelCredentials.secure(authority: "some header"))
);
无论如何,我不想使用比 k8s 和 cert-manager 更多的 TLS 吗?
谢谢