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

Install instructions #19

Open
hlascelles opened this issue Sep 21, 2022 · 6 comments
Open

Install instructions #19

hlascelles opened this issue Sep 21, 2022 · 6 comments

Comments

@hlascelles
Copy link

hlascelles commented Sep 21, 2022

This looks like a great project. Can we get some bare bones instructions on how to install it?

Would it work well as a helm chart?

@coderanger
Copy link
Owner

It uses the standard controller-runtime layout so the included install setup uses Kustomize rather than Helm. kustomize build config | kubectl apply -f -. I should get that better documented though so will leave this open :D

@hlascelles
Copy link
Author

hlascelles commented Sep 21, 2022

Cheers, will have a look!

NB, currently:

❯ kustomize build config
Error: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory 'migrations-operator/config'

@alexknips
Copy link

alexknips commented Jan 23, 2023

No idea how to make this work myself

kubectl kustomize --enable-alpha-plugins kustomize-folder | kubectl apply -f -

results in

resource mapping not found for name: "..." namespace: "" from "STDIN": no matches for kind "Migrator" in version "migrations.coderanger.net/v1beta1"

@alexknips
Copy link

Cheers, will have a look!

NB, currently:

❯ kustomize build config
Error: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory 'migrations-operator/config'

your kustomize probably requires another folder. But even that did not help me

@hlascelles
Copy link
Author

@coderanger This looks like an excellent project, but it would be great if there was a one-liner you could give us to "get it going". If I could prove it out I could look at making a helm chart PR for those who want it?

@acrogenesis
Copy link

Use this #20

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

4 participants