envoyproxy / envoyproxy/gateway

create-cluster.sh produces error "field dnsSearch not found in type v1alpha4.Networking"

Offen
#4,954 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
stale triage
Vorherrschende Sprache
Go
Sterne
3k
Forks
864
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
140

Beschreibung

*Description*:

The create-cluster.sh includes a configuration item (dnsSearch) that doesn't exist for the Cluster apiVersion.
https://github.com/envoyproxy/gateway/blob/main/tools/hack/create-cluster.sh#L25-L27

*Repro steps*:

create-cluster.sh will fail to create a cluster, with the output:

> ERROR: failed to create cluster: unable to decode config: yaml: unmarshal errors:
> line 8: field dnsSearch not found in type v1alpha4.Networking
>

Removing `dnsSearch` from Cluster.networking fixes it.

*Environment*:

main branch

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.