spring-cloud / spring-cloud-deployer-kubernetes

The Spring Cloud Deployer implementation for Kubernetes
Apache License 2.0
157 stars 98 forks source link

Properties with relaxed names are not considered #393

Closed ilayaperumalg closed 4 years ago

ilayaperumalg commented 4 years ago

If I pass the Kubernetes deployer property spring.cloud.deployer.kubernetes.config-map-refs then it doesn't get updated as a configMapRefs deployer property as the deployer expects the exact name configMapRefs in this case.

When parsing the property keys, we need to support the relaxed names. For instance, when SCDF Dashboard UI provides the deployer properties, they will always be hyphen separated key value.