Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManifestV3 toYaml labels and annotations not correctly mapped #1188

Open
hugoo10 opened this issue Jul 26, 2023 · 0 comments · May be fixed by #1200
Open

ManifestV3 toYaml labels and annotations not correctly mapped #1188

hugoo10 opened this issue Jul 26, 2023 · 0 comments · May be fixed by #1200

Comments

@hugoo10
Copy link

hugoo10 commented Jul 26, 2023

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

@JakobFels JakobFels linked a pull request Oct 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant