Skip to content

Commit

Permalink
Make registry.odigos.io default image-prefix value
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi committed Feb 17, 2025
1 parent d639c4a commit f436d1b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/k8sconsts/autoscaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package k8sconsts
const (
AutoScalerDeploymentName = "odigos-autoscaler"
AutoScalerImageUBI9 = "odigos-autoscaler-ubi9"
AutoScalerImageName = "registry.odigos.io/odigos-autoscaler"
AutoScalerImageName = "odigos-autoscaler"
AutoScalerServiceAccountName = AutoScalerDeploymentName
AutoScalerAppLabelValue = AutoScalerDeploymentName
AutoScalerRoleName = AutoScalerDeploymentName
Expand Down
2 changes: 1 addition & 1 deletion api/k8sconsts/clustercollector.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package k8sconsts

const (
OdigosClusterCollectorImage = "registry.odigos.io/odigos-collector"
OdigosClusterCollectorImage = "odigos-collector"
OdigosClusterCollectorImageUBI9 = "odigos-collector-ubi9"

OdigosClusterCollectorDeploymentName = "odigos-gateway"
Expand Down
2 changes: 1 addition & 1 deletion api/k8sconsts/instrumentor.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const (
InstrumentorOtelServiceName = "instrumentor"
InstrumentorDeploymentName = "odigos-instrumentor"
InstrumentorImageUBI9 = "odigos-instrumentor-ubi9"
InstrumentorImageName = "registry.odigos.io/odigos-instrumentor"
InstrumentorImageName = "odigos-instrumentor"
InstrumentorAppLabelValue = InstrumentorDeploymentName
InstrumentorServiceName = InstrumentorDeploymentName
InstrumentorServiceAccountName = InstrumentorDeploymentName
Expand Down
2 changes: 1 addition & 1 deletion api/k8sconsts/keyvalproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package k8sconsts
const (
OdigosCloudProxyVersion = "v0.11.0"
KeyvalProxyServiceName = "odigos-cloud-k8s"
KeyvalProxyImage = "registry.odigos.io/odigos-proxy-k8s"
KeyvalProxyImage = "odigos-proxy-k8s"
KeyvalProxyAppName = "odigos-cloud-proxy"
KeyvalProxyDeploymentName = "odigos-cloud-proxy"
KeyvalProxyServiceAccountName = "odigos-cloud-proxy"
Expand Down
4 changes: 2 additions & 2 deletions api/k8sconsts/odiglet.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const (
OdigletClusterRoleName = OdigletDaemonSetName
OdigletClusterRoleBindingName = OdigletDaemonSetName
OdigletContainerName = "odiglet"
OdigletImageName = "registry.odigos.io/odigos-odiglet"
OdigletEnterpriseImageName = "registry.odigos.io/odigos-enterprise-odiglet"
OdigletImageName = "odigos-odiglet"
OdigletEnterpriseImageName = "odigos-enterprise-odiglet"
OdigletEnterpriseImageUBI9 = "odigos-enterprise-odiglet-ubi9"
OdigletImageUBI9 = "odigos-odiglet-ubi9"
// Used to indicate that the odiglet is installed on a node.
Expand Down
2 changes: 1 addition & 1 deletion api/k8sconsts/scheduler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package k8sconsts

const (
SchedulerImage = "registry.odigos.io/odigos-scheduler"
SchedulerImage = "odigos-scheduler"
SchedulerImageUBI9 = "odigos-scheduler-ubi9"
SchedulerServiceName = "scheduler"
SchedulerDeploymentName = "odigos-scheduler"
Expand Down
2 changes: 1 addition & 1 deletion api/k8sconsts/ui.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package k8sconsts

const (
UIImage = "registry.odigos.io/odigos-ui"
UIImage = "odigos-ui"
UIImageUBI9 = "odigos-ui-ubi9"
UIServiceName = "ui"
UIDeploymentName = "odigos-ui"
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func init() {
installCmd.Flags().StringVar(&odigletImage, "odiglet-image", "", "odiglet container image name")
installCmd.Flags().StringVar(&instrumentorImage, "instrumentor-image", k8sconsts.InstrumentorImageName, "instrumentor container image name")
installCmd.Flags().StringVar(&autoScalerImage, "autoscaler-image", k8sconsts.AutoScalerImageName, "autoscaler container image name")
installCmd.Flags().StringVar(&imagePrefix, "image-prefix", "", "prefix for all container images. used when your cluster doesn't have access to docker hub")
installCmd.Flags().StringVar(&imagePrefix, "image-prefix", "registry.odigos.io", "prefix for all container images.")
installCmd.Flags().BoolVar(&psp, "psp", false, "enable pod security policy")
installCmd.Flags().StringSliceVar(&userInputIgnoredNamespaces, "ignore-namespace", k8sconsts.DefaultIgnoredNamespaces, "namespaces not to show in odigos ui")
installCmd.Flags().StringSliceVar(&userInputIgnoredContainers, "ignore-container", k8sconsts.DefaultIgnoredContainers, "container names to exclude from instrumentation (useful for sidecar container)")
Expand Down

0 comments on commit f436d1b

Please sign in to comment.