-
Notifications
You must be signed in to change notification settings - Fork 18
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
Conversation
build amko |
There was a problem hiding this 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.
gslb/k8sobjects/ingress_object.go
Outdated
@@ -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", |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to Info
gslb/k8sobjects/route_object.go
Outdated
@@ -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", |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to Info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.