From 25dfb512b23c21ba43f1cc19383381375daae558 Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Mon, 26 Aug 2024 17:05:34 +1100 Subject: [PATCH] add kube config Signed-off-by: NikitaSkrynnik --- .kube-linter.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .kube-linter.yml diff --git a/.kube-linter.yml b/.kube-linter.yml new file mode 100644 index 000000000000..abba45229ba8 --- /dev/null +++ b/.kube-linter.yml @@ -0,0 +1,21 @@ +--- +# 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: []