|
29 | 29 | - name: MLFLOW_REGISTRY_URI |
30 | 30 | value: "databricks-uc" |
31 | 31 | - name: MLFLOW_EXPERIMENT_ID |
32 | | - value: "" # OPTIONAL: Set to your MLflow experiment ID to enable tracing |
| 32 | + value: "2624606869914616" |
33 | 33 |
|
34 | 34 | # --------------------------------------------------------------------------- |
35 | 35 | # LLM Model |
|
38 | 38 | value: "databricks-claude-sonnet-4-6" |
39 | 39 |
|
40 | 40 | # --------------------------------------------------------------------------- |
41 | | - # SQL Warehouse (required for GenieIQ benchmark execution) |
| 41 | + # SQL Warehouse — pulled from the app resource named "sql-warehouse". |
| 42 | + # Configure the warehouse resource in the Databricks Apps UI. |
| 43 | + # Falls back to auto-detect if empty. |
42 | 44 | # --------------------------------------------------------------------------- |
43 | 45 | - name: SQL_WAREHOUSE_ID |
44 | | - value: "" # Required: your SQL warehouse ID |
| 46 | + valueFrom: sql-warehouse |
45 | 47 |
|
46 | 48 | # --------------------------------------------------------------------------- |
47 | | - # Genie Space target directory (required for creating new Genie Spaces) |
48 | | - # e.g. /Workspace/Users/you@company.com/ |
| 49 | + # Genie Space target directory (where new spaces are created) |
| 50 | + # Defaults to /Shared/ which is writable by most service principals. |
| 51 | + # Override to a specific folder if needed (e.g. /Workspace/Shared/Analytics/). |
49 | 52 | # --------------------------------------------------------------------------- |
50 | 53 | - name: GENIE_TARGET_DIRECTORY |
51 | | - value: "" |
| 54 | + value: "/Shared/" |
52 | 55 |
|
53 | 56 | # --------------------------------------------------------------------------- |
54 | 57 | # Local dev auth (only used when running outside Databricks Apps) |
|
57 | 60 | value: "" |
58 | 61 |
|
59 | 62 | # --------------------------------------------------------------------------- |
60 | | - # Lakebase PostgreSQL connection |
61 | | - # These values are injected automatically by the Lakebase resource binding |
62 | | - # defined in the `resources` section below. Do not set them manually here. |
| 63 | + # Lakebase PostgreSQL — credentials auto-generated via Databricks SDK (SP) |
| 64 | + # Grant the app's service principal CAN MANAGE on the Lakebase instance. |
63 | 65 | # --------------------------------------------------------------------------- |
64 | 66 | - name: LAKEBASE_HOST |
65 | | - valueFrom: |
66 | | - secretRef: lakebase-connection |
67 | | - key: host |
| 67 | + value: "" # e.g. instance-XXXX.database.cloud.databricks.com |
68 | 68 | - name: LAKEBASE_PORT |
69 | | - valueFrom: |
70 | | - secretRef: lakebase-connection |
71 | | - key: port |
| 69 | + value: "5432" |
72 | 70 | - name: LAKEBASE_DATABASE |
73 | | - valueFrom: |
74 | | - secretRef: lakebase-connection |
75 | | - key: database |
76 | | - - name: LAKEBASE_USER |
77 | | - valueFrom: |
78 | | - secretRef: lakebase-connection |
79 | | - key: user |
80 | | - - name: LAKEBASE_PASSWORD |
81 | | - valueFrom: |
82 | | - secretRef: lakebase-connection |
83 | | - key: password |
84 | | - |
85 | | -# --------------------------------------------------------------------------- |
86 | | -# Lakebase resource binding |
87 | | -# Provisions a Lakebase PostgreSQL instance and injects connection credentials |
88 | | -# as the secret reference "lakebase-connection" used by the env vars above. |
89 | | -# Run sql/setup_lakebase.sql once after first deploy to create the schema. |
90 | | -# --------------------------------------------------------------------------- |
91 | | -resources: |
92 | | - - name: lakebase-connection |
93 | | - description: "PostgreSQL connection for Genie Workbench scan result persistence" |
94 | | - resource_type: "database" |
95 | | - config: |
96 | | - type: postgresql |
| 71 | + value: "databricks_postgres" |
| 72 | + - name: LAKEBASE_INSTANCE_NAME |
| 73 | + value: "" # e.g. genie-workbench-sz |
97 | 74 |
|
98 | 75 | # --------------------------------------------------------------------------- |
99 | 76 | # Service Principal authorization |
|
0 commit comments