Skip to content

Commit

Permalink
remove mentions to okteto cloud (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
rberrelleza committed Apr 18, 2024
1 parent cf752d8 commit bf4b788
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ The extension starts a development environment in your Kubernetes cluster by usi

## Requirements

1. VS Code 1.66 or newer.
1. Deploy access to a Kubernetes cluster (you can use https://cloud.okteto.com/, Okteto's free managed Kubernetes service for developers).
1. VS Code 1.88 or newer.
1. Deploy access to a Kubernetes cluster.
1. An OpenSSH compatible [SSH client](https://code.visualstudio.com/docs/remote/troubleshooting#_installing-a-supported-ssh-client).

## Installation
Expand Down Expand Up @@ -47,9 +47,7 @@ Got questions? Have feedback?

## Stay in Touch

Join [the conversation in Slack](https://kubernetes.slack.com/messages/CM1QMQGS0/)! If you don't already have a Kubernetes slack account, [sign up here](http://slack.k8s.io/).

You can also reach out to [@OktetoHQ](https://twitter.com/oktetohq) on Twitter.
Join [the conversation in our online community](https://community.okteto.com). You can also reach out to [@OktetoHQ](https://twitter.com/oktetohq) on Twitter.

## License

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"gke",
"eks"
],
"version": "0.4.13",
"version": "0.5.0",
"icon": "media/icon.png",
"author": {
"name": "Ramiro Berrelleza",
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ async function contextCmd(){

let context = choice.value;
if (choice.value === "create") {
const create = await vscode.window.showInputBox({title: "Set the context for all the Okteto commands", prompt: "Specify an Okteto URL or a Kubernetes context name", placeHolder: "https://cloud.okteto.com"})
const create = await vscode.window.showInputBox({title: "Set the context for all the Okteto commands", prompt: "Specify an Okteto URL or a Kubernetes context name", placeHolder: "https://okteto.example.com"})
if (!create) {
return;
}
Expand Down
6 changes: 0 additions & 6 deletions src/okteto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const pidFile = 'okteto.pid';
const contextFolder = 'context';
const contextFile = 'config.json';
const terminalName = 'okteto';
const cloudUrl = 'https://cloud.okteto.com';

export const state = {
starting: 'starting',
Expand Down Expand Up @@ -596,11 +595,6 @@ export async function getContextList(): Promise<RuntimeItem[]>{
console.error(`failed to get context list from ${getContextConfigurationFile()}: ${err}`);
}

if (items.filter(f => f.label === cloudUrl).length == 0) {
items.unshift(new RuntimeItem(cloudUrl, "", cloudUrl))
}


items.push(new RuntimeItem("Create new context", "Create new context", "create"))
return items;
}
Expand Down

0 comments on commit bf4b788

Please sign in to comment.