From 7628a0d184967eda4f32f894c97ec873ce5ae5ba Mon Sep 17 00:00:00 2001 From: Akash-Jain Date: Tue, 7 Nov 2023 16:09:00 +0530 Subject: [PATCH 1/2] feat: Add OS Deps; update mysql charts dep version --- charts/deps/Chart.lock | 14 +++++++------- charts/deps/Chart.yaml | 12 ++++++------ charts/deps/values.yaml | 28 ++++++++++++++-------------- charts/openmetadata/values.yaml | 4 ++-- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/charts/deps/Chart.lock b/charts/deps/Chart.lock index eab4b4c..69d7c7d 100644 --- a/charts/deps/Chart.lock +++ b/charts/deps/Chart.lock @@ -1,12 +1,12 @@ dependencies: - name: mysql - repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami - version: 9.7.1 -- name: elasticsearch - repository: https://helm.elastic.co - version: 8.5.1 + repository: https://charts.bitnami.com/bitnami + version: 9.7.2 - name: airflow repository: https://airflow-helm.github.io/charts version: 8.8.0 -digest: sha256:c4a68ed6f7480bda021d99bb39daf90ed686edeae3605389158b2fc5b9d05f7c -generated: "2023-10-26T15:20:32.348887+05:30" +- name: opensearch + repository: https://opensearch-project.github.io/helm-charts/ + version: 2.12.1 +digest: sha256:ef5c9862e7107bdf2ba81ffb30b9da74b6072dec41800a80723eb08bcdac6022 +generated: "2023-11-07T16:06:28.907894+05:30" diff --git a/charts/deps/Chart.yaml b/charts/deps/Chart.yaml index 2f1fd3b..a586051 100644 --- a/charts/deps/Chart.yaml +++ b/charts/deps/Chart.yaml @@ -60,14 +60,14 @@ icon: https://open-metadata.org/images/favicon.png # Add Dependencies of other charts dependencies: - name: mysql - version: "9.7.1" - repository: "https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami" + version: "9.7.2" + repository: "https://charts.bitnami.com/bitnami" condition: mysql.enabled -- name: elasticsearch - version: "8.5.1" - repository: "https://helm.elastic.co" - condition: elasticsearch.enabled - name: airflow version: "8.8.0" repository: "https://airflow-helm.github.io/charts" condition: airflow.enabled +- name: opensearch + version: "2.12.1" + repository: "https://opensearch-project.github.io/helm-charts/" + condition: opensearch.enabled diff --git a/charts/deps/values.yaml b/charts/deps/values.yaml index c00c96b..d8b715d 100644 --- a/charts/deps/values.yaml +++ b/charts/deps/values.yaml @@ -30,22 +30,22 @@ mysql: GRANT ALL PRIVILEGES ON airflow_db.* TO 'airflow_user'@'%' WITH GRANT OPTION; commit; -# ElasticSearch configurations for helm dependency -# you can find more details about this here https://artifacthub.io/packages/helm/elastic/elasticsearch -elasticsearch: +# OpenSearch Helm Dependency +# you can find more details about this here https://artifacthub.io/packages/helm/opensearch-project-helm-charts/opensearch/2.12.2 +opensearch: enabled: true - replicas: 1 - minimumMasterNodes: 1 - fullnameOverride: "elasticsearch" - imagePullPolicy: "Always" - esJavaOpts: "-Xmx1024m -Xms1024m" + clusterName: opensearch + fullnameOverride: opensearch + nodeGroup: "" + imagePullPolicy: Always + opensearchJavaOpts: "-Xmx1g -Xms1g" + persistence: + size: 30Gi protocol: http - createCert: false - esConfig: - elasticsearch.yml: | - xpack.security.enabled: false - maxUnavailable: 0 - clusterHealthCheckParams: "wait_for_status=yellow&timeout=20s" + config: + opensearch.yml: | + plugins.security.disabled: true + singleNode: true resources: requests: cpu: "100m" diff --git a/charts/openmetadata/values.yaml b/charts/openmetadata/values.yaml index a93b550..8591c48 100644 --- a/charts/openmetadata/values.yaml +++ b/charts/openmetadata/values.yaml @@ -23,8 +23,8 @@ openmetadata: port: 8585 adminPort: 8586 elasticsearch: - host: elasticsearch - searchType: elasticsearch + host: opensearch + searchType: opensearch port: 9200 scheme: http connectionTimeoutSecs: 5 From f84e34e7b7df57c41ad72203d50d8db3f2d14fcf Mon Sep 17 00:00:00 2001 From: Akash-Jain Date: Tue, 7 Nov 2023 16:11:22 +0530 Subject: [PATCH 2/2] fix(docs): Update README.md --- charts/openmetadata/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/openmetadata/README.md b/charts/openmetadata/README.md index d594747..b53beba 100644 --- a/charts/openmetadata/README.md +++ b/charts/openmetadata/README.md @@ -117,10 +117,10 @@ helm install openmetadata open-metadata/openmetadata --values <