Skip to content

Commit 7c1beb1

Browse files
committed
Update webspherelibertyapplication_controller.go
1 parent c797074 commit 7c1beb1

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
@@ -984,6 +984,8 @@ func (r *ReconcileWebSphereLiberty) getDNSEgressRule(reqLogger logr.Logger, endp
984984
"kubernetes.io/metadata.name": endpointsNamespace,
985985
},
986986
}
987+
dnsRule.To = append(dnsRule.To, peer)
988+
987989
portUDP := networkingv1.NetworkPolicyPort{}
988990
udp := corev1.ProtocolUDP
989991
portUDP.Protocol = &udp

0 commit comments

Comments
 (0)