github.com/datreeio/datree@v1.9.22-rc/pkg/validatePoliciesYaml/test_fixtures/customRuleMissingIdentifier.yaml (about) 1 apiVersion: v1 2 policies: 3 - name: Default 4 isDefault: true 5 rules: 6 customRules: 7 - name: Allows pods to undergo least voluntary disruption 8 defaultMessageOnFailure: Setting minAvailable to 100 and maxUnavailable to 0 is not allowed by the organization, as node on which the pod is running can never be drained. 9 schema: 10 type: object 11 required: 12 - spec