Skip to content

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

Closed

Description

@astefanutti

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.

Activity

  1. added
    kind/bug
    on Apr 13, 2021
  2. self-assigned this
    on Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions