Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/re-2167/fix-network-policies-hel…
Browse files Browse the repository at this point in the history
…m' into re-2167/fix-network-policies-helm
  • Loading branch information
skudasov committed Jan 18, 2024
2 parents 0c5cbb1 + 562e26a commit 90987fe
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 9 deletions.

This file was deleted.

27 changes: 27 additions & 0 deletions charts/chainlink-cluster/templates/networkpolicy-default-deny.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: default-deny
spec:
podSelector:
matchLabels: {}
policyTypes:
- Ingress
- Egress
egress:
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: "{{ $.Release.Namespace }}"
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
podSelector:
matchLabels:
k8s-app: kube-dns
ports:
- protocol: TCP
port: 53
- protocol: UDP
port: 53
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
- from:
- podSelector:
matchLabels:
app: {{ $.Release.Name }}
app: {{ $.Release.Name }}
- podSelector:
matchLabels:
app: runner

0 comments on commit 90987fe

Please sign in to comment.