From f50bdeef70f03642404a1a47d14f5a017d0ad7d2 Mon Sep 17 00:00:00 2001 From: Hyeonmin Park Date: Tue, 14 Jun 2022 19:46:51 +0900 Subject: [PATCH] fix: add missing download CLI tool link for ppc64le, s390x Signed-off-by: Hyeonmin Park --- docs/operator-manual/argocd-cm.yaml | 2 ++ ui/src/app/help/components/help.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/operator-manual/argocd-cm.yaml b/docs/operator-manual/argocd-cm.yaml index 53e3666c22394..02eec7244f81a 100644 --- a/docs/operator-manual/argocd-cm.yaml +++ b/docs/operator-manual/argocd-cm.yaml @@ -39,6 +39,8 @@ data: # The URLs to download additional ArgoCD binaries (besides the Linux amd64 binary included by default) # for different OS architectures. If provided, additional download buttons will be displayed on the help page. help.download.linux-arm64: "path-or-url-to-download" + help.download.linux-ppc64le: "path-or-url-to-download" + help.download.linux-s390x: "path-or-url-to-download" help.download.darwin-amd64: "path-or-url-to-download" help.download.darwin-arm64: "path-or-url-to-download" help.download.windows-amd64: "path-or-url-to-download" diff --git a/ui/src/app/help/components/help.tsx b/ui/src/app/help/components/help.tsx index bf9b49a21554d..e7c9b99ef155f 100644 --- a/ui/src/app/help/components/help.tsx +++ b/ui/src/app/help/components/help.tsx @@ -43,7 +43,7 @@ export const Help = () => {   {Object.keys(binaryUrls || {}).map(binaryName => { const url = binaryUrls[binaryName]; - const match = binaryName.match(/.*(darwin|windows|linux)-(amd64|arm64)/); + const match = binaryName.match(/.*(darwin|windows|linux)-(amd64|arm64|ppc64le|s390x)/); const [platform, arch] = match ? match.slice(1) : ['', '']; return ( <>