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

Required Kustomize Config Change #190

Merged
merged 4 commits into from
Apr 15, 2019

Conversation

kensipe
Copy link
Member

@kensipe kensipe commented Apr 15, 2019

What type of PR is this?
/kind bug

What this PR does / why we need it:
Kustomize requires resource paths to be in the configuration directory or sub-directory.
rbac and manager configs were moved under default

We will not be able to reuse rbac configurations unless we move to building out a "scratch" or output directory to manipulate files.

Which issue(s) this PR fixes:
Fixes #189

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@kensipe kensipe requested review from gerred and fabianbaier April 15, 2019 14:34
@fabianbaier
Copy link
Member

What we probably also should do is adding Kustomize v2.0 to the pre-requisites here https://github.com/kudobuilder/kudo/blame/master/README.md#L22

config/default/kustomization.yaml Outdated Show resolved Hide resolved
config/default/rbac/rbac_role.yaml Outdated Show resolved Hide resolved
@kensipe
Copy link
Member Author

kensipe commented Apr 15, 2019

thanks for the review @fabianbaier and catching the extra files!

Copy link
Member

@fabianbaier fabianbaier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kensipe kensipe force-pushed the ken/kustomize-layout branch from ff0990a to 1acde68 Compare April 15, 2019 18:26
@kensipe kensipe merged commit 211d7aa into kudobuilder:master Apr 15, 2019
@@ -20,6 +20,7 @@ Before you get started:
- Latest version of `dep`
- Kubernetes Cluster `1.12` or later (e.g. [Minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/))
- [Install kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) with version `1.12` or later
- [Install Kustomize](https://github.com/kubernetes-sigs/kustomize/blob/master/docs/INSTALL.md)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe pinpointing the version as well?

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

Successfully merging this pull request may close these issues.

make deploy is unable to deploy rbac configuration
3 participants