You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/05/24 05:22:44 UTC

[GitHub] [dolphinscheduler] kezhenxu94 commented on a diff in pull request #10128: [Fix-10103][k8s]Fix k8s Change DataSource Error

kezhenxu94 commented on code in PR #10128:
URL: https://github.com/apache/dolphinscheduler/pull/10128#discussion_r880068539


##########
dolphinscheduler-worker/src/main/resources/application.yaml:
##########
@@ -89,3 +89,13 @@ management:
 
 metrics:
   enabled: true
+
+# Override by profile
+
+---
+spring:
+  config:
+    activate:
+      on-profile: mysql
+  datasource:
+    driver-class-name: com.mysql.jdbc.Driver

Review Comment:
   Also add the postgresql part ?
   
   ```yaml
   ---
    spring:
      config:
        activate:
          on-profile: postgresql
      datasource:
        driver-class-name: org.postgresql.Driver
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org