Skip to content

Ports are parsed incorrectly from "expose" #1321

Closed
@karimsa

Description

Using the following compose file:

version: "3"
services:
  blah:
    image: alpine
    expose:
    - 53:53/udp

The output for the port specification is:

 spec:
    ports:
    - name: "0"
      port: 0
      protocol: UDP
      targetPort: 0

Interestingly enough, if I use "ports" instead of "expose" in the compose file, then the output is correct.

Metadata

Assignees

No one assigned

    Labels

    kind/discusslifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions