===== 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 infrastructure-related annotations: * features.operators.openshift.io/disconnected * features.operators.openshift.io/fips-compliant * features.operators.openshift.io/proxy-aware * features.operators.openshift.io/cnf * features.operators.openshift.io/cni * features.operators.openshift.io/csi * 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 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 infrastructure feature annotations are present in the operator CSV file AND * all infrastructure feature annotations are set to string "true" or "false" The test will pass with a non-gating SUCCESS_WITH_WARNINGS otherwise. Note: There will be a grace period of at least a quarter before this check will be turned into a gating requirement for product teams. Per current estimate, a new version of the OperatorSDK supporting the new infrastructure feature annotations is expected to come out in the later part of CY23 Q3. We want product teams to use all of CY23 Q4 to update their bundles. The CVP check is expected to become gating in CY24 Q1. [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/cnf' annotation is missing from the operator CSV. [INVALID] The 'features.operators.openshift.io/cni' annotation is missing from the operator CSV. [INVALID] The 'features.operators.openshift.io/csi' 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. [TEST RESULT] The infrastructure feature annotations [disconnected, fips-compliant, proxy-aware, cnf, cni, csi, tls-profiles, token-auth-aws, token-auth-azure, token-auth-gcp] 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/fuse-apicurito-rhel-8-operator-metadata-container-1.12-16.1694087057/aaa96660-6966-44d3-813d-9537f134a2fa/