From 79bddf02c3900fffaf9a23655717270dfabf148b Mon Sep 17 00:00:00 2001 From: Gaspard FEREY Date: Tue, 10 Dec 2024 14:09:12 +0100 Subject: [PATCH] [Superset] Retitled configuration categories --- charts/superset/Chart.yaml | 2 +- charts/superset/values.schema.json | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/charts/superset/Chart.yaml b/charts/superset/Chart.yaml index 2f41763..ee47309 100644 --- a/charts/superset/Chart.yaml +++ b/charts/superset/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.1.7 +version: 0.1.8 # 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/superset/values.schema.json b/charts/superset/values.schema.json index 70c9abf..bb2b308 100644 --- a/charts/superset/values.schema.json +++ b/charts/superset/values.schema.json @@ -1,24 +1,22 @@ { - "$schema": "http://json-schema.org/schema#", + "$schema": "http://json-schema.org/draft-07/schema", "type": "object", "properties": { "superset": { - "description": "superset specific configuration", + "title": "Superset configuration", "type": "object", - "title": "superset", "properties": { "init": { - "description": "init", + "title": "Credentials", "type": "object", - "title": "superset", "properties": { "adminUser": { - "type": "object", "title": "Admin user", + "type": "object", "properties": { "username": { + "title": "User name", "type": "string", - "title": "Admin user", "default": "admin", "x-form": { "value": "{{project.id}}" @@ -28,8 +26,8 @@ } }, "password": { + "title": "Password", "type": "string", - "description": "Password", "default": "changeme", "render": "password", "x-form": { @@ -44,7 +42,7 @@ } }, "bootstrapScript": { - "description": "bootstrap script", + "title": "Bootstrap init script", "type": "string", "render": "textArea", "default": "#!/bin/bash \n pip install \\\n duckdb-engine \\\n psycopg2-binary \\\n sqlalchemy-trino \\\n PyHive \\\n elasticsearch-dbapi \\\n redis && \\\n if [ ! -f ~/bootstrap ]; then echo \"Running Superset with uid {{ .Values.runAsUser }}\" > ~/bootstrap; fi"