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

AV-214390 passthrough objects should not create GS in customFQDN mode #261

Merged
merged 2 commits into from
Dec 31, 2024

Conversation

arihantg
Copy link
Contributor

No description provided.

@arihantg
Copy link
Contributor Author

build amko

Copy link
Contributor

@DixitAakash DixitAakash left a comment

Choose a reason for hiding this comment

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

Have minor comments, otherwise PR looks good.

@@ -331,6 +340,11 @@ func (ihm IngressHostMeta) ApplyFilter() bool {
selectedByGDP := ihm.ApplyGDPSelector()
if selectedByGDP {
if gslbutils.GetCustomFqdnMode() {
if ihm.IsPassthrough() {
gslbutils.Debugf("cluster: %s, ns: %s, ingress host: %s, msg: passthrough ingress not supported in customfqdn mode",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should ideally be warn or info log.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to Info

@@ -284,6 +284,11 @@ func (route RouteMeta) ApplyFilter() bool {
selectedByGDP := route.ApplyGDPSelector()
if selectedByGDP {
if gslbutils.GetCustomFqdnMode() {
if route.IsPassthrough() {
gslbutils.Debugf("cluster: %s, ns: %s, route host: %s, msg: passthrough route not supported in customfqdn mode",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should ideally be warn or info log.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to Info

@arihantg arihantg requested a review from DixitAakash December 31, 2024 09:13
Copy link
Contributor

@DixitAakash DixitAakash left a comment

Choose a reason for hiding this comment

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

LGTM

@arihantg arihantg merged commit 70e0ae0 into vmware:master Dec 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants