-
Notifications
You must be signed in to change notification settings - Fork 33
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
500s in gateway logs after enabling sidecars in authorino & limitador, and STRICT PeerAuthentication #1049
Comments
I was able to get it working locally with some patching of the envoyfilters, though this isn't a viable solution as the filters are maintained by the kuadrant-operator. transport_socket:
name: envoy.transport_sockets.tls
typed_config:
'@type': type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
common_tls_context:
tls_certificate_sds_secret_configs:
- name: default
sds_config:
api_config_source:
api_type: GRPC
grpc_services:
- envoy_grpc:
cluster_name: sds-grpc From chat on slack, this may not be validating certificates as well, so something may be missing. From @guicassolato
Also, quote from @eguzki
|
Closing issue with follow up manual guide in #1054 and RFC for automated way to enable mTLS in Kuadrant/architecture#110 |
After doing a
make local-setup
locally, then following https://docs.kuadrant.io/dev/kuadrant-operator/doc/user-guides/secure-protect-connect/, I got to the point of a working AuthPolicy & RatelimitPolicy.I then enabled mtls (via sidecar injection) in authorino and limitador in an attempt to have encrypted traffic from envoy to/from the kuadrant components.
Here's the cmds I ran.
However, after enabling this, all responses are now 500s.
I bumped up the log level to debug in the gateway, using this cmd:
Here's a snippet of logs
https://gist.github.com/david-martin/90104685603ecab49aad45cf595d2c92
Here's the Pod spec & config_dump of the gateway
https://gist.github.com/david-martin/43fdbbede84df3b156609081a9b6387f
Discussion on slack at https://kubernetes.slack.com/archives/C05J0D0V525/p1732621388340329
At this time it's unclear if the issue is with the envoy filter configuration that kuadrant manages, or something else.
The text was updated successfully, but these errors were encountered: