Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade cloud proxy version #701

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cli/cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
)

const (
odigosCloudProxyVersion = "v0.5.0"
odigosCloudProxyVersion = "v0.6.0"
)

var (
Expand Down Expand Up @@ -56,14 +56,14 @@ This command will install k8s components that will auto-instrument your applicat
fmt.Printf("Installing Odigos version %s in namespace %s ...\n", versionFlag, ns)

existingOdigosNs, err := resources.GetOdigosNamespace(client, ctx)
if err == nil {
if err == nil {
fmt.Printf("\033[31mERROR\033[0m Odigos is already installed in namespace \"%s\". If you wish to re-install, run \"odigos uninstall\" first.\n", existingOdigosNs)
os.Exit(1)
} else if !resources.IsErrNoOdigosNamespaceFound(err) {
fmt.Printf("\033[31mERROR\033[0m Failed to check if Odigos is already installed: %s\n", err)
os.Exit(1)
}

isOdigosCloud := odigosCloudApiKeyFlag != ""
createKubeResourceWithLogging(ctx, fmt.Sprintf("Creating namespace %s", ns),
client, cmd, ns, createNamespace)
Expand Down