Skip to content

Commit

Permalink
updated fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shethyogita83 committed May 30, 2024
1 parent a8a598c commit 90d61d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion pkg/deploy/elbv2/listener_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func isSDKListenerSettingsDrifted(lsSpec elbv2model.ListenerSpec, sdkLS Listener
if len(lsSpec.ALPNPolicy) != 0 && !cmp.Equal(lsSpec.ALPNPolicy, awssdk.StringValueSlice(sdkLS.Listener.AlpnPolicy), cmpopts.EquateEmpty()) {
return true
}
if !reflect.DeepEqual(desiredDefaultMutualAuthentication, sdkLS.Listener.MutualAuthentication) {
if desiredDefaultMutualAuthentication != nil && !reflect.DeepEqual(desiredDefaultMutualAuthentication, sdkLS.Listener.MutualAuthentication) {
return true
}

Expand Down
6 changes: 0 additions & 6 deletions pkg/ingress/model_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,12 +381,6 @@ func (t *defaultModelBuildTask) mergeListenPortConfigs(_ context.Context, listen
mergedSSLPolicy = awssdk.String(t.defaultSSLPolicy)
}

if mergedProtocol == elbv2model.ProtocolHTTPS && mergedMtlsAttributes == nil {
mergedMtlsAttributes = &elbv2model.MutualAuthenticationAttributes{
Mode: string(elbv2model.MutualAuthenticationOffMode),
}
}

return listenPortConfig{
protocol: mergedProtocol,
inboundCIDRv4s: mergedInboundCIDRv4s.List(),
Expand Down

0 comments on commit 90d61d8

Please sign in to comment.