From aae7ff91d5506fc3f3c65892c19203d6b64d5328 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Wed, 15 Jun 2022 22:21:01 +0900 Subject: [PATCH] feat(corneliusweig/rakkess/access-matrix): windows support --- pkgs/corneliusweig/rakkess/access-matrix/registry.yaml | 5 ++++- registry.json | 8 +++++++- registry.yaml | 5 ++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/pkgs/corneliusweig/rakkess/access-matrix/registry.yaml b/pkgs/corneliusweig/rakkess/access-matrix/registry.yaml index c09b4144250..bd15e5c6ce3 100644 --- a/pkgs/corneliusweig/rakkess/access-matrix/registry.yaml +++ b/pkgs/corneliusweig/rakkess/access-matrix/registry.yaml @@ -4,8 +4,11 @@ packages: repo_owner: corneliusweig repo_name: rakkess description: Review Access - kubectl plugin to show an access matrix for k8s server resources - supported_if: not ((GOOS == "linux") and (GOARCH == "arm64")) + supported_if: GOOS == "darwin" or GOARCH == "amd64" asset: "access-matrix-{{.Arch}}-{{.OS}}.tar.gz" + overrides: + - goos: windows + asset: access-matrix-amd64-windows.zip files: - name: kubectl-access_matrix src: "access-matrix-{{.Arch}}-{{.OS}}" diff --git a/registry.json b/registry.json index afc4755d5b3..8dc2ee02c0b 100644 --- a/registry.json +++ b/registry.json @@ -2406,9 +2406,15 @@ } ], "name": "corneliusweig/rakkess/access-matrix", + "overrides": [ + { + "asset": "access-matrix-amd64-windows.zip", + "goos": "windows" + } + ], "repo_name": "rakkess", "repo_owner": "corneliusweig", - "supported_if": "not ((GOOS == \"linux\") and (GOARCH == \"arm64\"))", + "supported_if": "GOOS == \"darwin\" or GOARCH == \"amd64\"", "type": "github_release" }, { diff --git a/registry.yaml b/registry.yaml index 928dadb094b..30059a328e3 100644 --- a/registry.yaml +++ b/registry.yaml @@ -1604,8 +1604,11 @@ packages: repo_owner: corneliusweig repo_name: rakkess description: Review Access - kubectl plugin to show an access matrix for k8s server resources - supported_if: not ((GOOS == "linux") and (GOARCH == "arm64")) + supported_if: GOOS == "darwin" or GOARCH == "amd64" asset: "access-matrix-{{.Arch}}-{{.OS}}.tar.gz" + overrides: + - goos: windows + asset: access-matrix-amd64-windows.zip files: - name: kubectl-access_matrix src: "access-matrix-{{.Arch}}-{{.OS}}"