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