From 315a4f1e4575a81a34bfb8e57349fe9af281e49e Mon Sep 17 00:00:00 2001 From: fcomte Date: Wed, 10 Aug 2022 11:59:35 +0000 Subject: [PATCH] lakefs --- charts/lakefs/Chart.yaml | 2 +- charts/lakefs/values.schema.json | 15 +++++++++++++-- charts/lakefs/values.yaml | 6 +++--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/charts/lakefs/Chart.yaml b/charts/lakefs/Chart.yaml index c18b89d6..e5edba21 100644 --- a/charts/lakefs/Chart.yaml +++ b/charts/lakefs/Chart.yaml @@ -22,7 +22,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: 0.0.5 +version: 0.0.6 # 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/lakefs/values.schema.json b/charts/lakefs/values.schema.json index 26c27ac0..72e1a1da 100644 --- a/charts/lakefs/values.schema.json +++ b/charts/lakefs/values.schema.json @@ -128,6 +128,17 @@ "overwriteDefaultWith": "{{project.password}}" } }, + "postgresPassword": { + "type": "string", + "title": "Password", + "default": "changeme", + "x-form": { + "value": "{{project.password}}" + }, + "x-onyxia": { + "overwriteDefaultWith": "{{project.password}}" + } + }, "database": { "description": "Name for the default database that is created when the image is first started.", "type": "string", @@ -171,11 +182,11 @@ "default": "admin", "x-form": { "hidden": true, - "value": "postgres://{{project.id}}:{{project.password}}@lakefs-db:5432/lakefs?sslmode=disable" + "value": "postgres://postgres:{{project.password}}@lakefs-db:5432/lakefs?sslmode=disable" }, "x-onyxia": { "hidden": true, - "overwriteDefaultWith": "postgres://{{project.id}}:{{project.password}}@lakefs-db:5432/lakefs?sslmode=disable" + "overwriteDefaultWith": "postgres://postgres:{{project.password}}@lakefs-db:5432/lakefs?sslmode=disable" } }, "authEncryptSecretKey": { diff --git a/charts/lakefs/values.yaml b/charts/lakefs/values.yaml index aa5395b0..531d42ce 100644 --- a/charts/lakefs/values.yaml +++ b/charts/lakefs/values.yaml @@ -6,7 +6,7 @@ global: auth: username: "admin" password: "changeme" - database: "mlflow" + database: "lakefs" lakefs: lakefsConfig: | @@ -21,8 +21,8 @@ lakefs: force_path_style: true discover_bucket_region: false secrets: - databaseConnectionString: postgres://user-tm8enk:ai6oi4lzpmcqpe7ckbt7@postgresql-54301:5432/defaultdb?sslmode=disable - authEncryptSecretKey: ai6oi4lzpmcqpe7ckbt7 + databaseConnectionString: postgres://admin:changeme@:5432/lakefs?sslmode=disable + authEncryptSecretKey: changeme security: networkPolicy: