Comments (9)
ok I tested the latest plugin version 0.1.4
on Windows with Helm v3 beta 4, it worked fine for me.
I installed git from https://git-scm.com/downloads and used git bash
to run commands:
rimasm@windowz-helm-testing MINGW64 ~
$ helm plugin install https://github.com/helm/helm-2to3 --debug
[debug] updating https://github.com/helm/helm-2to3
[debug] symlinking C:\Users\rimasm\AppData\Local\Temp\helm\plugins\https-github.com-helm-helm-2to3 to C:\Users\rimasm\AppData\Roaming\helm\plugins\helm-2to3
plugin_install.go:75: [debug] loading plugin from C:\Users\rimasm\AppData\Roaming\helm\plugins\helm-2to3
plugin.go:60: [debug] running install hook: C:\Program Files\Git\usr\bin\sh.exe -c cd $HELM_PLUGIN_DIR; scripts/install_plugin.sh
Downloading and installing helm-2to3 v0.1.4 ...
https://github.com/helm/helm-2to3/releases/download/v0.1.4/helm-2to3_0.1.4_windows_amd64.tar.gz
Installed plugin: 2to3
rimasm@windowz-helm-testing MINGW64 ~
$ helm 2to3
Migrate and Cleanup Helm v2 configuration and releases in-place to Helm v3
Usage:
2to3 [command]
Available Commands:
cleanup cleanup Helm v2 configuration, release data and Tiller deployment
convert migrate Helm v2 release in-place to Helm v3
help Help about any command
move migrate Helm v2 configuration in-place to Helm v3
Flags:
-h, --help help for 2to3
Use "2to3 [command] --help" for more information about a command.
from helm-2to3.
I will try to look to this when I get some free cycles
from helm-2to3.
I did the same tests with v0.1.6 as above, all worked fine.
from helm-2to3.
@nlowe does it work for you the approach I used above or do we still need to do something at our end?
from helm-2to3.
I'll take a look later Today and let you know
from helm-2to3.
I've confirmed this still doesn't work in PowerShell out of the box, users on windows will need to run this from Git Bash (or a similar prompt that provides bash
on windows). Can we update the README to make this more clear? As it stands currently, users on Windows can't follow the install instructions.
Another option is to port the install script to Go and add it as a hidden sub-command, that should work out of the box on any system that the plugin supports, even if the user is missing bash.
from helm-2to3.
@bacongobbler What is expected support for plugins on Windows?
from helm-2to3.
Currently, plugin hooks are expected to be executed via WSL or mingw64, as the plugin hooks are all run under /bin/sh
. This is true for both Helm 2 and Helm 3. It's been that way ever since plugin support was introduced in Helm 2.3.0.
from helm-2to3.
Works for me under WSL:
bacongobbler@ULTRALISK:~$ wget https://get.helm.sh/helm-v3.0.0-linux-amd64.tar.gz
bacongobbler@ULTRALISK:~$ tar xzf helm-v3.0.0-linux-amd64.tar.gz
bacongobbler@ULTRALISK:~$ ./linux-amd64/helm plugin install https://github.com/helm/helm-2to3
Downloading and installing helm-2to3 v0.2.0 ...
https://github.com/helm/helm-2to3/releases/download/v0.2.0/helm-2to3_0.2.0_linux_amd64.tar.gz
Installed plugin: 2to3
@nlowe for true Windows support for helm plugins, please follow helm/helm#7117. I opened a ticket upstream so that plugins can provide install hooks that work in a Windows environment. Thanks!
from helm-2to3.
Related Issues (20)
- helm 2to3 cleanup creates many client instances per release HOT 3
- helm chart linting HOT 4
- Add darwin/arm64 (Apple Silicon) support HOT 1
- Error: open /Users/xxx/Library/Caches/helm/repository/local-index.yaml: no such file or directory HOT 1
- Cannot migrate to helm 3 when chart contains helm-hook with job HOT 4
- Ok to delete tiller serviceaccount, clusterrolebinding and namespace HOT 1
- Modify release-versions-max after migrating cluster from 2 to 3 HOT 4
- Error installing plugin under WSL1 with Helm 3.5.4 HOT 2
- Error: RELEASE_NAME has no deployed releases HOT 2
- helm2 lists the migrated releases HOT 4
- Plugin not available for MacOS running on M1 HOT 1
- Asset for Darwin_arm64 missed in v0.10.0 HOT 1
- failed to create: Secret "sh.helm.release.v1.v54" is invalid: data: Too long: must have at most 1048576 bytes HOT 2
- invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable HOT 1
- Default behaviour of convert looks to be cleaning v2 releases when it should leave them HOT 5
- Plugin does not delete helm2 release history when using `--ignore-already-migrated` HOT 1
- Convert configmaps to original helm value yaml? HOT 3
- Select namespace of converted releases HOT 1
- Approve PR's and create release HOT 2
- Use helm3 2to3 convert error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-2to3.