spring-cloud / spring-cloud-skipper

A package manager that installs, upgrades, and rolls back Spring Boot applications on multiple Cloud Platforms.
http://cloud.spring.io/spring-cloud-skipper/
Apache License 2.0
112 stars 77 forks source link

How to add annotation with comma separated value #1095

Open rob-64 opened 3 months ago

rob-64 commented 3 months ago

Trying to use Stakater Reloader (https://github.com/stakater/Reloader/tree/master), with a value to watch configmaps as follows:

annotations: configmap.reloader.stakater.com/reload: "foo-configmap,bar-configmap,baz-configmap"

however, since I have to use SCDF to get the values to k8s, i have it in this format:

"configmap.reloader.stakater.com/reload:foo-configmap,bar-configmap,baz-configmap"

which gets past the code of PropertyParserUtils.getStringPairsToMap:

/**

BUT, it then fails skipper ReleaseService.install when passed to ManifestUtils.createManifest:99

image