From 14fb6d4786e7d4e1625dd388a4c966581b6034b4 Mon Sep 17 00:00:00 2001 From: Akash Jain <15995028+akash-jain-10@users.noreply.github.com> Date: Wed, 18 May 2022 13:16:52 +0530 Subject: [PATCH] Feat: 0.10.1 Release (#41) --- charts/deps/Chart.yaml | 4 ++-- charts/deps/values.yaml | 2 +- charts/openmetadata/Chart.yaml | 4 ++-- charts/openmetadata/README.md | 7 ++++++- .../templates/check-db-migrations-job-hook.yaml | 10 ++++++++++ charts/openmetadata/templates/deployment.yaml | 10 ++++++++++ charts/openmetadata/values.yaml | 8 ++++++++ 7 files changed, 39 insertions(+), 6 deletions(-) diff --git a/charts/deps/Chart.yaml b/charts/deps/Chart.yaml index 03bdbc06..252ba8aa 100644 --- a/charts/deps/Chart.yaml +++ b/charts/deps/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: 0.0.21 +version: 0.0.22 # 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: "0.10.0" +appVersion: "0.10.1" home: https://open-metadata.org/ diff --git a/charts/deps/values.yaml b/charts/deps/values.yaml index e14c83a7..90986c7c 100644 --- a/charts/deps/values.yaml +++ b/charts/deps/values.yaml @@ -51,7 +51,7 @@ airflow: airflow: image: repository: openmetadata/airflow - tag: 0.10.0 + tag: 0.10.1 pullPolicy: "IfNotPresent" executor: "KubernetesExecutor" config: diff --git a/charts/openmetadata/Chart.yaml b/charts/openmetadata/Chart.yaml index 76ce6a6c..8d601170 100644 --- a/charts/openmetadata/Chart.yaml +++ b/charts/openmetadata/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: 0.0.21 +version: 0.0.22 # 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: "0.10.0" +appVersion: "0.10.1" home: https://open-metadata.org/ diff --git a/charts/openmetadata/README.md b/charts/openmetadata/README.md index 8d800f2e..d19672ba 100644 --- a/charts/openmetadata/README.md +++ b/charts/openmetadata/README.md @@ -89,6 +89,11 @@ This is achieved by Helm Hooks currently. | global.elasticsearch.trustStore.path | string | `Empty String` | | global.elasticsearch.trustStore.password.secretRef | string | `elasticsearch-truststore-secrets` | | global.elasticsearch.trustStore.password.secretKey | string | `openmetadata-elasticsearch-truststore-password` | +| global.jwtTokenConfiguration.enabled | bool | `false` | +| global.jwtTokenConfiguration.rsapublicKeyFilePath | string | `Empty String` | +| global.jwtTokenConfiguration.rsaprivateKeyFilePath | string | `Empty String` | +| global.jwtTokenConfiguration.jwtissuer | string | `open-metadata.org` | +| global.jwtTokenConfiguration.keyId | string | `Gb389a-9f76-gdjs-a92j-0242bk94356` | | global.mysql.auth.password.secretRef | string | `mysql-secrets` | | global.mysql.auth.password.secretKey | string | `openmetadata-mysql-password` | | global.mysql.auth.username | string | `openmetadata_user` | @@ -110,7 +115,7 @@ This is achieved by Helm Hooks currently. | fullnameOverride | string | `"openmetadata"` | | image.pullPolicy | string | `"Always"` | | image.repository | string | `"openmetadata/server"` | -| image.tag | string | `0.10.0` | +| image.tag | string | `0.10.1` | | imagePullSecrets | list | `[]` | | livenessProbe.initialDelaySeconds | int | `60` | | livenessProbe.periodSeconds | int | `30` | diff --git a/charts/openmetadata/templates/check-db-migrations-job-hook.yaml b/charts/openmetadata/templates/check-db-migrations-job-hook.yaml index bb146854..fe1db370 100644 --- a/charts/openmetadata/templates/check-db-migrations-job-hook.yaml +++ b/charts/openmetadata/templates/check-db-migrations-job-hook.yaml @@ -33,6 +33,16 @@ spec: value: "{{ .Values.global.elasticsearch.port }}" - name: ELASTICSEARCH_SCHEME value: "{{ .Values.global.elasticsearch.scheme }}" + {{- if .Values.global.jwtTokenConfiguration.enabled }} + - name: RSA_PUBLIC_KEY_FILE_PATH + value: "{{ .Values.global.jwtTokenConfiguration.rsapublicKeyFilePath }}" + - name: RSA_PRIVATE_KEY_FILE_PATH + value: "{{ .Values.global.jwtTokenConfiguration.rsaprivateKeyFilePath }}" + - name: JWT_ISSUER + value: "{{ .Values.global.jwtTokenConfiguration.jwtissuer }}" + - name: JWT_KEY_ID + value: "{{ .Values.global.jwtTokenConfiguration.keyId }}" + {{- end }} {{- if .Values.global.elasticsearch.auth.enabled -}} {{- with .Values.global.elasticsearch.auth }} - name: ELASTICSEARCH_USER diff --git a/charts/openmetadata/templates/deployment.yaml b/charts/openmetadata/templates/deployment.yaml index 73bf26ab..fdd36d39 100644 --- a/charts/openmetadata/templates/deployment.yaml +++ b/charts/openmetadata/templates/deployment.yaml @@ -87,6 +87,16 @@ spec: value: "{{ .Values.global.authorizer.botPrincipals | toStrings }}" - name: AUTHORIZER_PRINCIPAL_DOMAIN value: "{{ .Values.global.authorizer.principalDomain }}" + {{- if .Values.global.jwtTokenConfiguration.enabled }} + - name: RSA_PUBLIC_KEY_FILE_PATH + value: "{{ .Values.global.jwtTokenConfiguration.rsapublicKeyFilePath }}" + - name: RSA_PRIVATE_KEY_FILE_PATH + value: "{{ .Values.global.jwtTokenConfiguration.rsaprivateKeyFilePath }}" + - name: JWT_ISSUER + value: "{{ .Values.global.jwtTokenConfiguration.jwtissuer }}" + - name: JWT_KEY_ID + value: "{{ .Values.global.jwtTokenConfiguration.keyId }}" + {{- end }} - name: ELASTICSEARCH_HOST value: "{{ .Values.global.elasticsearch.host }}" - name: ELASTICSEARCH_PORT diff --git a/charts/openmetadata/values.yaml b/charts/openmetadata/values.yaml index 286874d5..e6c819b9 100644 --- a/charts/openmetadata/values.yaml +++ b/charts/openmetadata/values.yaml @@ -98,6 +98,14 @@ global: authority: "" clientId: "" callbackUrl: "" + jwtTokenConfiguration: + enabled: false + # File Path on Airflow Container + rsapublicKeyFilePath: "" + # File Path on Airflow Container + rsaprivateKeyFilePath: "" + jwtissuer: "open-metadata.org" + keyId: "Gb389a-9f76-gdjs-a92j-0242bk94356" # Example Google SSO Auth Config # authorizer: