Skip to content

Commit e59d5b4

Browse files
committed
Update webspherelibertyapplication_controller.go
1 parent 40076a6 commit e59d5b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controllers/webspherelibertyapplication_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -968,6 +968,8 @@ func (r *ReconcileWebSphereLiberty) getDNSEgressRule(reqLogger logr.Logger, endp
968968
"kubernetes.io/metadata.name": endpointsNamespace,
969969
},
970970
}
971+
dnsRule.To = append(dnsRule.To, peer)
972+
971973
portUDP := networkingv1.NetworkPolicyPort{}
972974
udp := corev1.ProtocolUDP
973975
portUDP.Protocol = &udp

0 commit comments

Comments
 (0)