From a2373711879fff0dd34dac6828663c5c5180c2b9 Mon Sep 17 00:00:00 2001 From: Jakub Hadvig Date: Thu, 30 Oct 2025 15:02:18 +0100 Subject: [PATCH 1/2] Add build target to Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a build target that compiles the console binary with proper versioning from git tags and OCP build tags. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f9d9b08d7..3621dbd9d 100644 --- a/Makefile +++ b/Makefile @@ -48,6 +48,9 @@ test-e2e: install-go-junit-report ./test-e2e.sh .PHONY: test-e2e +build: + go build -ldflags "-X $GO_PACKAGE/pkg/version.versionFromGit=$(git describe --long --tags --abbrev=7 --match 'v[0-9]*')" -tags="ocp" -o console ./cmd/console + # Automatically install go-junit-report if not found GO_JUNIT_REPORT := $(shell command -v go-junit-report 2> /dev/null) install-go-junit-report: From 15c22a83610649d7c0a15b041342232ccc32c1ef Mon Sep 17 00:00:00 2001 From: Jakub Hadvig Date: Thu, 20 Nov 2025 12:06:57 +0100 Subject: [PATCH 2/2] RFE-6236 --- vendor/github.com/openshift/api/console/v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/github.com/openshift/api/console/v1/types.go b/vendor/github.com/openshift/api/console/v1/types.go index 416eaa3e8..14a7fc4ce 100644 --- a/vendor/github.com/openshift/api/console/v1/types.go +++ b/vendor/github.com/openshift/api/console/v1/types.go @@ -5,6 +5,6 @@ type Link struct { // text is the display text for the link Text string `json:"text"` // href is the absolute secure URL for the link (must use https) - // +kubebuilder:validation:Pattern=`^https://` + // +kubebuilder:validation:Pattern=`^(https://|mailto:)` Href string `json:"href"` }