envoyproxy / envoyproxy/gateway

When using the GatewayNamespace mode, if you create a Gateway and there is already a Service or Deployment with the same name in the same namespace, the Gateway will be in an abnormal state.

Open
#9,132 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

**If you are reporting *any* crash or *any* potential security issue, *do not*
open an issue in this repo. Please report the issue via emailing
envoy-gateway-security@googlegroups.com where the issue will be triaged appropriately.**

*Description*:
When using the GatewayNamespace mode, if you create a Gateway and there is already a Service or Deployment with the same name in the same namespace, the Gateway will be in an abnormal state.

*Repro steps*:
1. An nginx instance has been created in the default namespace.
2. Create a gateway.
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: nginx
namespace: default
spec:
gatewayClassName: envoy-gateway
listeners:
- name: http
protocol: HTTP
port: 80

>**Note**: If there are privacy concerns, sanitize the data prior to
sharing.

*Environment*:
>Include the environment like gateway version, envoy version and so on.
1.7.2

*Logs*:
>Include the access logs and the Envoy logs.
observed an error {"runner": "infrastructure", "error": "failed to create or update deployment default/nginx: an illegal change in a custom label of EnvoyProxy is detected when updating default/nginx. The custom label config of deployment in EnvoyProxy, which is initiated with the envoy gateway of v1.1 or earlier, is immutable. Please recreate an envoy proxy with a new custom label if you need to change the custom label. This issue won't happen with the envoy proxy resource initialized by the envoygateway v1.2 or later"}

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.