UNCLASSIFIED

Commit 509930aa authored by Branden Cobb's avatar Branden Cobb
Browse files

Add new file

parent 7ca717ff
Pipeline #444350 passed with stages
in 3 minutes and 43 seconds
{{- if and .Values.networkPolicies.enabled .Values.istio.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-sidecar-scraping
namespace: {{ .Release.Namespace }}
spec:
podSelector: {}
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
app.kubernetes.io/name: monitoring
podSelector:
matchLabels:
app: prometheus
ports:
- protocol: TCP
port: 15020
{{- end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment