From d5560f0e335c7e00d1e2e4248bd91a580c1b47b3 Mon Sep 17 00:00:00 2001 From: Omri Eival Date: Sun, 10 Jan 2021 14:11:01 +0200 Subject: [PATCH] fixed versioning tags --- cmd/expose.go | 2 +- cmd/inject.go | 2 +- cmd/root.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/expose.go b/cmd/expose.go index 4a2796d..8c361a6 100644 --- a/cmd/expose.go +++ b/cmd/expose.go @@ -106,6 +106,6 @@ func init() { exposeCmd.Flags().StringVarP(&Scheme, "scheme", "s", "tcp", "Connection scheme") exposeCmd.Flags().StringVarP(&ServerHostOverride, "server-host-override", "o", "", "Server name use to verify the hostname returned by the TLS handshake") exposeCmd.Flags().StringVarP(&Namespace, "namespace", "n", "default", "Namespace") - exposeCmd.Flags().StringVarP(&ServerImage, "server-image", "i", fmt.Sprintf("%s:%s", k8s.Image, version), "Ktunnel server image to use") + exposeCmd.Flags().StringVarP(&ServerImage, "server-image", "i", fmt.Sprintf("%s:v%s", k8s.Image, version), "Ktunnel server image to use") rootCmd.AddCommand(exposeCmd) } diff --git a/cmd/inject.go b/cmd/inject.go index 8058b67..c317d0d 100644 --- a/cmd/inject.go +++ b/cmd/inject.go @@ -121,7 +121,7 @@ func init() { injectDeploymentCmd.Flags().StringVarP(&Scheme, "scheme", "s", "tcp", "Connection scheme") injectDeploymentCmd.Flags().StringVarP(&ServerHostOverride, "server-host-override", "o", "", "Server name use to verify the hostname returned by the TLS handshake") injectDeploymentCmd.Flags().StringVarP(&Namespace, "namespace", "n", "default", "Namespace") - injectDeploymentCmd.Flags().StringVarP(&ServerImage, "server-image", "i", fmt.Sprintf("%s:%s", k8s.Image, version), "Ktunnel server image to use") + injectDeploymentCmd.Flags().StringVarP(&ServerImage, "server-image", "i", fmt.Sprintf("%s:v%s", k8s.Image, version), "Ktunnel server image to use") injectCmd.AddCommand(injectDeploymentCmd) rootCmd.AddCommand(injectCmd) } diff --git a/cmd/root.go b/cmd/root.go index f2eb3ce..3933c47 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -9,7 +9,7 @@ import ( ) const ( - version = "1.3.3-beta" + version = "1.3.3" ) var port int