Skip to content

Commit

Permalink
dont remove namespaceSelector
Browse files Browse the repository at this point in the history
  • Loading branch information
nhudson committed Aug 20, 2024
1 parent c577d09 commit c6beebe
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tembo-operator/src/network_policies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,21 @@ pub async fn reconcile_network_policies(client: Client, namespace: &str) -> Resu
}
],
"to": [
{
"namespaceSelector": {
"matchLabels": {
"kubernetes.io/metadata.name": "tembo-ai"
}
},
"podSelector": {
"matchLabels": {
"app.kubernetes.io/name": "tembo-ai-gateway"
}
}
},
{
"ipBlock": {
"cidr": "10.0.0.0/8"
"cidr": "10.1.0.0/16"
}
}
]
Expand Down

0 comments on commit c6beebe

Please sign in to comment.