From d4d44bc6d3fc621bf343580a3a85b435891dd4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 16 Aug 2023 11:35:41 +0300 Subject: [PATCH] rosdump: Fix NetworkPolicies for in-kube Gitea --- rosdump/application.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/rosdump/application.yml b/rosdump/application.yml index 8324a52..1955235 100644 --- a/rosdump/application.yml +++ b/rosdump/application.yml @@ -98,15 +98,14 @@ spec: - Egress egress: - to: - - ipBlock: - cidr: 193.40.103.0/24 + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: gitea - ipBlock: cidr: 172.23.0.0/24 - ipBlock: cidr: 100.102.1.0/24 - ports: - - protocol: TCP - port: 22 + --- apiVersion: monitoring.coreos.com/v1 kind: PrometheusRule