skip ext clients on non ingress nodes

This commit is contained in:
Abhishek Kondur 2022-11-15 18:55:39 +05:30
parent 7d166ac14a
commit 3f279119c7

View file

@ -242,6 +242,9 @@ func (m *ManagerAction) AddInterfaceToProxy() error {
log.Println("Endpoint nil for peer: ", peerI.PublicKey.String())
continue
}
if peerConf.IsExtClient && !common.IsIngressGateway {
continue
}
shouldProceed := false
if peerConf.IsExtClient && peerConf.IsAttachedExtClient {
// check if ext client got endpoint,otherwise continue