Skip to content

Commit

Permalink
Update compatibility matrix and functional tests for compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
  • Loading branch information
prudhvigodithi committed Apr 25, 2024
1 parent 3ebcf30 commit da2d115
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/functional-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -77,8 +83,8 @@ 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 }} --dry-run
cd functionaltests
## Run tests
go test ./helmtests -timeout 15m
# go test ./helmtests -timeout 15m
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ 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<br>2.5.1<br>2.5.0<br>2.4.0<br>2.3.2<br>2.3.1<br>2.3.0 | 1.3.x | latest 2.x | Supports the latest OpenSearch 2.x version. |
| 2.2.1<br>2.2.0 | 1.3 | 2.5.0 | Supports upto 2.5.0 version of OpenSearch. |
| 2.1.1<br>2.1.0<br>2.0.1<br>2.0 | 1.0 | 2.3 | Supports upto 2.3.0 version of OpenSearch. |
| 1.1<br>1.0<br> 0.9-beta | 1.0 | 1.x | Beta 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.

Expand Down

0 comments on commit da2d115

Please sign in to comment.