core/src/main/java/io/fabric8/maven/core/util/validator/ResourceValidator.java
private void setupIgnoreRules(ResourceClassifier target) {
        ignoreValidationRules.add(new IgnorePortValidationRule(IgnorePortValidationRule.TYPE));
        ignoreValidationRules.add(new IgnoreResourceMemoryLimitRule(IgnoreResourceMemoryLimitRule.TYPE));
    }
private void setupIgnoreRules(ResourceClassifier target) {
        ignoreValidationRules.add(new IgnorePortValidationRule(IgnorePortValidationRule.TYPE));
        ignoreValidationRules.add(new IgnoreResourceMemoryLimitRule(IgnoreResourceMemoryLimitRule.TYPE));
    }
private void setupIgnoreRules ( ResourceClassifier target ) { ignoreValidationRules . add ( new IgnorePortValidationRule ( IgnorePortValidationRule . TYPE ) ) ; ignoreValidationRules . add ( new IgnoreResourceMemoryLimitRule ( IgnoreResourceMemoryLimitRule . TYPE ) ) ; }
/*
Add exception rules to ignore validation constraint from JSON schema for OpenShift/Kubernetes resources. Some fields in JSON schema which are marked as required
but in reality it's not required to provide values for those fields while creating the resources.
e.g. In DeploymentConfig(https://docs.openshift.com/container-platform/3.6/rest_api/openshift_v1.html#v1-deploymentconfig) model 'status' field is marked as
required.
/ * Add exception rules to ignore validation constraint from JSON schema for OpenShift / Kubernetes resources . Some fields in JSON schema which are marked as required but in reality it s not required to provide values for those fields while creating the resources . e . g . In DeploymentConfig ( https : // docs . openshift . com / container - platform / 3 . 6 / rest_api / openshift_v1 . html#v1 - deploymentconfig ) model status field is marked as required .