Xuxiaotuan opened a new issue, #3494: URL: https://github.com/apache/incubator-streampark/issues/3494
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### Java Version _No response_ ### Scala Version 2.12.x ### StreamPark Version dev ### Flink Version flink all version ### deploy mode kubernetes-session ### What happened When I wanted to start flink on k8s V2 I changed streampark.flink-k8s.enable-v2 to `true` in the configuration file but found that `isV2Enabled` is of type `val`. After the class is initialized, it will be assigned false directly,  As a result, the values inside are refreshed even after springboot starts.  However, there are two methods to get this value in advance, so in the initialization phase, you cannot get the value of springboot's yaml configuration, you get the initialization value (false) The following is a method to use in advance when starting up   ### Error Exception _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR!(您是否要贡献这个PR?) ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
