From 83b837ddc66d08ad75252f7b1ba18be665ef152c Mon Sep 17 00:00:00 2001 From: Akash Jain <15995028+akash-jain-10@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:22:38 +0530 Subject: [PATCH] fix: #222 (#224) * feat: Add Support for Azure as Secrets Manager * chore: Bump Chart Versions * fix: usage for `openmetadata-ops.sh` script for db-migrations * fix: Lint issues * fix: Lint issues * chore: Bump AppVersions to `1.3.2` * feat: Add provision for OIDC Confidential client configurations --- charts/deps/Chart.yaml | 4 +- charts/deps/values.yaml | 2 +- charts/openmetadata/Chart.yaml | 4 +- charts/openmetadata/README.md | 33 ++++- charts/openmetadata/templates/_helpers.tpl | 103 ++++++++++--- charts/openmetadata/templates/deployment.yaml | 2 - charts/openmetadata/templates/secrets.yaml | 16 ++ charts/openmetadata/values.schema.json | 139 +++++++++++++++++- charts/openmetadata/values.yaml | 47 +++++- 9 files changed, 314 insertions(+), 36 deletions(-) diff --git a/charts/deps/Chart.yaml b/charts/deps/Chart.yaml index dc6d476..bafb4cb 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.3.1 +version: 1.3.2 # 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.3.1" +appVersion: "1.3.2" home: https://open-metadata.org/ diff --git a/charts/deps/values.yaml b/charts/deps/values.yaml index 8bb7e34..fae8aee 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.3.1 + tag: 1.3.2 pullPolicy: "IfNotPresent" executor: "KubernetesExecutor" config: diff --git a/charts/openmetadata/Chart.yaml b/charts/openmetadata/Chart.yaml index d4c1bf4..83e2119 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.3.1 +version: 1.3.2 # 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.3.1" +appVersion: "1.3.2" home: https://open-metadata.org/ diff --git a/charts/openmetadata/README.md b/charts/openmetadata/README.md index aded4c6..40292d0 100644 --- a/charts/openmetadata/README.md +++ b/charts/openmetadata/README.md @@ -34,6 +34,7 @@ helm install openmetadata open-metadata/openmetadata --values <// + # Define the secret key ID as /// for AWS + # Define the secret key ID as -- for Azure prefix: "" # Add tags to the created resource, e.g., in AWS. Format is `[key1:value1,key2:value2,...]` tags: [] additionalParameters: enabled: false region: "" + # For AWS accessKeyId: secretRef: aws-access-key-secret secretKey: aws-key-secret secretAccessKey: secretRef: aws-secret-access-key-secret secretKey: aws-key-secret + # For Azure + clientId: + secretRef: azure-client-id-secret + secretKey: azure-key-secret + clientSecret: + secretRef: azure-client-secret + secretKey: azure-key-secret + tenantId: + secretRef: azure-tenant-id-secret + secretKey: azure-key-secret + vaultName: + secretRef: azure-vault-name-secret + secretKey: azure-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= \