-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Milestone
Description
When trying the static example config from here:
https://www.envoyproxy.io/docs/envoy/latest/configuration/overview/v2_overview#static
Envoy fails to load:
[2018-08-04 18:27:30.258][24307][critical][main] external/envoy/source/server/server.cc:78] error initializing configuration 'frontcfg.yaml': Proto constraint validation failed (BootstrapValidationError.StaticResources: ["embedded message failed validation"] | caused by StaticResourcesValidationError.Clusters[i]: ["embedded message failed validation"] | caused by ClusterValidationError.LoadAssignment: ["embedded message failed validation"] | caused by ClusterLoadAssignmentValidationError.ClusterName: ["value length must be at least " '\x01' " bytes"]): static_resources {
The source of this is the validation here:
envoy/api/envoy/api/v2/eds.proto
Line 47 in 6b65dbe
| string cluster_name = 1 [(validate.rules).string.min_bytes = 1]; |
And indeed when the issue was solved when the cluster name was added.
They way I understand it, we can either (1)remove the requirement for validation, or (2) fix the docs and add cluster name. Thoughts?
Reactions are currently unavailable