Add --tag option to deploy command

This commit is contained in:
M. Mert Yildiran
2022-12-11 11:43:10 +03:00
parent e410e273a4
commit 5ad30c2d98
3 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import (
"regexp"
"time"
"github.com/kubeshark/kubeshark/docker"
"github.com/kubeshark/kubeshark/internal/connect"
"github.com/kubeshark/kubeshark/resources"
"github.com/kubeshark/kubeshark/utils"
@@ -41,6 +42,7 @@ var proxyDone bool
func deploy() {
state.startTime = time.Now()
docker.SetTag(config.Config.Deploy.Tag)
connector = connect.NewConnector(kubernetes.GetLocalhostOnPort(config.Config.Hub.PortForward.SrcPort), connect.DefaultRetries, connect.DefaultTimeout)