mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-04-21 17:47:22 +00:00
Bumps the vitest group with 2 updates: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `@vitest/coverage-v8` from 4.1.3 to 4.1.4 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.4/packages/coverage-v8) Updates `vitest` from 4.1.3 to 4.1.4 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.4/packages/vitest) --- updated-dependencies: - dependency-name: "@vitest/coverage-v8" dependency-version: 4.1.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: vitest - dependency-name: vitest dependency-version: 4.1.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: vitest ... Signed-off-by: dependabot[bot] <support@github.com>
163 lines
5.8 KiB
JSON
163 lines
5.8 KiB
JSON
{
|
|
"name": "kubectl-cli",
|
|
"displayName": "kubectl CLI",
|
|
"description": "Install and update kubectl CLI Tools without leaving Podman Desktop",
|
|
"version": "1.27.0-next",
|
|
"icon": "icon.png",
|
|
"publisher": "podman-desktop",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"podman-desktop": "^0.0.1"
|
|
},
|
|
"main": "./dist/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "kubectl.install",
|
|
"title": "Kubectl: Install..."
|
|
},
|
|
{
|
|
"command": "kubectl.checks",
|
|
"title": "Kubectl: Checks..."
|
|
},
|
|
{
|
|
"command": "kubectl.onboarding.checkDownloadedCommand",
|
|
"title": "Kubectl: Check kubectl Downloaded"
|
|
},
|
|
{
|
|
"command": "kubectl.onboarding.downloadCommand",
|
|
"title": "Kubectl: Download kubectl"
|
|
}
|
|
],
|
|
"onboarding": {
|
|
"title": "kubectl Setup",
|
|
"priority": 30,
|
|
"enablement": "!kubectl.isKubectlInstalledSystemWide",
|
|
"steps": [
|
|
{
|
|
"id": "checkDownloadedCommand",
|
|
"label": "Check kubectl",
|
|
"title": "Checking for kubectl installation",
|
|
"command": "kubectl.onboarding.checkDownloadedCommand",
|
|
"completionEvents": [
|
|
"onCommand:kubectl.onboarding.checkDownloadedCommand"
|
|
]
|
|
},
|
|
{
|
|
"id": "welcomeDownloadView",
|
|
"label": "kubectl Download",
|
|
"title": "kubectl download",
|
|
"when": "!kubectl.isKubectlInstalledSystemWide && onboardingContext:kubectlIsNotDownloaded",
|
|
"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.",
|
|
"when": "!kubectl.isKubectlInstalledSystemWide && onboardingContext:kubectlIsNotDownloaded",
|
|
"command": "kubectl.onboarding.downloadCommand",
|
|
"completionEvents": [
|
|
"onCommand:kubectl.onboarding.downloadCommand"
|
|
]
|
|
},
|
|
{
|
|
"id": "downloadFailure",
|
|
"title": "Failed downloading kubectl",
|
|
"when": "!kubectl.isKubectlInstalledSystemWide && onboardingContext:kubectlIsNotDownloaded",
|
|
"state": "failed"
|
|
},
|
|
{
|
|
"id": "downloadSuccessfulView",
|
|
"title": "kubectl successfully downloaded",
|
|
"when": "!kubectl.isKubectlInstalledSystemWide && !onboardingContext:kubectlIsNotDownloaded",
|
|
"content": [
|
|
[
|
|
{
|
|
"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.**"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "installSystemWideCommand",
|
|
"title": "Install kubectl",
|
|
"description": "Installing the binary system-wide.\n\n You may be prompted for elevated system privileges.",
|
|
"when": "!kubectl.isKubectlInstalledSystemWide && !kubectl.isKubectlInstalledSystemWide",
|
|
"command": "kubectl.onboarding.installSystemWideCommand",
|
|
"completionEvents": [
|
|
"onCommand:kubectl.onboarding.installSystemWideCommand"
|
|
]
|
|
},
|
|
{
|
|
"id": "installSystemWideFailure",
|
|
"title": "Failed installing kubectl",
|
|
"when": "!kubectl.isKubectlInstalledSystemWide && !kubectl.isKubectlInstalledSystemWide",
|
|
"state": "failed"
|
|
},
|
|
{
|
|
"id": "installSystemWideSuccess",
|
|
"title": "kubectl installed",
|
|
"when": "kubectl.isKubectlInstalledSystemWide",
|
|
"state": "completed",
|
|
"content": [
|
|
[
|
|
{
|
|
"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
|
|
}
|
|
]
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"title": "Kubectl",
|
|
"properties": {
|
|
"kubectl.binary.installKubectlSystemWide": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"scope": [
|
|
"DEFAULT",
|
|
"Onboarding"
|
|
],
|
|
"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."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build && node ./scripts/build.js",
|
|
"test": "vitest run --coverage",
|
|
"watch": "vite build -w",
|
|
"format:check": "biome format",
|
|
"format:fix": "biome format --write"
|
|
},
|
|
"dependencies": {
|
|
"@octokit/rest": "^22.0.1",
|
|
"@podman-desktop/api": "workspace:*",
|
|
"semver": "^7.7.4",
|
|
"shell-path": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/semver": "^7.7.1",
|
|
"adm-zip": "^0.5.17",
|
|
"byline": "^5.0.0",
|
|
"copyfiles": "^2.4.1",
|
|
"mkdirp": "^3.0.1",
|
|
"vite": "^7.3.2",
|
|
"vitest": "^4.1.4"
|
|
}
|
|
}
|