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

Duplicated ports are declared between the container and prometheus traits #2212

Closed
astefanutti opened this issue Apr 13, 2021 · 0 comments · Fixed by #2216
Closed

Duplicated ports are declared between the container and prometheus traits #2212

astefanutti opened this issue Apr 13, 2021 · 0 comments · Fixed by #2216
Assignees
Labels
kind/bug Something isn't working

Comments

@astefanutti
Copy link
Member

astefanutti commented Apr 13, 2021

When running any Integration that exposes an HTTP endpoint, enabling the prometheus trait leads to the following error when creating the Deployment resource:

failed to create typed patch object: .spec.template.spec.containers[name="integration"].ports: duplicate entries for key [containerPort=8080,protocol="TCP"]

It surfaces as Server-side apply checks uniqueness of the merging keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant