Freddy
7c3e9cd862
Hash namespace+proxy ID when creating socket path ( #17204 )
...
UNIX domain socket paths are limited to 104-108 characters, depending on
the OS. This limit was quite easy to exceed when testing the feature on
Kubernetes, due to how proxy IDs encode the Pod ID eg:
metrics-collector-59467bcb9b-fkkzl-hcp-metrics-collector-sidecar-proxy
To ensure we stay under that character limit this commit makes a
couple changes:
- Use a b64 encoded SHA1 hash of the namespace + proxy ID to create a
short and deterministic socket file name.
- Add validation to proxy registrations and proxy-defaults to enforce a
limit on the socket directory length.
2023-05-09 12:20:26 -06:00
..
2023-04-26 10:57:35 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-04-14 15:42:54 -05:00
2023-03-28 14:39:22 -04:00
2023-04-14 15:42:54 -05:00
2023-03-31 12:36:44 -05:00
2023-04-20 12:40:22 +00:00
2023-03-31 12:36:44 -05:00
2023-03-31 12:36:44 -05:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-04-20 12:16:04 -04:00
2023-04-20 12:16:04 -04:00
2023-04-19 18:16:39 -04:00
2023-04-26 14:53:23 -07:00
2023-04-19 17:54:14 -04:00
2023-04-19 17:54:14 -04:00
2023-04-19 17:54:14 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-04-19 14:45:00 -05:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-04-10 13:20:32 -04:00
2023-04-10 13:20:32 -04:00
2023-04-24 13:21:28 -07:00
2023-04-21 09:18:32 -04:00
2023-04-24 16:22:55 -04:00
2023-05-09 12:20:26 -06:00
2023-05-09 12:20:26 -06:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-04-19 14:45:00 -05:00
2023-03-28 14:39:22 -04:00
2023-03-31 12:36:44 -05:00
2023-03-28 14:39:22 -04:00
2023-04-14 15:42:54 -05:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-04-20 12:16:04 -04:00
2023-04-20 12:16:04 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-04-24 13:21:28 -07:00
2023-04-24 13:21:28 -07:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-04-20 12:16:04 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-05-09 12:20:26 -06:00
2023-04-26 15:59:48 -07:00
2023-05-09 12:20:26 -06:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00
2023-03-28 14:39:22 -04:00