Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-2455

Quay Operator should block deployment when redis component is unmanaged without providing redis config in config bundle secret

XMLWordPrintable

      Description:

      This is an issue found when deploy quay with quay operator, now when use unmanaged redis component, but doesn't provide responding redis configurations in config.yaml, after created QuayRegistry CR, quay Operator still move on the deployment, the expected behavior is Quay Operator should blocker the deployment with error message "message: required component `redis` marked as unmanaged, but `configBundleSecret` is missing necessary fields", then customers will realize what's wrong in the config bundle secret, and take action immediately without wasting time to get the root cause until deployment was failed "quay app pod was crashed with error message "redis BUILDLOGS_REDIS is required"

      Note: Quay image is "quay-operator-bundle-container-v3.6.0-18"

      Now for other Quay Operator components postgresql and objectstorage, when set these component as unmanaged, but didn't provide required config in config bundle secret, Quay Operator will block the deployment immediately with following error message:

      Unmanaged postgresql component, not providing postgresql configs in config bundle secret:

      status:
        conditions:
        - lastTransitionTime: "2021-08-25T03:42:10Z"
          lastUpdateTime: "2021-08-25T03:42:10Z"
          message: required component `postgres` marked as unmanaged, but `configBundleSecret`
            is missing necessary fields
          reason: ConfigInvalid
          status: "True"
          type: RolloutBlocked
        lastUpdated: 2021-08-25 03:42:10.953987577 +0000 UTC
        unhealthyComponents: {}
      

      Unmanaged objectstorage component, not providing objectstorage configs in config bundle secret:

      status:
        conditions:
        - lastTransitionTime: "2021-08-25T03:43:25Z"
          lastUpdateTime: "2021-08-25T03:43:25Z"
          message: required component `objectstorage` marked as unmanaged, but `configBundleSecret`
            is missing necessary fields
          reason: ConfigInvalid
          status: "True"
          type: RolloutBlocked
      

       

              jonathankingfc Jonathan King
              lzha1981 luffy zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: