mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-09 14:31:07 +00:00
Revert "✨ Pull the images from public ECR repositories in case of the edition is not community"
This reverts commit 964d30bf80
.
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"regexp"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/kubeshark/kubeshark/docker"
|
||||
@@ -42,9 +41,6 @@ var proxyDone bool
|
||||
func tap() {
|
||||
state.startTime = time.Now()
|
||||
docker.SetRegistry(config.Config.Tap.Docker.Registry)
|
||||
if config.Config.Edition != "community" && strings.HasPrefix(config.Config.Tap.Docker.Registry, "docker.io/kubeshark") {
|
||||
docker.SetRegistry(docker.NonCommunityRegistry)
|
||||
}
|
||||
docker.SetTag(config.Config.Tap.Docker.Tag)
|
||||
log.Info().Str("registry", docker.GetRegistry()).Str("tag", docker.GetTag()).Msg("Using Docker:")
|
||||
if config.Config.Tap.Pcap != "" {
|
||||
|
Reference in New Issue
Block a user