diff --git a/cluster-resources/policies/label-checker.yaml b/cluster-resources/policies/label-checker.yaml index be8c2b6..129007a 100644 --- a/cluster-resources/policies/label-checker.yaml +++ b/cluster-resources/policies/label-checker.yaml @@ -14,6 +14,7 @@ spec: background: true rules: - name: check-for-labels + skipBackgroundRequests: true exclude: any: - resources: @@ -32,6 +33,7 @@ spec: - Pod validate: message: The label `app.kubernetes.io/name` is required. + allowExistingViolations: true pattern: metadata: labels: