Skip to content

port names should match endpoint names #4737

@kadel

Description

@kadel

Assuming that devfile containers have following endpoints

      endpoints:
        - name: first
          targetPort: 3000
        - name: second
          targetPort: 4000

The k8s Service that gets generated for odo should have matching port names

Current situation:

  ports:
  - name: port-3000
    port: 3000
    protocol: TCP
    targetPort: 3000
  - name: port-4000
    port: 4000
    protocol: TCP
    targetPort: 4000

/priority high
/kind bug

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.priority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).v2Issue or PR that applies to the v2 of odo

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions