From 10620a4482b89e849e5afe7c2dde7dfaf31b352d Mon Sep 17 00:00:00 2001 From: pratap0007 Date: Tue, 8 Sep 2026 12:09:20 +0530 Subject: [PATCH] fix(tektonaddon): use zip format for Windows CLI downloads Change Windows tkn binary download links from .tar.gz to .zip format. CLI publishes windows binaries as .zip archives and Windows users expect .zip archives for CLI tools. Updating the download links will ensure consistency with the published CLI artifacts. Signed-off-by: pratap0007 --- .../tektonaddon/testdata/test-console-cli-expected.yaml | 4 ++-- pkg/reconciler/openshift/tektonaddon/transformer.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/reconciler/openshift/tektonaddon/testdata/test-console-cli-expected.yaml b/pkg/reconciler/openshift/tektonaddon/testdata/test-console-cli-expected.yaml index 139503e703..736b2c28de 100644 --- a/pkg/reconciler/openshift/tektonaddon/testdata/test-console-cli-expected.yaml +++ b/pkg/reconciler/openshift/tektonaddon/testdata/test-console-cli-expected.yaml @@ -18,7 +18,7 @@ spec: text: Download tkn and tkn-pac for Mac x86_64 - href: https://testserver.com/tkn/tkn-macos-arm64.tar.gz text: Download tkn and tkn-pac for Mac ARM 64 - - href: https://testserver.com/tkn/tkn-windows-amd64.tar.gz + - href: https://testserver.com/tkn/tkn-windows-amd64.zip text: Download tkn and tkn-pac for Windows x86_64 - - href: https://testserver.com/tkn/tkn-windows-arm64.tar.gz + - href: https://testserver.com/tkn/tkn-windows-arm64.zip text: Download tkn and tkn-pac for Windows ARM 64 diff --git a/pkg/reconciler/openshift/tektonaddon/transformer.go b/pkg/reconciler/openshift/tektonaddon/transformer.go index a63d501617..cad56101b7 100644 --- a/pkg/reconciler/openshift/tektonaddon/transformer.go +++ b/pkg/reconciler/openshift/tektonaddon/transformer.go @@ -77,8 +77,8 @@ func getlinks(baseURL string) []console.CLIDownloadLink { {"IBM Z", "tkn/tkn-linux-s390x.tar.gz"}, {"Mac x86_64", "tkn/tkn-macos-amd64.tar.gz"}, {"Mac ARM 64", "tkn/tkn-macos-arm64.tar.gz"}, - {"Windows x86_64", "tkn/tkn-windows-amd64.tar.gz"}, - {"Windows ARM 64", "tkn/tkn-windows-arm64.tar.gz"}, + {"Windows x86_64", "tkn/tkn-windows-amd64.zip"}, + {"Windows ARM 64", "tkn/tkn-windows-arm64.zip"}, } links := []console.CLIDownloadLink{} for _, platformURL := range platformURLs {