Add version alias support #566
Conversation
|
|
|
Hi @yannuil. Thanks for your PR. I'm waiting for a istio-ecosystem or istio member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
dgn
left a comment
There was a problem hiding this comment.
looks good so far. minor issues
|
/cherry-pick release-1.0 |
|
@dgn: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/retest |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #566 +/- ##
==========================================
+ Coverage 74.23% 74.41% +0.18%
==========================================
Files 42 42
Lines 2550 2584 +34
==========================================
+ Hits 1893 1923 +30
- Misses 564 568 +4
Partials 93 93 ☔ View full report in Codecov by Sentry. |
|
Making a few more additions to this to make it compatible with our community/downstream fork setup. adding a /hold until this is ready |
|
I made some more changes, most notably removing the |
|
This is also now ready for consumption in the fork. We will need to move the vendor versions.yaml into the same module but apart from that the process should be unchanged. Will test this thoroughly next week to avoid having to go back and forth between community and fork. |
bb03a3d to
33c73bb
Compare
c4aeeaa to
129cf69
Compare
|
/test lint |
1 similar comment
|
/test lint |
Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
dgn
left a comment
There was a problem hiding this comment.
lgtm, just some minor comments. Note that I added a commit fixing the update-istio script
|
|
||
| version, err := istioversions.ResolveVersion(cni.Spec.Version) | ||
| if err != nil { | ||
| return fmt.Errorf("failed to apply profile: %w", err) |
There was a problem hiding this comment.
nit: wrong error message. should be "versions %s not found" like above
There was a problem hiding this comment.
I reworded all places where istionversion.Resolve is called to include more context on the resource names.
pkg/istioversions/versions.go
Outdated
| // AliasList is the alias for the version | ||
| AliasList []AliasInfo |
There was a problem hiding this comment.
I don't think we need this anymore.
There was a problem hiding this comment.
I will make it private as it is used in the TestInit for verifying if all aliases are properly referenced.
There was a problem hiding this comment.
But why have code just for test purposes if the test can easily find the aliases by itself?
There was a problem hiding this comment.
I agree it shouldn't be there, but let's fix it in a follow-up, I'd like to produce some RC builds
Signed-off-by: Yann Liu <yannliu@redhat.com>
Signed-off-by: Yann Liu <yannliu@redhat.com>
Signed-off-by: Yann Liu <yannliu@redhat.com>
Signed-off-by: Yann Liu <yannliu@redhat.com>
Signed-off-by: Yann Liu <yannliu@redhat.com>
Signed-off-by: Yann Liu <yannliu@redhat.com>
In versions.yaml, `Ref` is now a reference to the name of a version. Signed-off-by: Yann Liu <yannliu@redhat.com>
| ztunnelselectValues=$(yq '.versions[] | select(.version >= "1.24.0") | ", \"urn:alm:descriptor:com.tectonic.ui:select:" + .name + "\""' "${VERSIONS_YAML_FILE}" | tr -d '\n') | ||
| ztunnelversionsEnum=$(yq '.versions[] | select(.version >= "1.24.0") | .name' "${VERSIONS_YAML_FILE}" | tr '\n' ';' | sed 's/;$//g') | ||
| ztunnelversions=$(yq '.versions[] | select(.version >= "1.24.0") | .name' "${VERSIONS_YAML_FILE}" | tr '\n' ',' | sed -e 's/,/, /g' -e 's/, $//g') | ||
| ztunnelselectValues=$(yq '.versions[] | select(.version >= "1.24.0" or .ref >= "v1.24.0") | ", \"urn:alm:descriptor:com.tectonic.ui:select:" + .name + "\""' "${VERSIONS_YAML_PATH}" | tr -d '\n') |
There was a problem hiding this comment.
This .ref >= "v1.24.0" won't work correctly, but neither will the version >= "1.24.0", which was here previously.
There was a problem hiding this comment.
it's not perfect but it works for the time being. I think it's okay to keep it as it is as this is only temporary anyway until pre-1.24 versions drop out of support
luksa
left a comment
There was a problem hiding this comment.
LGTM, but I do have a few reservations about the istioversion package. Needs refactoring; and the tests also need to be simplified and improved. Let's do this ASAP in a follow-up PR.
|
@dgn: #566 failed to apply on top of branch "release-1.0": DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@dgn: new issue created for failed cherrypick: #661 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
* Refactor version management to use new istioversions package - Moved supportedversion into pkg/istioversions - Embeded versions.yaml into the binary - Updated Makefile and scripts to reference the new versions.yaml location in pkg/istioversions. - Replaced instances of supportedversion with istioversions in various controller tests and integration tests. Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Add alias support in istioversions Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Introduce alias in the controller Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix tests for alias Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix version value format Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Add comments to pkg/istioversions/versions.go Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Support for different versions YAML files Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Automatically update aliases Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Remove 'latest' and create an alias called 'master' Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Include alias as part of the installation tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Resolve version name for IstioCNI and ZTunnel Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update types validation Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Apply suggestions in the reviews Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Change 'alias' to 'aliases' in version.yaml Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Skip sample pod specs when running under an alias version Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Make consistent naming Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix test style Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Change version.yaml structure Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests and rename Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Remove version alias in IstioRevision Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix a test The error was "no namespace specified" and the reconciliation of the active revision path was never entered. A namespace is added into the spec and the error in the `reconcileActiveRevision` path is triggered. Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix a rebase error Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update field name to use `ref` Signed-off-by: Yann Liu <yannliu@redhat.com> * Simplify `versions.yaml` loading logic Signed-off-by: Yann Liu <yannliu@redhat.com> * Lint Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix list_only_latest() func Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Introduce VERSIONS_YAML_PATH Signed-off-by: Yann Liu <yannliu@redhat.com> * Rename to istioversion Signed-off-by: Yann Liu <yannliu@redhat.com> * Reword error message Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix update_alias() Signed-off-by: Yann Liu <yannliu@redhat.com> * Update package path references Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix import error Signed-off-by: Yann Liu <yannliu@redhat.com> * Update versions.yaml definition In versions.yaml, `Ref` is now a reference to the name of a version. Signed-off-by: Yann Liu <yannliu@redhat.com> --------- Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Daniel Grimm <dgrimm@redhat.com>
* Refactor version management to use new istioversions package - Moved supportedversion into pkg/istioversions - Embeded versions.yaml into the binary - Updated Makefile and scripts to reference the new versions.yaml location in pkg/istioversions. - Replaced instances of supportedversion with istioversions in various controller tests and integration tests. Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Add alias support in istioversions Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Introduce alias in the controller Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix tests for alias Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix version value format Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Add comments to pkg/istioversions/versions.go Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Support for different versions YAML files Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Automatically update aliases Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Remove 'latest' and create an alias called 'master' Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Include alias as part of the installation tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Resolve version name for IstioCNI and ZTunnel Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update types validation Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Apply suggestions in the reviews Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Change 'alias' to 'aliases' in version.yaml Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Skip sample pod specs when running under an alias version Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Make consistent naming Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix test style Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Change version.yaml structure Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests and rename Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Remove version alias in IstioRevision Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix a test The error was "no namespace specified" and the reconciliation of the active revision path was never entered. A namespace is added into the spec and the error in the `reconcileActiveRevision` path is triggered. Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix a rebase error Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update field name to use `ref` Signed-off-by: Yann Liu <yannliu@redhat.com> * Simplify `versions.yaml` loading logic Signed-off-by: Yann Liu <yannliu@redhat.com> * Lint Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix list_only_latest() func Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Introduce VERSIONS_YAML_PATH Signed-off-by: Yann Liu <yannliu@redhat.com> * Rename to istioversion Signed-off-by: Yann Liu <yannliu@redhat.com> * Reword error message Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix update_alias() Signed-off-by: Yann Liu <yannliu@redhat.com> * Update package path references Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix import error Signed-off-by: Yann Liu <yannliu@redhat.com> * Update versions.yaml definition In versions.yaml, `Ref` is now a reference to the name of a version. Signed-off-by: Yann Liu <yannliu@redhat.com> --------- Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Marko Lukša <mluksa@redhat.com>
* Refactor version management to use new istioversions package - Moved supportedversion into pkg/istioversions - Embeded versions.yaml into the binary - Updated Makefile and scripts to reference the new versions.yaml location in pkg/istioversions. - Replaced instances of supportedversion with istioversions in various controller tests and integration tests. * Add alias support in istioversions * Introduce alias in the controller * Fix tests for alias * Fix version value format * Add comments to pkg/istioversions/versions.go * Support for different versions YAML files * Automatically update aliases * Remove 'latest' and create an alias called 'master' * Include alias as part of the installation tests * Update tests * Resolve version name for IstioCNI and ZTunnel * Update tests * Update types validation * Apply suggestions in the reviews * Change 'alias' to 'aliases' in version.yaml * Skip sample pod specs when running under an alias version * Make consistent naming * Fix test style * Change version.yaml structure * Update tests and rename * Fix tests * Remove version alias in IstioRevision * Fix a test The error was "no namespace specified" and the reconciliation of the active revision path was never entered. A namespace is added into the spec and the error in the `reconcileActiveRevision` path is triggered. * Fix a rebase error * Update field name to use `ref` * Simplify `versions.yaml` loading logic * Lint * Fix list_only_latest() func * Introduce VERSIONS_YAML_PATH * Rename to istioversion * Reword error message * Fix update_alias() * Update package path references * Fix import error * Update versions.yaml definition In versions.yaml, `Ref` is now a reference to the name of a version. --------- Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Yann Liu <yannliu@redhat.com> Co-authored-by: Daniel Grimm <dgrimm@redhat.com>
* Refactor version management to use new istioversions package - Moved supportedversion into pkg/istioversions - Embeded versions.yaml into the binary - Updated Makefile and scripts to reference the new versions.yaml location in pkg/istioversions. - Replaced instances of supportedversion with istioversions in various controller tests and integration tests. Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Add alias support in istioversions Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Introduce alias in the controller Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix tests for alias Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix version value format Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Add comments to pkg/istioversions/versions.go Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Support for different versions YAML files Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Automatically update aliases Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Remove 'latest' and create an alias called 'master' Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Include alias as part of the installation tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Resolve version name for IstioCNI and ZTunnel Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update types validation Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Apply suggestions in the reviews Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Change 'alias' to 'aliases' in version.yaml Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Skip sample pod specs when running under an alias version Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Make consistent naming Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix test style Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Change version.yaml structure Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests and rename Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Remove version alias in IstioRevision Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix a test The error was "no namespace specified" and the reconciliation of the active revision path was never entered. A namespace is added into the spec and the error in the `reconcileActiveRevision` path is triggered. Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix a rebase error Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update field name to use `ref` Signed-off-by: Yann Liu <yannliu@redhat.com> * Simplify `versions.yaml` loading logic Signed-off-by: Yann Liu <yannliu@redhat.com> * Lint Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix list_only_latest() func Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Introduce VERSIONS_YAML_PATH Signed-off-by: Yann Liu <yannliu@redhat.com> * Rename to istioversion Signed-off-by: Yann Liu <yannliu@redhat.com> * Reword error message Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix update_alias() Signed-off-by: Yann Liu <yannliu@redhat.com> * Update package path references Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix import error Signed-off-by: Yann Liu <yannliu@redhat.com> * Update versions.yaml definition In versions.yaml, `Ref` is now a reference to the name of a version. Signed-off-by: Yann Liu <yannliu@redhat.com> --------- Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Marko Lukša <mluksa@redhat.com>
* upstream/release-1.0: Make environment variable consistent (openshift-service-mesh#664) Add multi control plane e2e tests (openshift-service-mesh#610) (openshift-service-mesh#670) Ensure e2e tests use the correct versions yaml file (openshift-service-mesh#667) (openshift-service-mesh#669) Add version alias support (openshift-service-mesh#566) (openshift-service-mesh#662) Add missing link for: Example using the RevisionBased strategy and an IstioRevisionTag # Conflicts: # bundle/manifests/sailoperator.clusterserviceversion.yaml
* upstream-eco/main: Ensure e2e tests use the correct versions yaml file (istio-ecosystem#667) Make environment variable consistent (istio-ecosystem#663) Add contributor meeting information to the contributor.md file (istio-ecosystem#623) Add version alias support (istio-ecosystem#566)
Co-authored-by: openshift-service-mesh-bot <null>
* Refactor version management to use new istioversions package - Moved supportedversion into pkg/istioversions - Embeded versions.yaml into the binary - Updated Makefile and scripts to reference the new versions.yaml location in pkg/istioversions. - Replaced instances of supportedversion with istioversions in various controller tests and integration tests. Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Add alias support in istioversions Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Introduce alias in the controller Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix tests for alias Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix version value format Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Add comments to pkg/istioversions/versions.go Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Support for different versions YAML files Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Automatically update aliases Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Remove 'latest' and create an alias called 'master' Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Include alias as part of the installation tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Resolve version name for IstioCNI and ZTunnel Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update types validation Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Apply suggestions in the reviews Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Change 'alias' to 'aliases' in version.yaml Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Skip sample pod specs when running under an alias version Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Make consistent naming Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix test style Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Change version.yaml structure Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update tests and rename Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix tests Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Remove version alias in IstioRevision Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix a test The error was "no namespace specified" and the reconciliation of the active revision path was never entered. A namespace is added into the spec and the error in the `reconcileActiveRevision` path is triggered. Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Fix a rebase error Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Update field name to use `ref` Signed-off-by: Yann Liu <yannliu@redhat.com> * Simplify `versions.yaml` loading logic Signed-off-by: Yann Liu <yannliu@redhat.com> * Lint Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix list_only_latest() func Signed-off-by: Daniel Grimm <dgrimm@redhat.com> * Introduce VERSIONS_YAML_PATH Signed-off-by: Yann Liu <yannliu@redhat.com> * Rename to istioversion Signed-off-by: Yann Liu <yannliu@redhat.com> * Reword error message Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix update_alias() Signed-off-by: Yann Liu <yannliu@redhat.com> * Update package path references Signed-off-by: Yann Liu <yannliu@redhat.com> * Fix import error Signed-off-by: Yann Liu <yannliu@redhat.com> * Update versions.yaml definition In versions.yaml, `Ref` is now a reference to the name of a version. Signed-off-by: Yann Liu <yannliu@redhat.com> --------- Signed-off-by: Yann Liu <yannliu@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com> Co-authored-by: Daniel Grimm <dgrimm@redhat.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
What type of PR is this?
This PR addresses #405 .