Skip to content

bug: ports.targetPort should be of type IntOrString but is of type string #17

Closed
@Anmol1696

Description

@Anmol1696

Overview

Service ports.targetPort needs to be of type IntOrString but the type itself is set to just string:

export type IntOrString = string;

Here is the reference of the type Service ports: https://kubernetes.io/docs/reference/kubernetes-api/service-resources/service-v1/#ServiceSpec

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