Skip to content

Commit

Permalink
Remove namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tbird committed Mar 6, 2017
1 parent 46860e0 commit c84f323
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kubewatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var (

// Resources:
resources = []string{
"configMaps", "endpoints", "events", "limitranges", "namespaces",
"configMaps", "endpoints", "events", "limitranges",
"persistentvolumeclaims", "persistentvolumes", "pods", "podtemplates",
"replicationcontrollers", "resourcequotas", "secrets", "serviceaccounts",
"services", "deployments", "horizontalpodautoscalers", "ingresses", "jobs"}
Expand Down Expand Up @@ -79,7 +79,6 @@ var resourceObject = map[string]verObj{
"endpoints": verObj{"v1", &v1.Endpoints{}},
"events": verObj{"v1", &v1.Event{}},
"limitranges": verObj{"v1", &v1.LimitRange{}},
"namespaces": verObj{"v1", &v1.Namespace{}},
"persistentvolumeclaims": verObj{"v1", &v1.PersistentVolumeClaim{}},
"persistentvolumes": verObj{"v1", &v1.PersistentVolume{}},
"pods": verObj{"v1", &v1.Pod{}},
Expand All @@ -106,7 +105,7 @@ var resourceObject = map[string]verObj{
func init() {

// Customize kingpin:
app.Version("v0.3.0").Author("Marc Villacorta Morera")
app.Version("v0.3.1").Author("Marc Villacorta Morera")
app.UsageTemplate(usageTemplate)
app.HelpFlag.Short('h')
}
Expand Down

0 comments on commit c84f323

Please sign in to comment.