mirror of https://github.com/grpc/grpc.git
xDS interop: Handle the edge case when rand deployment_id is all nums (#30901)
Fun edge case: when `rand_string()` happen to generate numbers only, yaml interprets `deployment_id` label value as an integer, but k8s expects label values to be strings. K8s responds with a barely readable 400 Bad Request error: `ReadString: expects \" or n, but found 9, error found in #10 byte of ...|ent_id`. Prepending deployment name forces deployment_id into a string, as well as it's just a better description.pull/30904/head
parent
bc5db5395a
commit
326a88a9a2
1 changed files with 18 additions and 2 deletions
Loading…
Reference in new issue