Show port column for services

The port column is at least as important as the service age,
so this shows it by default rather than in the wide mode.

This also mimics the output one can get with:

    kubectl get services

Signed-off-by: Julien Ponge <jponge@redhat.com>
mine
Julien Ponge 2020-03-19 22:39:44 +01:00
parent 2e05367256
commit 4bf7402870
No known key found for this signature in database
GPG Key ID: 99447033FD4E69B4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func (Service) Header(ns string) Header {
HeaderColumn{Name: "CLUSTER-IP"},
HeaderColumn{Name: "EXTERNAL-IP"},
HeaderColumn{Name: "SELECTOR", Wide: true},
HeaderColumn{Name: "PORTS", Wide: true},
HeaderColumn{Name: "PORTS", Wide: false},
HeaderColumn{Name: "LABELS", Wide: true},
HeaderColumn{Name: "VALID", Wide: true},
HeaderColumn{Name: "AGE", Time: true, Decorator: AgeDecorator},