unip-controller/controller/templates/platform-app/allow-dns-traffic-np.yaml
2025-04-15 20:56:15 +03:00

23 lines
No EOL
696 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# Система: Единая библиотека, Центр ИИ НИУ ВШЭ
# Модуль: PlatformApp
# Авторы: Полежаев В.А., Хританков А.С.
# Дата создания: 2024 г.
# ============================================================
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: allow-dns-traffic
namespace: {{ namespace }}
spec:
podSelector: {}
policyTypes:
- Egress
egress:
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: "kube-system"
- podSelector:
matchLabels:
k8s-app: "kube-dns"