Duplicate environment variables created

Hello,
We are using confluent connect helm chart and overriding few properties from values file. Instead of overriding old environment variable it creates duplicate environment variables.
Is this a bug in kubernetes or issue with helm chart?