envoyproxy / envoyproxy/gateway

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

Open
#4,954 4 comments 0 reactions 0 assignees View on GitHub
stale triage
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

*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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.