github.com/datreeio/datree@v1.9.22-rc/pkg/validatePoliciesYaml/test_fixtures/duplicateRuleIdentifier.yaml (about) 1 apiVersion: v1 2 policies: 3 - name: Default 4 isDefault: true 5 rules: 6 - identifier: PODDISRUPTIONBUDGET_DENY_ZERO_VOLUNTARY_DISRUPTION 7 messageOnFailure: 'some dummy test' 8 - identifier: PODDISRUPTIONBUDGET_DENY_ZERO_VOLUNTARY_DISRUPTION 9 messageOnFailure: '' 10 customRules: 11 - identifier: PODDISRUPTIONBUDGET_DENY_ZERO_VOLUNTARY_DISRUPTION 12 name: pods to undergo least voluntary disruption 13 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. 14 schema: 15 type: object 16 required: 17 - spec