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

Scaffolded project is broken #339

Open
everettraven opened this issue May 20, 2024 · 1 comment
Open

Scaffolded project is broken #339

everettraven opened this issue May 20, 2024 · 1 comment

Comments

@everettraven
Copy link
Contributor

As discovered in https://kubernetes.slack.com/archives/C0181L6JYQ2/p1716234751101299 the hybrid plugin successfully scaffolds an operator project but it is not functional. We need to identify the issues and fix them before a new release is cut.

Additionally, we should add e2e test to verify that the scaffolded projects are functional.

Additional findings related to this can/should be added as a comment or by updating this description.

@joelanford
Copy link
Member

Just for ease of discovery, copying our existing findings here.

In testdata/hybrid/memcached-operator/

  • Dockerfile Go builder base image is incompatible with go.mod
  • make install fails. It assumes there will be a config/crd/kustomization.yaml file and there is not one.

Manually fixing these two things allows me to make docker-build, load the image into the kind cluster, and then make install deploy successfully. After that, I see that the controller deployment startup successfully.

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