Skip to content

Commit

Permalink
feat: configure in_repo_config for evolution repository
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Sep 6, 2022
1 parent e294590 commit 07d4d87
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ sinker:
max_pod_age: 24h
terminated_pod_ttl: 2h

in_repo_config:
enabled:
# The key can be one of "*" for "globally", "org" or "org/repo".
# The narrowest match is used. Here the key is "kubernetes/kubernetes".
falcosecurity/evolution: true

# Clusters must be allowed before they can be used. Here we allow the "default"
# cluster globally. This setting also allows using "*" for "globally", "org" or "org/repo" as key.
# All clusters that are allowed for the specific repo, its org or
# globally can be used.
allowed_clusters:
falcosecurity/evolution: ["default"]

branch-protection:
enforce_admins: true # rules apply to admins too!
restrictions: # restrict who can push
Expand Down

0 comments on commit 07d4d87

Please sign in to comment.