working on feature versioning mechanism #169
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #170
Implement feature versioning mechanism that's bound to Elemental backend version, which is captured from the
elemental-operator
deployment
labelapp.kubernetes.io/version
.This impact areas such as:
-
BuildMedia
(support for RAW disk image build) which can be found inDashboard
view andmachine registration
detail view.machine registration
cloud config, which can be found inmachine registration
create view.To test:
elemental-operator-crds
manually, via kubectl (so it installs the dev version with the label):elemental-operator
manually, via kubectl:pkg/elemental/utils/feature-versioning.ts
lines18-37
, change version number there displayed and check impact on each of the areas mentioned (no support for RAW disk image build and smaller cloud config for machine registration)Screenshots of areas of impact