From a804af1bada22b5205e20006f34b316414347f22 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Fri, 26 Apr 2024 07:10:43 +0900 Subject: [PATCH] feat(cert-manager/cmctl): add cert-manager/cmctl (#22256) --- aqua-registry-updater.yaml | 1 + .../cert-manager/cmctl/registry.yaml | 21 ++++++++---- pkgs/cert-manager/cmctl/pkg.yaml | 2 ++ pkgs/cert-manager/cmctl/registry.yaml | 14 ++++++++ registry.yaml | 34 +++++++++++++++---- 5 files changed, 58 insertions(+), 14 deletions(-) create mode 100644 pkgs/cert-manager/cmctl/pkg.yaml create mode 100644 pkgs/cert-manager/cmctl/registry.yaml diff --git a/aqua-registry-updater.yaml b/aqua-registry-updater.yaml index 4c8f4c1d82..149db0e376 100644 --- a/aqua-registry-updater.yaml +++ b/aqua-registry-updater.yaml @@ -31,3 +31,4 @@ ignore_packages: - kurehajime/dajarep # https://github.com/aquaproj/aqua-registry/pull/21053 - kurehajime/pong-command # https://github.com/aquaproj/aqua-registry/pull/21054 - golang/tools/guru # https://github.com/aquaproj/aqua-registry/pull/21620 + - cert-manager/cert-manager/cmctl # The code of cmctl was moved from cert-manager/cert-manager to cert-manager/cmctl diff --git a/pkgs/cert-manager/cert-manager/cmctl/registry.yaml b/pkgs/cert-manager/cert-manager/cmctl/registry.yaml index b055b7317b..a35f56df4d 100644 --- a/pkgs/cert-manager/cert-manager/cmctl/registry.yaml +++ b/pkgs/cert-manager/cert-manager/cmctl/registry.yaml @@ -6,10 +6,17 @@ packages: aliases: - name: jetstack/cert-manager/cmctl description: cmctl is a CLI tool that can help you to manage cert-manager resources inside your cluster - asset: cmctl-{{.OS}}-{{.Arch}}.tar.gz - files: - - name: cmctl - supported_envs: - - darwin - - linux - - amd64 + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 1.14.4") + asset: cmctl-{{.OS}}-{{.Arch}}.tar.gz + files: + - name: cmctl + supported_envs: + - darwin + - linux + - amd64 + - version_constraint: "true" + error_message: | + Please use the package cert-manager/cmctl instead. + The code of cmctl was moved from cert-manager/cert-manager to cert-manager/cmctl. diff --git a/pkgs/cert-manager/cmctl/pkg.yaml b/pkgs/cert-manager/cmctl/pkg.yaml new file mode 100644 index 0000000000..2e0f707b31 --- /dev/null +++ b/pkgs/cert-manager/cmctl/pkg.yaml @@ -0,0 +1,2 @@ +packages: + - name: cert-manager/cmctl@v2.0.0 diff --git a/pkgs/cert-manager/cmctl/registry.yaml b/pkgs/cert-manager/cmctl/registry.yaml new file mode 100644 index 0000000000..428d2ff169 --- /dev/null +++ b/pkgs/cert-manager/cmctl/registry.yaml @@ -0,0 +1,14 @@ +packages: + - type: github_release + repo_owner: cert-manager + repo_name: cmctl + description: the command line utility that makes cert-manager'ing easier + version_constraint: "false" + version_overrides: + - version_constraint: "true" + asset: cmctl_{{.OS}}_{{.Arch}} + format: raw + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 diff --git a/registry.yaml b/registry.yaml index 6feb60aa7c..9585262f78 100644 --- a/registry.yaml +++ b/registry.yaml @@ -10209,13 +10209,33 @@ packages: aliases: - name: jetstack/cert-manager/cmctl description: cmctl is a CLI tool that can help you to manage cert-manager resources inside your cluster - asset: cmctl-{{.OS}}-{{.Arch}}.tar.gz - files: - - name: cmctl - supported_envs: - - darwin - - linux - - amd64 + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 1.14.4") + asset: cmctl-{{.OS}}-{{.Arch}}.tar.gz + files: + - name: cmctl + supported_envs: + - darwin + - linux + - amd64 + - version_constraint: "true" + error_message: | + Please use the package cert-manager/cmctl instead. + The code of cmctl was moved from cert-manager/cert-manager to cert-manager/cmctl. + - type: github_release + repo_owner: cert-manager + repo_name: cmctl + description: the command line utility that makes cert-manager'ing easier + version_constraint: "false" + version_overrides: + - version_constraint: "true" + asset: cmctl_{{.OS}}_{{.Arch}} + format: raw + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 - type: github_release repo_owner: chaaz repo_name: versio