Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTA fails with gitrepositories.source.toolkit.fluxcd.io "xxxx" not found #19

Open
svenihoney opened this issue Nov 25, 2024 · 1 comment
Assignees

Comments

@svenihoney
Copy link

I have a cluster generated by clustertool which uses fluxcd. Now I would like to transfer that to argocd. But each appilcation I would like to transfer fails.

Currently the flux layout is a customization which itself pulls in a helmrelease. So mta scan delivers me something like the following output:

┌───────────────┬─────────────────────────────────┬─────────────────────┬────────────────────────────────────────────────────────────────────────────┐
│ KIND          │ NAME                            │ NAMESPACE           │ STATUS                                                                     │
├───────────────┼─────────────────────────────────┼─────────────────────┼────────────────────────────────────────────────────────────────────────────┤
│ HelmRelease   │ cilium                          │ kube-system         │ Helm upgrade succeeded for release kube-system/cilium.v2 with chart cil... │
...
├───────────────┼─────────────────────────────────┼─────────────────────┼────────────────────────────────────────────────────────────────────────────┤
│ Kustomization │ cilium                          │ flux-system         │ Applied revision: main@sha1:62f8786fb634d3c5151c1946c3e8a78e0ef8196b       │
...
└───────────────┴─────────────────────────────────┴─────────────────────┴────────────────────────────────────────────────────────────────────────────┘

No matter which application I would like to convert, I get the following error:

$ /tmp/00share/mta-amd64-linux kustomization --name cilium
FATA[0000] gitrepositories.source.toolkit.fluxcd.io "cilium" not found

If I try to convert the helmrelease, it appends the namespace instead of replacing it:

$ /tmp/00share/mta-amd64-linux helmrelease --name cilium --namespace kube-system 
FATA[0000] helmcharts.source.toolkit.fluxcd.io "flux-system-cilium" not found

So, currenty I have no chance to use this promising tool at all...

@nitishfy nitishfy self-assigned this Jan 19, 2025
@nitishfy
Copy link
Member

nitishfy commented Jan 19, 2025

Thanks for raising this issue @svenihoney

I've started working on this issue and it'll be resolved shortly. Are you using the latest version of mta which is v0.0.9 ?
For helmrelease, we fixed it here: #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants