Skip to content

Commit

Permalink
fix ports definition for ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumEnigmaa committed Feb 8, 2024
1 parent dad9c2b commit 986c0a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions service/controller/resource/ciliumnetpol/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ func toCiliumNetworkPolicy(v interface{}) (*unstructured.Unstructured, error) {
"fromEntities": []string{
"cluster",
},
},
map[string]interface{}{
"fromPorts": []map[string]interface{}{
"toPorts": []map[string]interface{}{
map[string]interface{}{
"ports": []map[string]string{
map[string]string{
Expand Down

0 comments on commit 986c0a1

Please sign in to comment.