cf-java-client icon indicating copy to clipboard operation
cf-java-client copied to clipboard

ManifestV3 toYaml labels and annotations not correctly mapped

Open hugoo10 opened this issue 2 years ago • 0 comments
trafficstars

Hello, When i try to set labels and annotations in the manifestV3 the generated yaml is incorrect:

"env" -> {Collections$UnmodifiableMap@13701}  size = 5
"health-check-http-endpoint" -> "/actuator/health"
"health-check-type" -> "http"
"labels" -> {Collections$UnmodifiableMap@13707}  size = 9
"name" -> "MYAPP"
"path" -> "/tmp/14212678060123353942.jar"
"routes" -> {ArrayList@13713}  size = 2
"services" -> {ArrayList@13715}  size = 3

But the labels and annotations have to be wrapped into a metadata field. So cloud foundry doesn't update the labels and annotations

hugoo10 avatar Jul 26 '23 08:07 hugoo10