GithubHelp home page GithubHelp logo

Comments (6)

wallrj avatar wallrj commented on June 23, 2024

Here are links and extracts from the documentation that I am referring to:

Updating your existing Operator

Unless of purely cosmetic nature, subsequent updates to your Operator should result in new bundle directories being added, containing an updated CSV as well as copied, updated and/or potentially newly added CRDs. Within your new CSV, update the spec.version field to the desired new semantic version of your Operator.

Operator deploy tests (lemon/orange) test failures

All operator versions are already in catalog
You are trying to edit an existing operator version. It is not recommended. But there are some exceptions, where you just edit some description or link. In this case, repository maintainers can set appropriate labels to override such errors and approve release pipeline action to overwrite an existing operator.

Minor (cosmetics) changes

There are some case when only some minor changes to the existing operator are needed (like description update or an update of icon). In this case pipeline will set corresponding label and automatically handle such case.

from community-operators.

wallrj avatar wallrj commented on June 23, 2024

And I suppose the reason for not allowing e.g. ServiceAccount changes to existing bundles is that OLM would have no way to upgrade users who had already installed the existing bundle.
Here for example. The cert-manager 1.6.1 bundle will already be wide spread use. So if I change the ServiceAccount for 1.6.1 and if the CI allowed that, and if those updated packages got published to the OLM catalogue then we'd end up with users with slightly different OLM installations of cert-manager 1.6.1, which will cause confusion at best and may cause upgrade headaches at worst.

from community-operators.

J0zi avatar J0zi commented on June 23, 2024

@wallrj in case single version change, we are checking if change is cosmetic
In case of multiple versions change, we are creating new bundles again, but old bundles are still present and valid for previous versions of catalog.
Service account issue is just output from the newest operator-sdk. It wasn't there in older version. @camilamacedo86 already explained in #722 (comment)

from community-operators.

camilamacedo86 avatar camilamacedo86 commented on June 23, 2024

HI @wallrj,

You must solve the SA issue. Allow this configuration in the bundle was a bug since OLM will be unable to handle it.
So, I'd recommend you check all bundles against the latest SDK version 1.17.0 and the command operator-sdk bundle validate <bundle-path> --select-optional suite=operatorframework and fix the previous ones as well if that is the case. Please, create a PR for each bundle version if you need to do that.

c/c @mvalarh @J0zi

from community-operators.

github-actions avatar github-actions commented on June 23, 2024

This issue is stale because it has been open for 30 days with no activity.

from community-operators.

github-actions avatar github-actions commented on June 23, 2024

This issue was closed because it has been inactive for 30 days since being marked as stale.

from community-operators.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.