wangyang0918 commented on a change in pull request #12501:
URL: https://github.com/apache/flink/pull/12501#discussion_r436438972



##########
File path: 
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/kubeclient/decorators/FlinkConfMountDecorator.java
##########
@@ -148,6 +149,7 @@ private Pod decoratePod(Pod pod) {
 
                // remove kubernetes.config.file
                
propertiesMap.remove(KubernetesConfigOptions.KUBE_CONFIG_FILE.key());
+               propertiesMap.remove(DeploymentOptionsInternal.CONF_DIR.key());

Review comment:
       We could clone a flink config and use `flinkConfig.removeConfig()` here. 
I will fix it via fca9f92c80bed259e2fb523b05ac80b3dd204478.




----------------------------------------------------------------
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.

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


Reply via email to