Skip to content

ManifestV3 toYaml labels and annotations not correctly mapped #1188

@hugoo10

Description

@hugoo10

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions