Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable kbrew installations with versioning support for the recipes #58

Open
suramya-shah opened this issue Apr 7, 2021 · 1 comment
Labels
recipe Related to recipe structure

Comments

@suramya-shah
Copy link

suramya-shah commented Apr 7, 2021

Currently, our kbrew recipe installation has support for a particular version of the operator based on what is written on the recipe YAML.
example current installation process kbrew install kafka-operator
It would be nice if we can have something like: kbrew install kafka-operator version

@PrasadG193 PrasadG193 added the recipe Related to recipe structure label Apr 8, 2021
@vishal-biyani
Copy link
Collaborator

Apart from the base chart/operators' version, there are other things that will need versioning that are tied to a specific version of the chart. Some of the following examples will illustrate with use case:

  1. Configurations specific to a version: For example, Version 1.2 of an application can be installed and works where as version 1.3 needs the creation of configmap as a pre-step before you actually install the app.

So the chart will have the following versions listed in the version field:

version: [1.2, 1.3]

And pre-steps will be blank for 1.2 but there will be a pre-step for version 1.3, something similar to (Don't go by exact syntax - I am just demonstrating concept here):

pre_install:
  - steps: 
      version_compatibility: 1.3
      # Create a configmap
      - |
  1. Similarly for the apps which will need pre install:
pre_install:
  - apps:
    - cert-manager@1.3.4
        version_compatibility: 1.3

We need to think of some mechanism so that the above is easy and clean and allows composing things for various versions seamlessly!

This also might help in solving #54 but not 100% sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe Related to recipe structure
Projects
None yet
Development

No branches or pull requests

3 participants