Coder Social home page Coder Social logo

Comments (2)

JohnStrunk avatar JohnStrunk commented on May 20, 2024

In both cases below, it is necessary to investigate installing updates (using v1) over top of v1beta1.

Helm

In the case of Helm, we currently deploy the CRD via its crds directory. Unfortunately, that mechanism doesn't have any pre-processing that would allow us to dynamically choose the proper apiextensions version.

Since we don't actually use the CR in the chart, it's not necessary for it to be deployed via the crds directory. Instead, it should be possible to move it into the templates directory and choose the correct version to deploy based on .Capabilities.KubeVersion.Version like we do here:

{{- if semverCompare ">=1.14" .Capabilities.KubeVersion.Version }}

OLM

I think this may come down to specifying a min kube version and stranding old clusters on old versions of the operator. This may be ok since OLM is primarily targeted at OpenShift and users would be expected to follow the upgrade cycle there.
The result would be that old clusters would stop getting operator updates (except for backported bugfix releases), but once the cluster is updated, operator updates would resume.

from snapscheduler.

JohnStrunk avatar JohnStrunk commented on May 20, 2024

Removal of v1beta1 has been moved to kube v1.22:
kubernetes/kubernetes#82022 (comment)

from snapscheduler.

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.