Kafka Connect: augment network policy to allow (externally managed) ingress traffic #10931
-
Hi, We'd like to do SSL termination in our own ingress controller and send in-cluster traffic from it to the Kafka Connect API service created by the operator. For this purpose, as the operator only supports ingress with TLS pass-through, we were thinking about declaring our own However, for this to work we'd need the Is there any way to add extra rules to the operator-controlled Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There is currently no plan for anything like that as we do not support (or recommend given the lack of security) exposing Connect to the outside. However, you can simply create your own additional network policy with your own name and your own rules to extend the default network policy created by the operator. So I don't think you do not really need it. (Also, please keep in mind that the network policy is created by the operator only when the connector operator is enabled -> in that case, you should also use the Connect REST API only for monitoring tasks as the operator will revert any changes you might make through the REST API.) |
Beta Was this translation helpful? Give feedback.
There is currently no plan for anything like that as we do not support (or recommend given the lack of security) exposing Connect to the outside. However, you can simply create your own additional network policy with your own name and your own rules to extend the default network policy created by the operator. So I don't think you do not really need it.
(Also, please keep in mind that the network policy is created by the operator only when the connector operator is enabled -> in that case, you should also use the Connect REST API only for monitoring tasks as the operator will revert any changes you might make through the REST API.)