Skip to content

Commit 42f18fe

Browse files
committed
fix(): fix system-update compose
1 parent d46c767 commit 42f18fe

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docker/profiles/docker-compose.gms.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ x-datahub-system-update-service: &datahub-system-update-service
7676
- ${DATAHUB_LOCAL_SYS_UPDATE_ENV:-empty2.env}
7777
environment: &datahub-system-update-env
7878
<<: [*primary-datastore-mysql-env, *graph-datastore-search-env, *search-datastore-env, *kafka-env, *datahub-common-env]
79+
EBEAN_DATASOURCE_USERNAME: ${DATAHUB_EBEAN_DATASOURCE_ROOT_USERNAME:-root}
80+
EBEAN_DATASOURCE_PASSWORD: ${DATAHUB_EBEAN_DATASOURCE_ROOT_PASSWORD:-datahub}
81+
CREATE_USER: ${DATAHUB_CREATE_USER:-false}
82+
CREATE_USER_USERNAME: ${DATAHUB_CREATE_USER_USERNAME:-datahub}
83+
CREATE_USER_PASSWORD: ${DATAHUB_CREATE_USER_PASSWORD:-datahub}
7984
SCHEMA_REGISTRY_SYSTEM_UPDATE: ${SCHEMA_REGISTRY_SYSTEM_UPDATE:-true}
8085
SPRING_KAFKA_PROPERTIES_AUTO_REGISTER_SCHEMAS: ${SPRING_KAFKA_PROPERTIES_AUTO_REGISTER_SCHEMAS:-true}
8186
SPRING_KAFKA_PROPERTIES_USE_LATEST_VERSION: ${SPRING_KAFKA_PROPERTIES_USE_LATEST_VERSION:-true}

docs/how/updating-datahub.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
99
- #13726: Default search results per page (new: 5000, old: 10000) can be configured with environment variable `ELASTICSEARCH_LIMIT_RESULTS_API_DEFAULT`
1010
- #13726: Maximum lineage visualization hops (new: 20, old: 1000) can be configured with environment variable `ELASTICSEARCH_SEARCH_GRAPH_LINEAGE_MAX_HOPS`
11+
- #15044: If using the new system-update sqlSetup, the system-update job must be granted privileges to create users, databases, and tables.
1112
1213
### Known Issues
1314

0 commit comments

Comments
 (0)