operator-framework / operator-controller

A new and improved management framework for extending Kubernetes with Operators
https://operator-framework.github.io/operator-controller/
Apache License 2.0
70 stars 54 forks source link

Add early check on bundle install status #1012

Open bentito opened 4 months ago

bentito commented 4 months ago

Feature Request: Assess Current Bundle Installation

Description:

Implement the capability to assess the "current installation" independently of other reconcile tasks.

Requirements:

  1. Initial Lookup:

    • Conduct an early lookup of the currently installed bundle.
    • Set status.TypeInstalled and ClusterExtensionStatus.InstalledBundle based on the findings.
  2. Error Handling:

    • If the lookup of the installed bundle fails:
      • Set the condition to Unknown.
      • Unset the installedBundle field.
      • Continue with other unrelated reconcile tasks.