From ea94cd0022382278f6d05434d654c21db3ab0cdc Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Thu, 7 Dec 2023 15:11:16 -0500 Subject: [PATCH 01/13] Updates values.yml to let user know how they can provided a custom admin password Signed-off-by: Darshit Chanpura --- charts/opensearch/values.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/opensearch/values.yaml b/charts/opensearch/values.yaml index 090cb0c8..5b816743 100644 --- a/charts/opensearch/values.yaml +++ b/charts/opensearch/values.yaml @@ -104,6 +104,10 @@ config: extraEnvs: [] # - name: MY_ENVIRONMENT_VAR # value: the_value_goes_here +# 2.12 onwards a custom strong password needs to be provided in order to setup demo admin user. +# Cluster will not spin-up without this unless demo config install is disabled. +# - name: initialAdminPassword +# value: # Allows you to load environment variables from kubernetes secret or config map envFrom: [] From c7ecc46647fd037c4e237c2f0b7997bcc53427fa Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Tue, 12 Dec 2023 22:25:02 -0500 Subject: [PATCH 02/13] Bumps helm charts version to 2.17.1 Signed-off-by: Darshit Chanpura --- charts/opensearch/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/opensearch/Chart.yaml b/charts/opensearch/Chart.yaml index a46d3189..54242ed9 100644 --- a/charts/opensearch/Chart.yaml +++ b/charts/opensearch/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.17.0 +version: 2.17.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to From ec3235a9d44839fc840671e1fa541dc55438026d Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Wed, 13 Dec 2023 15:12:15 -0500 Subject: [PATCH 03/13] Updates the info message to reflect env variable name change Signed-off-by: Darshit Chanpura --- charts/opensearch/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/opensearch/values.yaml b/charts/opensearch/values.yaml index 5b816743..044f5e6a 100644 --- a/charts/opensearch/values.yaml +++ b/charts/opensearch/values.yaml @@ -106,8 +106,8 @@ extraEnvs: [] # value: the_value_goes_here # 2.12 onwards a custom strong password needs to be provided in order to setup demo admin user. # Cluster will not spin-up without this unless demo config install is disabled. -# - name: initialAdminPassword -# value: +# - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD +# value: # Allows you to load environment variables from kubernetes secret or config map envFrom: [] From 1c18a495cb500f027beb4001ba7d26506f02b117 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Tue, 2 Jan 2024 13:53:46 -0500 Subject: [PATCH 04/13] Updates readme Signed-off-by: Darshit Chanpura --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c60804c4..2960ad02 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ -- [OpenSearch Project Helm-Charts](#helm-charts) +- [Helm-Charts](#helm-charts) - [Status](#status) - [Version and Branching](#version-and-branching) +- [Kubernetes Version Support](#kubernetes-version-support) - [Installation](#installation) + - [Notes About Default Installation](#notes-about-default-installation) - [Change Logs](#change-logs) - [Contributing](#contributing) - [Getting Help](#getting-help) @@ -71,6 +73,15 @@ extraEnvs: value: "true" ``` +OpenSearch version 2.12 and above require a custom strong password to be provided in order to setup demo admin user. Without this password the cluster would not spin up, unless demo config install is disabled. + +The custom admin password can be supplied by adding the environment variable `OPENSEARCH_INITIAL_ADMIN_PASSWORD` in the `value.yml`: +``` +extraEnvs: + - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD + value: +``` + ## Change Logs Please review the [OpenSearch](charts/opensearch/CHANGELOG.md) and the From ab248a77dbbb4d203c417d22e350a67b39da6cd2 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Mon, 29 Jan 2024 14:15:39 -0500 Subject: [PATCH 05/13] Increments chart version and updates comment and updates README Signed-off-by: Darshit Chanpura --- README.md | 25 +++++++++++++++---------- charts/opensearch/Chart.yaml | 2 +- charts/opensearch/values.yaml | 2 +- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7149173e..a5f46f7f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@ -- [OpenSearch Project Helm-Charts](#helm-charts) +- [Helm-Charts](#helm-charts) - [Status](#status) + - [Breaking Change](#breaking-change) - [Version and Branching](#version-and-branching) +- [Kubernetes Version Support](#kubernetes-version-support) - [Installation](#installation) + - [Notes About Default Installation](#notes-about-default-installation) - [Change Logs](#change-logs) - [Contributing](#contributing) - [Getting Help](#getting-help) @@ -20,6 +23,17 @@ A community repository for Helm Charts of OpenSearch Project. [![Lint and Test Charts](https://github.com/opensearch-project/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/opensearch-project/helm-charts/actions/workflows/lint-test.yaml) [![Release Charts](https://github.com/opensearch-project/helm-charts/actions/workflows/release.yaml/badge.svg)](https://github.com/opensearch-project/helm-charts/actions/workflows/release.yaml) + +#### Breaking Change +Chart version 2.18.0 and OpenSearch version 2.12 and above require a custom strong password to be provided in order to setup demo admin user. Without this password the cluster would not spin up, unless demo config install is disabled. + +The custom admin password can be supplied by adding the environment variable `OPENSEARCH_INITIAL_ADMIN_PASSWORD` in the `value.yml`: +``` +extraEnvs: + - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD + value: +``` + ## Version and Branching As of now, this helm-charts repository maintains 3 branches: * _main_ (Version is 2.x.x for both `version` and `appVersion` in `Chart.yaml`) @@ -71,15 +85,6 @@ extraEnvs: value: "true" ``` -OpenSearch version 2.12 and above require a custom strong password to be provided in order to setup demo admin user. Without this password the cluster would not spin up, unless demo config install is disabled. - -The custom admin password can be supplied by adding the environment variable `OPENSEARCH_INITIAL_ADMIN_PASSWORD` in the `value.yml`: -``` -extraEnvs: - - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD - value: -``` - ## Change Logs Please review the [OpenSearch](charts/opensearch/CHANGELOG.md) and the diff --git a/charts/opensearch/Chart.yaml b/charts/opensearch/Chart.yaml index 1387b071..1af49c83 100644 --- a/charts/opensearch/Chart.yaml +++ b/charts/opensearch/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.17.3 +version: 2.18.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/opensearch/values.yaml b/charts/opensearch/values.yaml index 69952a58..d827bfc8 100644 --- a/charts/opensearch/values.yaml +++ b/charts/opensearch/values.yaml @@ -104,7 +104,7 @@ config: extraEnvs: [] # - name: MY_ENVIRONMENT_VAR # value: the_value_goes_here -# 2.12 onwards a custom strong password needs to be provided in order to setup demo admin user. +# chartVersion 2.18.0 and OpenSearch 2.12 onwards a custom strong password needs to be provided in order to setup demo admin user. # Cluster will not spin-up without this unless demo config install is disabled. # - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD # value: From c0a250b85a61876a730b8baf4145cb07137ba97a Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Mon, 29 Jan 2024 14:27:14 -0500 Subject: [PATCH 06/13] Updates the comment Signed-off-by: Darshit Chanpura --- charts/opensearch/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/opensearch/values.yaml b/charts/opensearch/values.yaml index d827bfc8..dfa8d2c3 100644 --- a/charts/opensearch/values.yaml +++ b/charts/opensearch/values.yaml @@ -104,7 +104,7 @@ config: extraEnvs: [] # - name: MY_ENVIRONMENT_VAR # value: the_value_goes_here -# chartVersion 2.18.0 and OpenSearch 2.12 onwards a custom strong password needs to be provided in order to setup demo admin user. +# Chart version 2.18.0 and App Version OpenSearch 2.12.0 onwards a custom strong password needs to be provided in order to setup demo admin user. # Cluster will not spin-up without this unless demo config install is disabled. # - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD # value: From cf6175381e40a5e376b7cc213e091b0c59b61e4a Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Mon, 29 Jan 2024 14:31:42 -0500 Subject: [PATCH 07/13] Adds a changelog entry Signed-off-by: Darshit Chanpura --- README.md | 2 +- charts/opensearch/CHANGELOG.md | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a5f46f7f..e1a1c6f3 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ A community repository for Helm Charts of OpenSearch Project. #### Breaking Change -Chart version 2.18.0 and OpenSearch version 2.12 and above require a custom strong password to be provided in order to setup demo admin user. Without this password the cluster would not spin up, unless demo config install is disabled. +Chart version 2.18.0 and App Version OpenSearch version 2.12.0 and above require a custom strong password to be provided in order to setup demo admin user. Without this password the cluster would not spin up, unless demo config install is disabled. The custom admin password can be supplied by adding the environment variable `OPENSEARCH_INITIAL_ADMIN_PASSWORD` in the `value.yml`: ``` diff --git a/charts/opensearch/CHANGELOG.md b/charts/opensearch/CHANGELOG.md index df75f452..621304ed 100644 --- a/charts/opensearch/CHANGELOG.md +++ b/charts/opensearch/CHANGELOG.md @@ -12,7 +12,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed ### Fixed ### Security - +--- +## [2.18.0] +### Added +### Breaking + - Requires an initial admin password to be setup. Refer this github issue: https://github.com/opensearch-project/security/issues/3622 +### Changed +### Deprecated +### Removed +### Fixed +### Security --- ## [2.17.2] ### Added From b6cc97b06d6eefeafe388c1ba82574f6c3d810bf Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Mon, 29 Jan 2024 14:56:00 -0500 Subject: [PATCH 08/13] Updates readme TOC Signed-off-by: Darshit Chanpura --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e1a1c6f3..38b53ce9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -- [Helm-Charts](#helm-charts) +- [OpenSearch Project Helm-Charts](#opensearch-project-helm-charts) - [Status](#status) - [Breaking Change](#breaking-change) - [Version and Branching](#version-and-branching) @@ -14,7 +14,7 @@ - [Security](#security) - [License](#license) -## Helm-Charts +## OpenSearch Project Helm-Charts A community repository for Helm Charts of OpenSearch Project. From 59b9797ac1be6040e10dc599ad62ab102536fc86 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Mon, 29 Jan 2024 14:58:17 -0500 Subject: [PATCH 09/13] Updates location of breaking change Signed-off-by: Darshit Chanpura --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 38b53ce9..bc9a4b80 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ - [OpenSearch Project Helm-Charts](#opensearch-project-helm-charts) - [Status](#status) - - [Breaking Change](#breaking-change) - [Version and Branching](#version-and-branching) - [Kubernetes Version Support](#kubernetes-version-support) - [Installation](#installation) + - [Breaking Change](#breaking-change) - [Notes About Default Installation](#notes-about-default-installation) - [Change Logs](#change-logs) - [Contributing](#contributing) @@ -24,16 +24,6 @@ A community repository for Helm Charts of OpenSearch Project. [![Release Charts](https://github.com/opensearch-project/helm-charts/actions/workflows/release.yaml/badge.svg)](https://github.com/opensearch-project/helm-charts/actions/workflows/release.yaml) -#### Breaking Change -Chart version 2.18.0 and App Version OpenSearch version 2.12.0 and above require a custom strong password to be provided in order to setup demo admin user. Without this password the cluster would not spin up, unless demo config install is disabled. - -The custom admin password can be supplied by adding the environment variable `OPENSEARCH_INITIAL_ADMIN_PASSWORD` in the `value.yml`: -``` -extraEnvs: - - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD - value: -``` - ## Version and Branching As of now, this helm-charts repository maintains 3 branches: * _main_ (Version is 2.x.x for both `version` and `appVersion` in `Chart.yaml`) @@ -72,6 +62,16 @@ helm install my-deployment opensearch/ Please see the `README.md` in the [OpenSearch](charts/opensearch) and [OpenSearch Dashboards](charts/opensearch-dashboards) directories for installation instructions. +#### Breaking Change +Chart version 2.18.0 and App Version OpenSearch version 2.12.0 and above require a custom strong password to be provided in order to setup demo admin user. Without this password the cluster would not spin up, unless demo config install is disabled. + +The custom admin password can be supplied by adding the environment variable `OPENSEARCH_INITIAL_ADMIN_PASSWORD` in the `value.yml`: +``` +extraEnvs: + - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD + value: +``` + ### Notes About Default Installation By default, on startup, the `install_demo_configuration.sh` is runned via the `opensearch-docker-entrypoint.sh` script if `DISABLE_INSTALL_DEMO_CONFIG` is not `true`. From da1893448348e1022f8d0ecaac9df026dc4ba814 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Mon, 29 Jan 2024 15:17:53 -0500 Subject: [PATCH 10/13] Updates README and Changelog entry Signed-off-by: Darshit Chanpura --- README.md | 4 ++-- charts/opensearch/CHANGELOG.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bc9a4b80..bc6dc539 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ - [Version and Branching](#version-and-branching) - [Kubernetes Version Support](#kubernetes-version-support) - [Installation](#installation) - - [Breaking Change](#breaking-change) + - [Breaking Change](#breaking-change) - [Notes About Default Installation](#notes-about-default-installation) - [Change Logs](#change-logs) - [Contributing](#contributing) @@ -62,7 +62,7 @@ helm install my-deployment opensearch/ Please see the `README.md` in the [OpenSearch](charts/opensearch) and [OpenSearch Dashboards](charts/opensearch-dashboards) directories for installation instructions. -#### Breaking Change +### Breaking Change Chart version 2.18.0 and App Version OpenSearch version 2.12.0 and above require a custom strong password to be provided in order to setup demo admin user. Without this password the cluster would not spin up, unless demo config install is disabled. The custom admin password can be supplied by adding the environment variable `OPENSEARCH_INITIAL_ADMIN_PASSWORD` in the `value.yml`: diff --git a/charts/opensearch/CHANGELOG.md b/charts/opensearch/CHANGELOG.md index 621304ed..9460e551 100644 --- a/charts/opensearch/CHANGELOG.md +++ b/charts/opensearch/CHANGELOG.md @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.18.0] ### Added ### Breaking - - Requires an initial admin password to be setup. Refer this github issue: https://github.com/opensearch-project/security/issues/3622 + - Requires an initial admin password to be setup starting from App Version OpenSearch 2.12.0. Refer this github issue: https://github.com/opensearch-project/security/issues/3622 ### Changed ### Deprecated ### Removed From af6c7bafb1394442a5a5de6d0f85acf575fb5452 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Tue, 20 Feb 2024 18:40:51 -0500 Subject: [PATCH 11/13] Updates CHANGELOG Signed-off-by: Darshit Chanpura --- charts/opensearch/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/opensearch/CHANGELOG.md b/charts/opensearch/CHANGELOG.md index 449f121c..08be3e95 100644 --- a/charts/opensearch/CHANGELOG.md +++ b/charts/opensearch/CHANGELOG.md @@ -393,7 +393,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security -[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.17.3...HEAD +[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.18.0...HEAD +[2.18.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.17.3...opensearch-2.18.0 [2.17.3]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.17.2...opensearch-2.17.3 [2.17.2]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.17.1...opensearch-2.17.2 [2.17.1]: https://github.com/opensearch-project/helm-charts/compare/opensearch-2.17.0...opensearch-2.17.1 From b5810a8f6a5a9d37bc67e690aa63f4c2a29124a6 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Tue, 20 Feb 2024 18:45:23 -0500 Subject: [PATCH 12/13] Bumps dashboards chart version to 2.16.0 and app version to 2.12.0 Signed-off-by: Darshit Chanpura --- charts/opensearch-dashboards/CHANGELOG.md | 3 ++- charts/opensearch-dashboards/Chart.yaml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/opensearch-dashboards/CHANGELOG.md b/charts/opensearch-dashboards/CHANGELOG.md index 5e726ae1..4586d668 100644 --- a/charts/opensearch-dashboards/CHANGELOG.md +++ b/charts/opensearch-dashboards/CHANGELOG.md @@ -286,7 +286,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### Security -[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.15.0...HEAD +[Unreleased]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.16.0...HEAD +[2.15.1]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.15.1...opensearch-dashboards-2.16.0 [2.15.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.14.0...opensearch-dashboards-2.15.0 [2.14.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.13.0...opensearch-dashboards-2.14.0 [2.13.0]: https://github.com/opensearch-project/helm-charts/compare/opensearch-dashboards-2.12.0...opensearch-dashboards-2.13.0 diff --git a/charts/opensearch-dashboards/Chart.yaml b/charts/opensearch-dashboards/Chart.yaml index 2f713f0a..a1242a5f 100644 --- a/charts/opensearch-dashboards/Chart.yaml +++ b/charts/opensearch-dashboards/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.15.1 +version: 2.16.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "2.11.1" +appVersion: "2.12.0" maintainers: - name: DandyDeveloper From d0f34a7320d0d37c2db572919188f2eb112fd81a Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Tue, 20 Feb 2024 18:51:15 -0500 Subject: [PATCH 13/13] Fixes dashboards changelof Signed-off-by: Darshit Chanpura --- charts/opensearch-dashboards/CHANGELOG.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/charts/opensearch-dashboards/CHANGELOG.md b/charts/opensearch-dashboards/CHANGELOG.md index 4586d668..0851ce9d 100644 --- a/charts/opensearch-dashboards/CHANGELOG.md +++ b/charts/opensearch-dashboards/CHANGELOG.md @@ -7,16 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- ## [Unreleased] ### Added -- Added support for pod topology spread constraints in Dashboards ### Changed ### Deprecated ### Removed ### Fixed ### Security --- +## [2.16.0] +### Added +### Breaking +### Changed +- Updated OpenSearch Dashboards appVersion to 2.12.0 +### Deprecated +### Removed +### Fixed +### Security +--- ## [2.15.0] ### Added - Updated OpenSearch Dashboards appVersion to 2.11.1 +- Added support for pod topology spread constraints in Dashboards ### Changed ### Deprecated ### Removed