github.com/datreeio/datree@v1.9.22-rc/pkg/validatePoliciesYaml/test_fixtures/bothSchemaAndJsonSchemaDefined.yaml (about) 1 apiVersion: v1 2 policies: 3 - name: Default 4 isDefault: true 5 rules: 6 - identifier: SOME_IDENTIFIER_NAME 7 messageOnFailure: '' 8 customRules: 9 - identifier: SOME_IDENTIFIER_NAME 10 name: pods to undergo least voluntary disruption 11 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. 12 jsonSchema: "{\"definitions\": [1,2,3]}" 13 schema: 14 type: object 15 required: 16 - spec