media doesn't need a network policy

This commit is contained in:
SeanOMik 2023-05-04 14:35:54 -04:00
parent e3d170ffec
commit 221b9a1370
2 changed files with 6 additions and 8 deletions

View File

@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./namespace.yaml - ./namespace.yaml
- ./network_policy.yaml #- ./network_policy.yaml
- ./qbittorrent - ./qbittorrent
- ./radarr - ./radarr
- ./sonarr - ./sonarr

View File

@ -6,13 +6,11 @@ metadata:
labels: labels:
release: kube-prometheus-stack release: kube-prometheus-stack
spec: spec:
endpoints:
- interval: 30s
targetPort: 9000
path: /metrics
namespaceSelector:
matchNames:
- download
selector: selector:
matchLabels: matchLabels:
app: sonarr-service app: sonarr-service
endpoints:
- port: metrics
interval: 3m
scrapeTimeout: 1m
path: /metrics