Issue Details :
We are using spring-cloud-dataflow-server-2.0.1 to deploy task using SCDF UI in Kubernetes environment but after launching the task application using LaunchTask option,the environment variables defined in ConfigMap are not getting added to the task pod created in the Kubenetes environment.
The new task pod created successfully with default arguments(task name,datasource..etc) and environment(SPRING_CLOUD_APPLICATION_GUID) properties but it is missing the custom properties defined as a environment variables in the ConfigMap.
Added below configuration in scdf server deployment yaml file to map ConfigMap(scdf-sserver) to the data flow server.
ConFigMap Environment varriable configuration:
spring: cloud: deployer: kubernetes: environmentVariables: 'staging_mysql_datasource_username=root,staging_mysql_datasource_password=root,file_directory=/nfs/data'
We tested the same task application in spring-cloud-dataflow-server-1.7.0 version and in that it is working fine.All environment variables defined in ConfigMap are added to the task pod.
Is this known issue in version spring-cloud-dataflow-server-2.0.1?
Any help is greatly appreciated!