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

Example configuration doesn't work with kustomize #36

Closed
AssafKatz3 opened this issue Feb 13, 2019 · 3 comments
Closed

Example configuration doesn't work with kustomize #36

AssafKatz3 opened this issue Feb 13, 2019 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@AssafKatz3
Copy link

Hi,
Running "kustomize build" on example configuration don't work since it uses "../rbac" and "../manager" while kustomize (2.0.1) assumes that it is under the folder which contains the kustomization.yaml, the error is:

Error: rawResources failed to read Resources: Load from path ../manager/manager.yaml failed: security; file '../manager/manager.yaml' is not in or below '/home/wave-master/config/default'

I moved both folder under default and modify the path accordingly.
Thanks

@JoelSpeed JoelSpeed added bug Something isn't working help wanted Extra attention is needed labels Feb 18, 2019
@JoelSpeed
Copy link
Collaborator

I'm not a kustomize user personally. I wonder if updating our kubebuilder code generation would fix this 🤔

@AssafKatz3 Could you maybe go into more detail about the changes you made? I'm not following
Perhaps a PR if you have the time?

@AssafKatz3
Copy link
Author

The changes (with changes for #37) are here

@meganwalker-ibm
Copy link
Contributor

I've just opened a PR for this in #39 to show what worked for me in fixing the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants