Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.14] Author Backport of 28896 (k8s ingress & gateway api: qualify envoy clusters and their references) #29218

Merged

Conversation

mhofstetter
Copy link
Member

v1.14 author backport of #28896

Currently, the Clusters resources in the CiliumEnvoyConfig aren't qualified
with the namespace and name of the CEC itself.

This leads to issues when updating the CiliumEnvoyConfigs due to changes in
the K8s Ingress & Gateway API resources. If multiple resources are referencing
the same K8s Service, the Cluster resource gets deleted if one of these K8s
Ingress or Gateway resources gets deleted - and therefore breaks the other
resources.

With this commit, the name of the Cluster resource and their references gets
qualified like the rest of the resources. For the EDS lookup of the endpoint addresses,
the field `service_name` of the Cluster is used.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter added kind/backports This PR provides functionality previously merged into master. backport/author The backport will be carried out by the author of the PR. backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. labels Nov 16, 2023
@mhofstetter mhofstetter changed the title [v1.13-ce] Author Backport of 28896 (k8s ingress & gateway api: qualify envoy clusters and their references) [v1.14] Author Backport of 28896 (k8s ingress & gateway api: qualify envoy clusters and their references) Nov 16, 2023
@mhofstetter
Copy link
Member Author

/test-backport-1.14

@mhofstetter mhofstetter marked this pull request as ready for review November 16, 2023 09:34
@mhofstetter mhofstetter requested a review from a team as a code owner November 16, 2023 09:34
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 16, 2023
@julianwiedmann julianwiedmann merged commit b8a9dae into cilium:v1.14 Nov 16, 2023
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/author The backport will be carried out by the author of the PR. backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants