From e197201222bf9b4fcf8b39dfaa328056a8e60d9f Mon Sep 17 00:00:00 2001 From: Prudhvi Godithi Date: Thu, 25 Apr 2024 12:03:52 -0700 Subject: [PATCH] Update compatibility matrix and functional tests for compatibility Signed-off-by: Prudhvi Godithi --- .github/workflows/functional-tests.yaml | 8 +++++++- README.md | 13 +++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/functional-tests.yaml b/.github/workflows/functional-tests.yaml index 4cae2e6a..1e770ed1 100644 --- a/.github/workflows/functional-tests.yaml +++ b/.github/workflows/functional-tests.yaml @@ -44,6 +44,12 @@ jobs: cluster-helm-chart: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + version: + - 2.13.0 + - 1.3.16 steps: - name: Checkout code uses: actions/checkout@v4 @@ -77,7 +83,7 @@ jobs: ## Install helm chart helm install opensearch-operator ../charts/opensearch-operator --set manager.image.repository=controller --set manager.image.tag=latest --set manager.image.pullPolicy=IfNotPresent --namespace default --wait - helm install opensearch-cluster ../charts/opensearch-cluster --set OpenSearchClusterSpec.enabled=true --wait + helm install opensearch-cluster ../charts/opensearch-cluster --set opensearchCluster.general.version=${{ matrix.version }} --set opensearchCluster.dashboards.version=${{ matrix.version }} --wait cd functionaltests ## Run tests diff --git a/README.md b/README.md index 27ccdc36..fc285e9d 100644 --- a/README.md +++ b/README.md @@ -49,14 +49,11 @@ The Operator can be easily installed using Helm: The opensearch k8s operator aims to be compatible to all supported opensearch versions. Please check the table below for details: -| Operator Version | Min Supported Opensearch Version | Max supported Opensearch version | Comment | -|------------------|----------------------------------|----------------------------------|---------| -| 2.3 | 1.0 | 2.8 | | -| 2.2 | 1.0 | 2.5 | | -| 2.1 | 1.0 | 2.3 | | -| 2.0 | 1.0 | 2.3 | | -| 1.x | 1.0 | 1.x | | -| 0.x | 1.0 | 1.x | Beta | + +| Operator Version | Min Supported Opensearch Version | Max Supported Opensearch Version | Comment | +| ----------------------------------------------------------- | -------------------------------- | -------------------------------- | ------------------------------------------- | +| 2.6.0
2.5.1
2.5.0 | 1.3.x | latest 2.x | Supports the latest OpenSearch 2.x version. | + This table only lists versions that have been explicitly tested with the operator, the operator will not prevent you from using other versions. Newer minor versions (2.x) not listed here generally also work but you should proceed with caution and test it our in a non-production environment first.