🐳 Set the Docker image tags to latest

This commit is contained in:
M. Mert Yildiran 2022-11-26 06:57:08 +03:00
parent cb60a4cc4c
commit 0736f6120c
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461
4 changed files with 3 additions and 5 deletions

View File

@ -8,7 +8,6 @@ import (
"github.com/kubeshark/kubeshark/config/configStructs" "github.com/kubeshark/kubeshark/config/configStructs"
"github.com/kubeshark/kubeshark/kubeshark" "github.com/kubeshark/kubeshark/kubeshark"
"github.com/kubeshark/kubeshark/utils"
"github.com/kubeshark/worker/models" "github.com/kubeshark/worker/models"
"github.com/op/go-logging" "github.com/op/go-logging"
v1 "k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"
@ -86,7 +85,7 @@ func (config *ConfigStruct) validate() error {
} }
func (config *ConfigStruct) SetDefaults() { func (config *ConfigStruct) SetDefaults() {
config.AgentImage = fmt.Sprintf("%s:%s", utils.KubesharkAgentImageRepo, kubeshark.Ver) config.AgentImage = "kubeshark/hub:latest"
config.ConfigFilePath = path.Join(kubeshark.GetKubesharkFolderPath(), "config.yaml") config.ConfigFilePath = path.Join(kubeshark.GetKubesharkFolderPath(), "config.yaml")
} }

View File

@ -329,7 +329,7 @@ func (tapperSyncer *KubesharkTapperSyncer) updateKubesharkTappers() error {
tapperSyncer.context, tapperSyncer.context,
tapperSyncer.config.KubesharkResourcesNamespace, tapperSyncer.config.KubesharkResourcesNamespace,
TapperDaemonSetName, TapperDaemonSetName,
"kubeshark/worker:test-amd64", "kubeshark/worker:latest",
TapperPodName, TapperPodName,
fmt.Sprintf("%s.%s.svc", ApiServerPodName, tapperSyncer.config.KubesharkResourcesNamespace), fmt.Sprintf("%s.%s.svc", ApiServerPodName, tapperSyncer.config.KubesharkResourcesNamespace),
nodeNames, nodeNames,

View File

@ -427,7 +427,7 @@ func (provider *Provider) BuildFrontPod(opts *ApiServerOptions, mountVolumeClaim
containers := []core.Container{ containers := []core.Container{
{ {
Name: "front", Name: "front",
Image: "kubeshark/front:test-amd64", Image: "kubeshark/front:latest",
ImagePullPolicy: opts.ImagePullPolicy, ImagePullPolicy: opts.ImagePullPolicy,
VolumeMounts: volumeMounts, VolumeMounts: volumeMounts,
ReadinessProbe: &core.Probe{ ReadinessProbe: &core.Probe{

View File

@ -2,7 +2,6 @@ package utils
const ( const (
KubesharkFilteringOptionsEnvVar = "SENSITIVE_DATA_FILTERING_OPTIONS" KubesharkFilteringOptionsEnvVar = "SENSITIVE_DATA_FILTERING_OPTIONS"
KubesharkAgentImageRepo = "docker.io/kubeshark/hub"
LogLevelEnvVar = "LOG_LEVEL" LogLevelEnvVar = "LOG_LEVEL"
BaseninePort = "9099" BaseninePort = "9099"
HostModeEnvVar = "HOST_MODE" HostModeEnvVar = "HOST_MODE"