Skip to content

spec.ports required value #229

@bandwiches

Description

@bandwiches

Maybe I'm missing something, but it looks like use_tcp: true is require rather than optional? When left off or set to false, it results in error. Note that isClusterService: false is set for what it's worth.

Reproduce

servers:
- zones:
  - zone: .
    # use_tcp: true
  port: 53

Error: UPGRADE FAILED: cannot patch "xyz" with kind Service: Service "xyz" is invalid: spec.ports: Required value

Workaround

Only way to fix is to require use_tcp: true, using false results in the same error above.

servers:
- zones:
  - zone: .
    use_tcp: true
  port: 53

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