Skip to content

build: Moving the strict DNS cluster into an extension directory#23808

Merged
alyssawilk merged 4 commits intoenvoyproxy:mainfrom
alyssawilk:strict_dns_cluster_lib
Nov 9, 2022
Merged

build: Moving the strict DNS cluster into an extension directory#23808
alyssawilk merged 4 commits intoenvoyproxy:mainfrom
alyssawilk:strict_dns_cluster_lib

Conversation

@alyssawilk
Copy link
Contributor

@alyssawilk alyssawilk commented Nov 2, 2022

Any Envoy users who customize their pre-built extensions will need to evaluate if they need this cluster.
Akin to #23694

Risk Level: medium
Testing: n/a
Docs Changes: n/a
Release Notes: inline

@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #23808 was opened by alyssawilk.

see: more, trace.

@alyssawilk alyssawilk force-pushed the strict_dns_cluster_lib branch from ee41cd6 to 258ff7a Compare November 3, 2022 13:50
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@alyssawilk alyssawilk force-pushed the strict_dns_cluster_lib branch from 258ff7a to 32204bd Compare November 7, 2022 18:26
@alyssawilk alyssawilk marked this pull request as ready for review November 8, 2022 13:46
@alyssawilk alyssawilk requested a review from ggreenway as a code owner November 8, 2022 13:46
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@alyssawilk alyssawilk enabled auto-merge (squash) November 8, 2022 14:41
Copy link
Contributor

@jmarantz jmarantz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks simple enough but I'd like @yanjunxiang-google to look at it.

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
#include "source/common/singleton/manager_impl.h"
#include "source/common/upstream/static_cluster.h"
#include "source/common/upstream/strict_dns_cluster.h"
#include "source/extensions/clusters/strict_dns/strict_dns_cluster.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this break the rule that the core tests should not depend on extensions?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And will the envoy.clusters.strict_dns: be in the required extensions as in here:

_required_extensions = {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does not - we frequently have core code in extensions directory (e.g. raw buffer socket)
Also I don't think it hsould be in required extensions as the whole point of moving it out was to not link it for Envoy Mobile and we can't override that.

@yanjunxiang-google
Copy link
Contributor

LGTM. @yanavlasov, PTAL

@alyssawilk alyssawilk merged commit b53e439 into envoyproxy:main Nov 9, 2022
@alyssawilk alyssawilk deleted the strict_dns_cluster_lib branch April 5, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants