-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: NikitaSkrynnik <[email protected]>
- Loading branch information
1 parent
76373b0
commit 8edb68b
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# customChecks defines custom checks. | ||
customChecks: | ||
- name: "required-annotation-team" | ||
template: "required-annotation" | ||
params: | ||
key: "team" | ||
remediation: "Add a team annotation to your object" | ||
checks: | ||
# if doNotAutoAddDefaults is true, default checks are not automatically added. | ||
doNotAutoAddDefaults: false | ||
|
||
# include explicitly adds checks, by name. You can reference any of the built-in checks. | ||
# Note that customChecks defined above are included automatically. | ||
include: | ||
- duplicate-env-var | ||
- env-var-secret | ||
- read-secret-from-env-var | ||
# exclude explicitly excludes checks, by name. exclude has the highest priority: if a check is | ||
# in exclude, then it is not considered, even if it is in include as well. | ||
exclude: [ ] |