diff --git a/infra/k8s/network-policies/api-gateway.yaml b/infra/k8s/network-policies/api-gateway.yaml index 0ace8e477..72477edeb 100644 --- a/infra/k8s/network-policies/api-gateway.yaml +++ b/infra/k8s/network-policies/api-gateway.yaml @@ -24,7 +24,7 @@ spec: - to: - podSelector: matchLabels: - app: postgres + app.kubernetes.io/name: postgres ports: - protocol: TCP port: 5432 @@ -32,7 +32,7 @@ spec: - to: - podSelector: matchLabels: - app: redis + app.kubernetes.io/name: redis ports: - protocol: TCP port: 6379 @@ -77,7 +77,7 @@ spec: - to: - podSelector: matchLabels: - app: minio + app.kubernetes.io/name: minio ports: - protocol: TCP port: 9000 diff --git a/infra/k8s/network-policies/backtesting-service.yaml b/infra/k8s/network-policies/backtesting-service.yaml index 2dce0ae0e..f7870540e 100644 --- a/infra/k8s/network-policies/backtesting-service.yaml +++ b/infra/k8s/network-policies/backtesting-service.yaml @@ -22,21 +22,21 @@ spec: - to: - podSelector: matchLabels: - app: postgres + app.kubernetes.io/name: postgres ports: - protocol: TCP port: 5432 - to: - podSelector: matchLabels: - app: redis + app.kubernetes.io/name: redis ports: - protocol: TCP port: 6379 - to: - podSelector: matchLabels: - app: minio + app.kubernetes.io/name: minio ports: - protocol: TCP port: 9000 diff --git a/infra/k8s/network-policies/broker-gateway.yaml b/infra/k8s/network-policies/broker-gateway.yaml index c3ebda7fb..fa52356bb 100644 --- a/infra/k8s/network-policies/broker-gateway.yaml +++ b/infra/k8s/network-policies/broker-gateway.yaml @@ -32,21 +32,21 @@ spec: - to: - podSelector: matchLabels: - app: postgres + app.kubernetes.io/name: postgres ports: - protocol: TCP port: 5432 - to: - podSelector: matchLabels: - app: redis + app.kubernetes.io/name: redis ports: - protocol: TCP port: 6379 - to: - podSelector: matchLabels: - app: minio + app.kubernetes.io/name: minio ports: - protocol: TCP port: 9000 diff --git a/infra/k8s/network-policies/data-acquisition-service.yaml b/infra/k8s/network-policies/data-acquisition-service.yaml index baa7c42bd..595930573 100644 --- a/infra/k8s/network-policies/data-acquisition-service.yaml +++ b/infra/k8s/network-policies/data-acquisition-service.yaml @@ -22,14 +22,14 @@ spec: - to: - podSelector: matchLabels: - app: postgres + app.kubernetes.io/name: postgres ports: - protocol: TCP port: 5432 - to: - podSelector: matchLabels: - app: redis + app.kubernetes.io/name: redis ports: - protocol: TCP port: 6379 @@ -47,7 +47,7 @@ spec: - to: - podSelector: matchLabels: - app: minio + app.kubernetes.io/name: minio ports: - protocol: TCP port: 9000 diff --git a/infra/k8s/network-policies/ml-training-service.yaml b/infra/k8s/network-policies/ml-training-service.yaml index f87a5cf7a..7d894e030 100644 --- a/infra/k8s/network-policies/ml-training-service.yaml +++ b/infra/k8s/network-policies/ml-training-service.yaml @@ -22,21 +22,21 @@ spec: - to: - podSelector: matchLabels: - app: postgres + app.kubernetes.io/name: postgres ports: - protocol: TCP port: 5432 - to: - podSelector: matchLabels: - app: redis + app.kubernetes.io/name: redis ports: - protocol: TCP port: 6379 - to: - podSelector: matchLabels: - app: minio + app.kubernetes.io/name: minio ports: - protocol: TCP port: 9000 diff --git a/infra/k8s/network-policies/trading-agent-service.yaml b/infra/k8s/network-policies/trading-agent-service.yaml index f34a20940..9aad6f353 100644 --- a/infra/k8s/network-policies/trading-agent-service.yaml +++ b/infra/k8s/network-policies/trading-agent-service.yaml @@ -29,21 +29,21 @@ spec: - to: - podSelector: matchLabels: - app: postgres + app.kubernetes.io/name: postgres ports: - protocol: TCP port: 5432 - to: - podSelector: matchLabels: - app: redis + app.kubernetes.io/name: redis ports: - protocol: TCP port: 6379 - to: - podSelector: matchLabels: - app: minio + app.kubernetes.io/name: minio ports: - protocol: TCP port: 9000 diff --git a/infra/k8s/network-policies/trading-service.yaml b/infra/k8s/network-policies/trading-service.yaml index e85efb55e..7a7dd964f 100644 --- a/infra/k8s/network-policies/trading-service.yaml +++ b/infra/k8s/network-policies/trading-service.yaml @@ -25,14 +25,14 @@ spec: - to: - podSelector: matchLabels: - app: postgres + app.kubernetes.io/name: postgres ports: - protocol: TCP port: 5432 - to: - podSelector: matchLabels: - app: redis + app.kubernetes.io/name: redis ports: - protocol: TCP port: 6379 @@ -46,14 +46,14 @@ spec: - to: - podSelector: matchLabels: - app: questdb + app.kubernetes.io/name: questdb ports: - protocol: TCP port: 9009 - to: - podSelector: matchLabels: - app: minio + app.kubernetes.io/name: minio ports: - protocol: TCP port: 9000 diff --git a/infra/k8s/network-policies/web-gateway.yaml b/infra/k8s/network-policies/web-gateway.yaml index 9ec9efde6..82ca9eeaa 100644 --- a/infra/k8s/network-policies/web-gateway.yaml +++ b/infra/k8s/network-policies/web-gateway.yaml @@ -63,7 +63,7 @@ spec: - to: - podSelector: matchLabels: - app: minio + app.kubernetes.io/name: minio ports: - protocol: TCP port: 9000