===== Test: operator-infrastructure-feature-bundle-image ===== Red Hat operators should indicate whether they support running in a disconnected environment, in the 'features.operators.openshift.io/*' annotations. The annotations are expected to be a string "true" or "false". A list of required infrastructure-related annotations: * features.operators.openshift.io/disconnected * features.operators.openshift.io/fips-compliant * features.operators.openshift.io/proxy-aware * features.operators.openshift.io/tls-profiles * features.operators.openshift.io/token-auth-aws * features.operators.openshift.io/token-auth-azure * features.operators.openshift.io/token-auth-gcp A list of optional infrastructure-related annotations: * features.operators.openshift.io/cnf * features.operators.openshift.io/cni * features.operators.openshift.io/csi What this test does: * Parses the value of 'features.operators.openshift.io/*' annotations in the operator CSV file * Checks whether the values are set to a string "true" or "false" The test will pass with SUCCESS if: * all the required infrastructure feature annotations are present in the operator CSV file AND * all the required infrastructure feature annotations are set to string "true" or "false" The test will pass with a non-gating SUCCESS_WITH_WARNINGS otherwise. Note: This check is expected to become gating by the end of CY24Q1. [INVALID] The 'features.operators.openshift.io/disconnected' annotation is missing from the operator CSV. [INVALID] The 'features.operators.openshift.io/fips-compliant' annotation is missing from the operator CSV. [INVALID] The 'features.operators.openshift.io/proxy-aware' annotation is missing from the operator CSV. [INVALID] The 'features.operators.openshift.io/tls-profiles' annotation is missing from the operator CSV. [INVALID] The 'features.operators.openshift.io/token-auth-aws' annotation is missing from the operator CSV. [INVALID] The 'features.operators.openshift.io/token-auth-azure' annotation is missing from the operator CSV. [INVALID] The 'features.operators.openshift.io/token-auth-gcp' annotation is missing from the operator CSV. [OPTIONAL] The 'features.operators.openshift.io/cnf' annotation is missing from the operator CSV. [OPTIONAL] The 'features.operators.openshift.io/cni' annotation is missing from the operator CSV. [OPTIONAL] The 'features.operators.openshift.io/csi' annotation is missing from the operator CSV. [TEST RESULT] The infrastructure feature annotations [disconnected, fips-compliant, proxy-aware, tls-profiles, token-auth-aws, token-auth-azure, token-auth-gcp, cnf, cni, csi] are either missing from the operator CSV or not equal to a string "true"/"false". The test operator-infrastructure-feature-bundle-image is currently non-gating. Therefore, it passes with SUCCESS_WITH_WARNINGS. ------------------- Execution Reference: -> /cvp/cvp-redhat-operator-bundle-image-validation-test/costmanagement-metrics-operator-bundle-container-3.1.1-1/5a1a637a-156c-4ce7-b84f-b76a6d0e3305/