Skip to content

Collection linter #7

@petemounce

Description

@petemounce

I'd like to be able to lint my configuration to prevent a service from being configured that has more than one port defined for the same port with the same protocol.

e.g. prevent

apiVersion: v1
kind: Service
...
spec:
  ...
  ports:
  - name: foo
    port: 10104
    targetPort: 10104
    protocol: TCP
  - name: bar
    port: 10104
    targetPort: 10104
    protocol: TCP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions