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

make install fails to find kustomization.yaml #914

Closed
mikemorris opened this issue Oct 25, 2021 · 1 comment · Fixed by #915
Closed

make install fails to find kustomization.yaml #914

mikemorris opened this issue Oct 25, 2021 · 1 comment · Fixed by #915
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@mikemorris
Copy link
Contributor

mikemorris commented Oct 25, 2021

What happened:

make install
kubectl kustomize config/crd/v1alpha2 | kubectl apply -f -
Error: unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory 'gateway-api/config/crd/v1alpha2'
error: no objects passed to apply
make: *** [crd] Error 1

What you expected to happen:
make install to pick up the kustomization.yaml file from the parent directory, config/crd, and make install to complete successfully.

I'm unsure if this file should be symlinked into the v1alpha* directories, distinct copies maintained within each, or if some CLI argument to look for it a level above is missing.

How to reproduce it (as minimally and precisely as possible):
make install

Anything else we need to know?:
gateway-api master branch, 08ffbed

kustomize version
{Version:kustomize/v4.4.0 GitCommit:63ec6bdb3d737a7c66901828c5743656c49b60e1 BuildDate:2021-09-27T16:13:36Z GoOs:darwin GoArch:amd64}
@mikemorris mikemorris added the kind/bug Categorizes issue or PR as related to a bug. label Oct 25, 2021
@hbagdi
Copy link
Contributor

hbagdi commented Oct 25, 2021

We will have to figure out a better way to "kustomize" our CRD manifests but for now, I've opened up #915 since I expect implementations that install v1alpha1 and v1alpha2 at the same time to be less common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants