Skip to content

Commit

Permalink
fix: disable all ingress traffic to tetragon namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fsismondi committed Feb 21, 2024
1 parent 7dce44f commit 0a52dae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/tetragon-policy-builder/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: tetragon-policy-builder
description: Deploy a policy builder to read events from tetragon and create policy
version: 0.1.0
version: 0.1.1
14 changes: 14 additions & 0 deletions helm/tetragon-policy-builder/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: {{ include "tetragon-policy-builder.fullname" . }}
labels:
{{- include "tetragon-policy-builder.labels" . | nindent 4 }}
spec:
policyTypes:
- Ingress
podSelector:
matchLabels: {}
ingress:
- from:
- podSelector: {}

0 comments on commit 0a52dae

Please sign in to comment.