Skip to content

Commit

Permalink
Add MNO only static entry - port 6081
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
liornoy committed May 9, 2024
1 parent 1b3c108 commit 92dbd5c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commatrix/commatrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
24 changes: 24 additions & 0 deletions commatrix/static-custom-entries.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}

0 comments on commit 92dbd5c

Please sign in to comment.