This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit d43bdacbda264fbce0a287f5c4e7d49d84bdebf3 Author: Nicola Ferraro <[email protected]> AuthorDate: Mon Feb 10 18:18:20 2020 +0100 Fix #1223: add build-time overrides in Makefile --- script/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/script/Makefile b/script/Makefile index df560c4..ff8e7d9 100644 --- a/script/Makefile +++ b/script/Makefile @@ -36,6 +36,16 @@ STAGING_RUNTIME_REPO := https://repository.apache.org/content/repositories/orgap # or "download" them from Apache Snapshots and Maven Central PACKAGE_ARTIFACTS_STRATEGY := copy +# OLM (Operator Lifecycle Manager and Operator Hub): uncomment to override operator settings at build time +#GOLDFLAGS += -X github.com/apache/camel-k/pkg/util/olm.DefaultOperatorName=camel-k-operator +#GOLDFLAGS += -X github.com/apache/camel-k/pkg/util/olm.DefaultPackage=camel-k +#GOLDFLAGS += -X github.com/apache/camel-k/pkg/util/olm.DefaultChannel=alpha +#GOLDFLAGS += -X github.com/apache/camel-k/pkg/util/olm.DefaultSource=community-operators +#GOLDFLAGS += -X github.com/apache/camel-k/pkg/util/olm.DefaultSourceNamespace=openshift-marketplace +#GOLDFLAGS += -X github.com/apache/camel-k/pkg/util/olm.DefaultStartingCSV= +#GOLDFLAGS += -X github.com/apache/camel-k/pkg/util/olm.DefaultGlobalNamespace=openshift-operators + +# Build GOLDFLAGS += -X github.com/apache/camel-k/pkg/cmd/operator.GitCommit=$(GIT_COMMIT) GOFLAGS = -ldflags "$(GOLDFLAGS)" -trimpath
