Skip to content

Commit

Permalink
argocd: add falco
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <batazor@evrone.com>
  • Loading branch information
batazor committed Mar 17, 2023
1 parent 3a88e08 commit 54ef459
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ops/Helm/addons/falco/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v2 # The chart API version (required)
appVersion: "1.0.0" # The version of the app that this contains (optional)
name: falcosecurity # The name of the chart (required)
version: 0.1.0 # A SemVer 2 version (required)
kubeVersion: ">= 1.22.0 || >= v1.22.0-0" # A SemVer range of compatible Kubernetes versions (optional)
keywords: # A list of keywords about this project (optional)
- falco
- security
maintainers:
- email: batazor111@gmail.com
name: batazor
url: batazor.ru
engine: gotpl
type: application # It is the type of chart (optional)
deprecated: false # Whether this chart is deprecated (optional, boolean)
dependencies:
- name: falco
version: 3.1.2
repository: https://falcosecurity.github.io/charts
condition: falcosecurity.enabled
tags:
- security
5 changes: 5 additions & 0 deletions ops/Helm/addons/falco/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CHART NAME: {{ .Chart.Name }}
CHART VERSION: {{ .Chart.Version }}
APP VERSION: {{ .Chart.AppVersion }}

** Please be patient while the chart is being deployed **
9 changes: 9 additions & 0 deletions ops/Helm/addons/falco/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Common default values for falcosecurity.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

falcosecurity:
enabled: true

driver:
kind: modern-bpf
38 changes: 38 additions & 0 deletions ops/argocd/infrastructure/falco/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: falco
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: shortlink
destination:
name: ''
namespace: falco
server: 'https://kubernetes.default.svc'
source:
path: ops/Helm/addons/falco
repoURL: 'https://github.com/shortlink-org/shortlink'
targetRevision: HEAD
helm:
releaseName: falco
syncPolicy:
automated:
prune: true
allowEmpty: true
selfHeal: false
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
retry:
limit: 2
backoff:
duration: 10s
maxDuration: 3m0s
factor: 2
ignoreDifferences:
- group: falco.io
kind: ClusterPolicy
jqPathExpressions:
- .spec.rules[] | select(.name|test("autogen-."))

0 comments on commit 54ef459

Please sign in to comment.