2023-11-15 20:25:07 +00:00
{
2023-12-14 08:36:45 +00:00
"name" : "kubectl-cli" ,
2023-11-15 20:25:07 +00:00
"displayName" : "kubectl CLI" ,
"description" : "Install and update kubectl CLI Tools without leaving Podman Desktop" ,
2026-03-16 14:42:11 +00:00
"version" : "1.27.0-next" ,
2023-11-15 20:25:07 +00:00
"icon" : "icon.png" ,
2023-12-06 09:47:43 +00:00
"publisher" : "podman-desktop" ,
2023-11-15 20:25:07 +00:00
"license" : "Apache-2.0" ,
"engines" : {
"podman-desktop" : "^0.0.1"
} ,
"main" : "./dist/extension.js" ,
2023-12-06 09:47:43 +00:00
"contributes" : {
"commands" : [
{
"command" : "kubectl.install" ,
2024-03-31 19:14:06 +00:00
"title" : "Kubectl: Install..."
2023-12-06 09:47:43 +00:00
} ,
{
"command" : "kubectl.checks" ,
2024-03-31 19:14:06 +00:00
"title" : "Kubectl: Checks..."
2023-12-06 09:47:43 +00:00
} ,
{
"command" : "kubectl.onboarding.checkDownloadedCommand" ,
2024-03-31 19:14:06 +00:00
"title" : "Kubectl: Check kubectl Downloaded"
2023-12-06 09:47:43 +00:00
} ,
{
"command" : "kubectl.onboarding.downloadCommand" ,
2024-03-31 19:14:06 +00:00
"title" : "Kubectl: Download kubectl"
2023-12-06 09:47:43 +00:00
}
] ,
"onboarding" : {
"title" : "kubectl Setup" ,
2025-02-27 06:13:15 +00:00
"priority" : 30 ,
2023-12-06 09:47:43 +00:00
"enablement" : "!kubectl.isKubectlInstalledSystemWide" ,
"steps" : [
{
"id" : "checkDownloadedCommand" ,
"label" : "Check kubectl" ,
"title" : "Checking for kubectl installation" ,
"command" : "kubectl.onboarding.checkDownloadedCommand" ,
2025-06-18 07:15:08 +00:00
"completionEvents" : [
"onCommand:kubectl.onboarding.checkDownloadedCommand"
]
2023-12-06 09:47:43 +00:00
} ,
{
"id" : "welcomeDownloadView" ,
"label" : "kubectl Download" ,
2024-03-07 15:35:57 +00:00
"title" : "kubectl download" ,
2023-12-22 14:49:01 +00:00
"when" : "!kubectl.isKubectlInstalledSystemWide && onboardingContext:kubectlIsNotDownloaded" ,
2023-12-06 09:47:43 +00:00
"content" : [
[
{
"value" : "kubectl support in Podman Desktop enables you to use kubectl CLI ."
}
] ,
[
{
"value" : "kubectl will be downloaded in the next step (Version ${onboardingContext:kubectlDownloadVersion}). :link[Want to download a different version?]{command=kubectl.onboarding.promptUserForVersion}" ,
"when" : "!onboardingContext:kubectlShowCustomDownloadDialog"
}
]
]
} ,
{
"id" : "downloadCommand" ,
"title" : "Downloading kubectl ${onboardingContext:kubectlDownloadVersion}" ,
"description" : "Downloading the binary.\n\nOnce downloaded, the next step will install kubectl system-wide." ,
2023-12-22 14:49:01 +00:00
"when" : "!kubectl.isKubectlInstalledSystemWide && onboardingContext:kubectlIsNotDownloaded" ,
2023-12-06 09:47:43 +00:00
"command" : "kubectl.onboarding.downloadCommand" ,
2025-06-18 07:15:08 +00:00
"completionEvents" : [
"onCommand:kubectl.onboarding.downloadCommand"
]
2023-12-06 09:47:43 +00:00
} ,
{
"id" : "downloadFailure" ,
2024-03-07 15:35:57 +00:00
"title" : "Failed downloading kubectl" ,
2023-12-22 14:49:01 +00:00
"when" : "!kubectl.isKubectlInstalledSystemWide && onboardingContext:kubectlIsNotDownloaded" ,
2023-12-06 09:47:43 +00:00
"state" : "failed"
} ,
{
"id" : "downloadSuccessfulView" ,
2024-03-07 15:35:57 +00:00
"title" : "kubectl successfully downloaded" ,
2023-12-22 14:49:01 +00:00
"when" : "!kubectl.isKubectlInstalledSystemWide && !onboardingContext:kubectlIsNotDownloaded" ,
2023-12-06 09:47:43 +00:00
"content" : [
[
{
2023-12-22 14:49:01 +00:00
"value" : "kubectl has been successfully downloaded! In order to use kubectl from the terminal, it is required for kubectl to be installed system-wide.\n\nThe next step will install kubectl system-wide. **You will be prompted for system privileges when enabling this.**"
2023-12-06 09:47:43 +00:00
}
]
]
} ,
{
"id" : "installSystemWideCommand" ,
"title" : "Install kubectl" ,
"description" : "Installing the binary system-wide.\n\n You may be prompted for elevated system privileges." ,
2023-12-22 14:49:01 +00:00
"when" : "!kubectl.isKubectlInstalledSystemWide && !kubectl.isKubectlInstalledSystemWide" ,
2023-12-06 09:47:43 +00:00
"command" : "kubectl.onboarding.installSystemWideCommand" ,
2025-06-18 07:15:08 +00:00
"completionEvents" : [
"onCommand:kubectl.onboarding.installSystemWideCommand"
]
2023-12-06 09:47:43 +00:00
} ,
{
"id" : "installSystemWideFailure" ,
2024-03-07 15:35:57 +00:00
"title" : "Failed installing kubectl" ,
2023-12-22 14:49:01 +00:00
"when" : "!kubectl.isKubectlInstalledSystemWide && !kubectl.isKubectlInstalledSystemWide" ,
2023-12-06 09:47:43 +00:00
"state" : "failed"
} ,
{
"id" : "installSystemWideSuccess" ,
2024-03-07 15:35:57 +00:00
"title" : "kubectl installed" ,
2023-12-22 14:49:01 +00:00
"when" : "kubectl.isKubectlInstalledSystemWide" ,
2023-12-06 09:47:43 +00:00
"state" : "completed" ,
"content" : [
2023-12-22 14:49:01 +00:00
[
{
"value" : "#### How to use kubectl \nRun `kubectl help` in the terminal for a list of commands to interact with your Kubernetes cluster. For example, try the 'Deploy to Kubernetes' button within Podman Desktop and view your pods with `kubectl`:\n\n`$ kubectl get pods`" ,
"highlight" : true
}
2023-12-06 09:47:43 +00:00
]
]
}
]
} ,
"configuration" : {
"title" : "Kubectl" ,
"properties" : {
"kubectl.binary.installKubectlSystemWide" : {
"type" : "boolean" ,
"default" : false ,
2025-06-18 07:15:08 +00:00
"scope" : [
"DEFAULT" ,
"Onboarding"
] ,
2023-12-06 09:47:43 +00:00
"hidden" : true ,
"description" : "Install system-wide instead of just your user directory, so kubectl can be accessed on the command line. Note: You may be prompted for elevated system privileges when enabling this."
}
}
}
} ,
2023-11-15 20:25:07 +00:00
"scripts" : {
"build" : "vite build && node ./scripts/build.js" ,
"test" : "vitest run --coverage" ,
"watch" : "vite build -w" ,
2024-10-11 07:27:27 +00:00
"format:check" : "biome format" ,
"format:fix" : "biome format --write"
2023-11-15 20:25:07 +00:00
} ,
"dependencies" : {
2025-11-03 03:10:21 +00:00
"@octokit/rest" : "^22.0.1" ,
2024-08-29 20:13:01 +00:00
"@podman-desktop/api" : "workspace:*" ,
2026-02-06 03:07:26 +00:00
"semver" : "^7.7.4" ,
2025-08-22 06:03:55 +00:00
"shell-path" : "^3.1.0"
2023-11-15 20:25:07 +00:00
} ,
"devDependencies" : {
2025-09-04 10:34:24 +00:00
"@types/semver" : "^7.7.1" ,
2026-04-02 05:44:12 +00:00
"adm-zip" : "^0.5.17" ,
2023-11-15 20:25:07 +00:00
"byline" : "^5.0.0" ,
"copyfiles" : "^2.4.1" ,
2023-11-23 06:56:07 +00:00
"mkdirp" : "^3.0.1" ,
2026-04-06 22:35:34 +00:00
"vite" : "^7.3.2" ,
2026-04-10 03:06:18 +00:00
"vitest" : "^4.1.4"
2023-11-15 20:25:07 +00:00
}
}