From 8b00e333e397dd89a21db92e8babaced3029d00a Mon Sep 17 00:00:00 2001 From: Lior Noy Date: Thu, 9 May 2024 15:25:38 +0300 Subject: [PATCH] Add MNO only static entry - port 6081 Added the service `ovn-kubernetes geneve` on port 6081 for MNO only, as part of the static-custom-entries.go. Signed-off-by: Lior Noy --- commatrix/commatrix.go | 2 ++ commatrix/static-custom-entries.go | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/commatrix/commatrix.go b/commatrix/commatrix.go index 5841cb07..81c0836b 100644 --- a/commatrix/commatrix.go +++ b/commatrix/commatrix.go @@ -117,6 +117,8 @@ func getStaticEntries(e Env, d Deployment) ([]types.ComDetails, error) { return comDetails, nil } + comDetails = append(comDetails, MNOStaticEntries...) + comDetails = append(comDetails, generalStaticEntriesWorker...) return comDetails, nil } diff --git a/commatrix/static-custom-entries.go b/commatrix/static-custom-entries.go index 6fd39b90..28cd9508 100644 --- a/commatrix/static-custom-entries.go +++ b/commatrix/static-custom-entries.go @@ -525,3 +525,27 @@ var awsCloudStaticEntriesMaster = []types.ComDetails{ Optional: false, }, } + +var MNOStaticEntries = []types.ComDetails{ + { + Direction: "ingress", + Protocol: "UDP", + Port: "6081", + NodeRole: "worker", + Service: "ovn-kubernetes geneve", + Namespace: "openshift-ovn-kubernetes", + Pod: "", + Container: "", + Optional: false, + }, { + Direction: "ingress", + Protocol: "UDP", + Port: "6081", + NodeRole: "master", + Service: "ovn-kubernetes geneve", + Namespace: "openshift-ovn-kubernetes", + Pod: "", + Container: "", + Optional: false, + }, +}