Skip to content

Commit

Permalink
Add CiliumNetworkPolicy for falco-exporter (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
glitchcrab authored Jan 25, 2024
1 parent ac45350 commit 8b250d7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add CiliumNetworkPolicy for falco-exporter.

## [0.7.2] - 2024-01-12

### Changed
Expand Down
20 changes: 20 additions & 0 deletions helm/falco/templates/falco-exporter-cilium-network-policy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{- if .Values.ciliumNetworkPolicy.enabled }}
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
name: {{ include "falco-helpers.fullname" . }}-exporter
namespace: {{ include "falco-helpers.namespace" . }}
labels:
{{- include "falco-helpers.labels" . | nindent 4 }}
spec:
endpointSelector:
matchLabels:
app.kubernetes.io/instance: falco
app.kubernetes.io/name: falco-exporter
ingress:
- fromEntities:
- cluster
toPorts:
- ports:
- port: "9376"
{{- end }}

0 comments on commit 8b250d7

Please sign in to comment.