From 45aaff999392a1b861b075c724115ed2ba4c7de3 Mon Sep 17 00:00:00 2001 From: Joe Beda Date: Wed, 20 Aug 2014 10:48:17 -0700 Subject: [PATCH] Add template update to rollingUpdate --- cmd/kubecfg/kubecfg.go | 6 ++++-- pkg/kubecfg/kubecfg.go | 12 +++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/cmd/kubecfg/kubecfg.go b/cmd/kubecfg/kubecfg.go index f93f18e1e7..63793a6806 100644 --- a/cmd/kubecfg/kubecfg.go +++ b/cmd/kubecfg/kubecfg.go @@ -55,6 +55,7 @@ var ( www = flag.String("www", "", "If -proxy is true, use this directory to serve static files") templateFile = flag.String("template_file", "", "If present, load this file as a golang template and use it for output printing") templateStr = flag.String("template", "", "If present, parse this string as a golang template and use it for output printing") + imageName = flag.String("image", "", "Image used when updating a replicationController") ) var parser = kubecfg.NewParser(map[string]interface{}{ @@ -72,7 +73,8 @@ func usage() { Manage replication controllers: kubecfg [OPTIONS] stop|rm|rollingupdate - kubecfg [OPTIONS] run + kubecfg [OPTIONS] [-u