🔨 Bring in models.Resources dependency to kubernetes package

This commit is contained in:
M. Mert Yildiran
2022-12-29 03:41:35 +03:00
parent 5e269831e4
commit 6d06c53ebf
5 changed files with 15 additions and 9 deletions

View File

@@ -10,7 +10,6 @@ import (
"path/filepath"
"regexp"
"github.com/kubeshark/base/pkg/models"
"github.com/kubeshark/kubeshark/docker"
"github.com/kubeshark/kubeshark/semver"
"github.com/rs/zerolog/log"
@@ -175,7 +174,7 @@ type PodOptions struct {
PodName string
PodImage string
ServiceAccountName string
Resources models.Resources
Resources Resources
ImagePullPolicy core.PullPolicy
Debug bool
}
@@ -665,7 +664,7 @@ func (provider *Provider) ApplyWorkerDaemonSet(
workerPodName string,
nodeNames []string,
serviceAccountName string,
resources models.Resources,
resources Resources,
imagePullPolicy core.PullPolicy,
serviceMesh bool,
tls bool,