UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Side-car Scraping network policy

Merged Branden Cobb requested to merge side-car-scraping into main
Files
5
{{- if and .Values.networkPolicies.enabled .Values.istio.enabled }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-istiod-egress
namespace: {{ .Release.Namespace }}
spec:
podSelector: {}
policyTypes:
- Egress
egress:
- to:
- namespaceSelector:
matchLabels:
app.kubernetes.io/name: istio-controlplane
podSelector:
matchLabels:
app: istiod
ports:
- port: 15012
{{- end }}
Loading