Skip to content

Commit

Permalink
fix: Corrects deploy Makefile if no OS_CONSOLE_URL provided
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomjinx committed Dec 18, 2023
1 parent f880e17 commit f47acd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ MODE ?= namespace
# Use configmap as hawtconfig file
HAWTCONFIG ?= true
# The URL to use for access to the openshift console
OS_CONSOLE_URL ?= ""
OS_CONSOLE_URL ?=

# Uninstall all hawtio-onlineresources: [true|false]
UNINSTALL_ALL ?=false
Expand Down Expand Up @@ -121,7 +121,7 @@ check-admin: kubectl
# Handle if console url has been specified for openshift
#
.openshift-console-url:
ifeq ($(OS_CONSOLE_URL), '')
ifeq ($(OS_CONSOLE_URL),)
@$(call add-remove-kind-patch,$(CLUSTER_TYPE)/$(MODE),remove,../../$(OS_CONSOLE_URL_PATCH),Deployment)
else
@sed -i 's~.*value:.*~ value: "$(OS_CONSOLE_URL)"~' $(OS_CONSOLE_URL_PATCH)
Expand Down

0 comments on commit f47acd0

Please sign in to comment.