-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fix makefile issues due to rebasing over PR #35 #37
Conversation
The makefile was rebased over a commit which moves some deployment yamls around, breaking many of the rules. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, the made changes work fine for me
# It's safer to delete all workspaces before deleting the controller; otherwise we could | ||
# leave workspaces in a hanging state if we add finalizers. | ||
# It's safer to delete all workspaces before deleting the controller; otherwise we could | ||
# leave workspaces in a hanging state if we add finalizers. | ||
ifneq ($(shell command -v kubectl),) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Figured it out, that was subtle: https://stackoverflow.com/questions/5618615/check-if-a-program-exists-from-a-makefile#comment76110496_34756868
* Rather than break if kustomize is not installed, use the same logic in the DWO repo, and just install it on demand. Also add support for --default-image flag so we can pass in CRW version of DWCO image and regen yamls Change-Id: I72ce08ac31ae280261e1685502c10b73d7a04d88 Signed-off-by: nickboldt <nboldt@redhat.com> * fix fallback image values so even if we use default values, we can override with DEFAULT_IMAGE; add missing quotes Change-Id: I287a811d3b05409cd71f3e0c2f898020a660f244 Signed-off-by: nickboldt <nboldt@redhat.com>
What does this PR do?
Fix the makefile after rebasing over #35, which moved some yamls around in the deploy folder -- I failed to check for this before merging.
It also adds support for setting default routing class when deploying.
Is it tested? How?
Tested on crc with options