liqingwang commented on PR #10128:
URL: 
https://github.com/apache/dolphinscheduler/pull/10128#issuecomment-1132605375

   If we defined the ```SPRING_DATASOURCE_DRIVER_CLASS_NAME``` in 
```deploy/kubernetes/dolphinscheduler/templates/_helpers.tpl```, and do we need 
to define this in ```pom.xml```?
   ```
   # Override by profile
   
   ---
   spring:
     config:
       activate:
         on-profile: mysql
     datasource:
       driver-class-name: com.mysql.jdbc.Driver
       url: 
jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8
   ```
   
   Because in my mind, activate profile only defines the 
```driver-class-name:```. We define this field in the k8s config file && Docker 
starts cmd , and Cluster Mode will source dolphinscheduler_env.sh.
   
   WDYT?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to