From 42bfb4e7e95e2d8c1d7c93dc2124cc192a1ad5c2 Mon Sep 17 00:00:00 2001 From: Irfan Ur Rehman Date: Wed, 10 Apr 2019 23:28:20 +0530 Subject: [PATCH] Fix example message for federate resource --- pkg/kubefed2/federate/federate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kubefed2/federate/federate.go b/pkg/kubefed2/federate/federate.go index 3691511f18..a292276a66 100644 --- a/pkg/kubefed2/federate/federate.go +++ b/pkg/kubefed2/federate/federate.go @@ -53,8 +53,8 @@ var ( flag otherwise.` federate_example = ` - # Federate resource named "my-dep" in namespace "my-ns" of kubernetes type "deploy" - kubefed2 federate deploy my-dep -n "my-ns" --host-cluster-context=cluster1` + # Federate resource named "my-cm" in namespace "my-ns" of kubernetes type "configmaps" (identified by short name "cm") + kubefed2 federate cm "my-cm" -n "my-ns" --host-cluster-context=cluster1` // TODO(irfanurrehman): implement —contents flag applicable to namespaces )