Update list of resources for 'kubectl get' help output.

This commit is contained in:
Joe Beda
2015-07-07 12:20:45 -07:00
parent c15953662e
commit 0426ab3290
2 changed files with 13 additions and 6 deletions

View File

@@ -254,6 +254,8 @@ func (h *HumanReadablePrinter) HandledResources() []string {
return keys
}
// NOTE: When adding a new resource type here, please update the list
// pkg/kubectl/cmd/get.go to reflect the new resource type.
var podColumns = []string{"NAME", "READY", "STATUS", "RESTARTS", "AGE"}
var podTemplateColumns = []string{"TEMPLATE", "CONTAINER(S)", "IMAGE(S)", "PODLABELS"}
var replicationControllerColumns = []string{"CONTROLLER", "CONTAINER(S)", "IMAGE(S)", "SELECTOR", "REPLICAS"}