Comments (8)
@alexandrsemak until we implement it you can run it with || true
from helm-2to3.
I can take a shot at this! This is the first time I'm going to try to contribute to this repo, so I'll ping if I have any questions. Also, please do put any pointers that I have to keep in mind while working on this! 😄
from helm-2to3.
I'm in favour of the simple plugin as well, no needs to make it too complicated.
Running convert with || true
easily solves the problem.
from helm-2to3.
kk, it is just proposal i am ok with leave as is
from helm-2to3.
@karuppiah7890 Can you hold back on this. Not sure we want to do this yet. Let me get back to you on it.
from helm-2to3.
Sure! I was just trying out the plugin for now. And I had some questions on how to go about this issue. Let me know when it's needed. I'll resume then 😄
from helm-2to3.
@alexandrsemak Currently, the plugin works as follows:
- Retrieves the Helm v2 release version/revisions from storage in clusters
- Maps the release versions to Helm v3 metadata
- Calls Helm v3 storage API to store each release version. The storage API throws an error if there is an issue which includes if the release version already exists in the cluster
To check if a release is already converted would require retrieving the release versions through Helm v3 API. Then potentially iterating through all the versions to see if a version or all versions exist to be certain.
This is necessary as it cannot be known if the Helm release version object in the cluster is converted or not. It may have been added previous to migration.
@alexandrsemak @karuppiah7890 @rimusz I am not sure we want to add extra layers of checking for a use case that can be handled easily enough by the caller of the command. I would think the plugin which is essentially a tool, should remain as simple as possible. What do you think?
from helm-2to3.
Closing following discussion agreement.
from helm-2to3.
Related Issues (20)
- 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 2
- Approve PR's and create release HOT 2
- Use helm3 2to3 convert error
- v0.11.0 missing release assets HOT 1
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.