From 07804bb3f3b99d29df4c72211855bd3c463d25aa Mon Sep 17 00:00:00 2001 From: Pablo Takara Date: Mon, 26 Aug 2024 14:25:24 +0200 Subject: [PATCH 1/5] Prepare Release 1.5.0 --- charts/deps/Chart.yaml | 4 +-- charts/deps/values.yaml | 2 +- charts/openmetadata/Chart.yaml | 4 +-- charts/openmetadata/README.md | 2 +- charts/openmetadata/templates/_helpers.tpl | 16 +++++++++ charts/openmetadata/templates/secrets.yaml | 10 ++++++ charts/openmetadata/values.schema.json | 42 ++++++++++++++++++++++ charts/openmetadata/values.yaml | 21 +++++++++-- 8 files changed, 93 insertions(+), 8 deletions(-) diff --git a/charts/deps/Chart.yaml b/charts/deps/Chart.yaml index 8b075676..27200223 100644 --- a/charts/deps/Chart.yaml +++ b/charts/deps/Chart.yaml @@ -16,13 +16,13 @@ type: application # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.4.8 +version: 1.5.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: "1.4.8" +appVersion: "1.5.0" home: https://open-metadata.org/ diff --git a/charts/deps/values.yaml b/charts/deps/values.yaml index 4041342c..8ea7e7e1 100644 --- a/charts/deps/values.yaml +++ b/charts/deps/values.yaml @@ -61,7 +61,7 @@ airflow: airflow: image: repository: docker.getcollate.io/openmetadata/ingestion - tag: 1.4.8 + tag: 1.5.0 pullPolicy: "IfNotPresent" executor: "KubernetesExecutor" config: diff --git a/charts/openmetadata/Chart.yaml b/charts/openmetadata/Chart.yaml index b8bf31b3..4269a6ec 100644 --- a/charts/openmetadata/Chart.yaml +++ b/charts/openmetadata/Chart.yaml @@ -16,13 +16,13 @@ type: application # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.4.8 +version: 1.5.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: "1.4.8" +appVersion: "1.5.0" home: https://open-metadata.org/ diff --git a/charts/openmetadata/README.md b/charts/openmetadata/README.md index b2db36eb..915b1335 100644 --- a/charts/openmetadata/README.md +++ b/charts/openmetadata/README.md @@ -258,7 +258,7 @@ helm install openmetadata open-metadata/openmetadata --values <// for AWS # Define the secret key ID as -- for Azure @@ -302,6 +310,13 @@ openmetadata: # vaultName: # secretRef: azure-vault-name-secret # secretKey: azure-key-secret + # For GCP + projectId: + secretRef: "" + secretkey: "" + # projectId: + # secretRef: gcp-project-id-secret + # secretKey: gcp-key-secret # You can create Kubernetes secrets from AWS Credentials with the below command # kubectl create secret generic aws-key-secret \ # --from-literal=aws-access-key-secret= \ @@ -334,6 +349,8 @@ openmetadata: permissionPolicy: enabled: false option: "" + cacheControl: "" + pragma: "" networkPolicy: # If networkPolicy is true, following values can be set From a319277373f4aa5dd06cbd7b1beacc8babb28ee1 Mon Sep 17 00:00:00 2001 From: Pablo Takara Date: Mon, 26 Aug 2024 14:48:38 +0200 Subject: [PATCH 2/5] Fix typo --- charts/openmetadata/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/openmetadata/values.yaml b/charts/openmetadata/values.yaml index 08988abf..82677093 100644 --- a/charts/openmetadata/values.yaml +++ b/charts/openmetadata/values.yaml @@ -313,7 +313,7 @@ openmetadata: # For GCP projectId: secretRef: "" - secretkey: "" + secretKey: "" # projectId: # secretRef: gcp-project-id-secret # secretKey: gcp-key-secret From 58a3310af0026e29978b3cb572510e88a0407910 Mon Sep 17 00:00:00 2001 From: Pablo Takara Date: Mon, 26 Aug 2024 14:59:06 +0200 Subject: [PATCH 3/5] Fix typo --- charts/openmetadata/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/openmetadata/templates/_helpers.tpl b/charts/openmetadata/templates/_helpers.tpl index 89816279..eb1bd299 100644 --- a/charts/openmetadata/templates/_helpers.tpl +++ b/charts/openmetadata/templates/_helpers.tpl @@ -176,7 +176,7 @@ OpenMetadata Configurations Azure Additional Parameters Environment Variables fo {{/* OpenMetadata Configurations GCP Additional Parameters Environment Variables for Secret Manager */}} -{{- define "OpenMetadata.configs.secretManager.azure.additionalParameters" -}} +{{- define "OpenMetadata.configs.secretManager.gcp.additionalParameters" -}} {{- with .Values.openmetadata.config.secretsManager.additionalParameters.projectId }} {{- if .secretRef }} - name: OM_SM_POROJECT_ID From bb408f4cf65b1f7421907d23244b7ba57802a8d5 Mon Sep 17 00:00:00 2001 From: Pablo Takara Date: Mon, 26 Aug 2024 15:43:36 +0200 Subject: [PATCH 4/5] avoid adding templates as an attribute ot the chart --- charts/openmetadata/templates/secrets.yaml | 1 - charts/openmetadata/values.schema.json | 3 --- charts/openmetadata/values.yaml | 1 - 3 files changed, 5 deletions(-) diff --git a/charts/openmetadata/templates/secrets.yaml b/charts/openmetadata/templates/secrets.yaml index bad0987e..ed1db612 100644 --- a/charts/openmetadata/templates/secrets.yaml +++ b/charts/openmetadata/templates/secrets.yaml @@ -136,7 +136,6 @@ data: {{- with .Values.openmetadata.config.smtpConfig }} AUTHORIZER_ENABLE_SMTP: {{ .enableSmtpServer | quote | b64enc }} OM_EMAIL_ENTITY: {{ .emailingEntity | quote | b64enc }} - TEMPLATES: {{ .templates | quote | b64enc }} OM_SUPPORT_URL: {{ .supportUrl | quote | b64enc }} SMTP_SERVER_STRATEGY: {{ .transportationStrategy | quote | b64enc }} OPENMETADATA_SERVER_URL: {{ .openMetadataUrl | quote | b64enc }} diff --git a/charts/openmetadata/values.schema.json b/charts/openmetadata/values.schema.json index fae7401e..e6d26511 100644 --- a/charts/openmetadata/values.schema.json +++ b/charts/openmetadata/values.schema.json @@ -1089,9 +1089,6 @@ "emailingEntity": { "type": "string" }, - "templates": { - "type": "string" - }, "enableSmtpServer": { "type": "boolean" }, diff --git a/charts/openmetadata/values.yaml b/charts/openmetadata/values.yaml index 82677093..05cd2573 100644 --- a/charts/openmetadata/values.yaml +++ b/charts/openmetadata/values.yaml @@ -249,7 +249,6 @@ openmetadata: smtpConfig: enableSmtpServer: false emailingEntity: "OpenMetadata" - templates: "openmetadata" supportUrl: "https://slack.open-metadata.org" transportationStrategy: "SMTP_TLS" openMetadataUrl: "http://openmetadata:8585" From 75ba9532296c3ac2415023e2a23d117af25bf869 Mon Sep 17 00:00:00 2001 From: IceS2 Date: Mon, 26 Aug 2024 16:07:08 +0200 Subject: [PATCH 5/5] Update charts/openmetadata/templates/_helpers.tpl Co-authored-by: Matias Puerta --- charts/openmetadata/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/openmetadata/templates/_helpers.tpl b/charts/openmetadata/templates/_helpers.tpl index eb1bd299..0471087a 100644 --- a/charts/openmetadata/templates/_helpers.tpl +++ b/charts/openmetadata/templates/_helpers.tpl @@ -179,7 +179,7 @@ OpenMetadata Configurations GCP Additional Parameters Environment Variables for {{- define "OpenMetadata.configs.secretManager.gcp.additionalParameters" -}} {{- with .Values.openmetadata.config.secretsManager.additionalParameters.projectId }} {{- if .secretRef }} -- name: OM_SM_POROJECT_ID +- name: OM_SM_PROJECT_ID valueFrom: secretKeyRef: name: {{ .secretRef }}