diff --git a/Formula/c/cmctl.rb b/Formula/c/cmctl.rb index 4e627437e5542b..5b746732246238 100644 --- a/Formula/c/cmctl.rb +++ b/Formula/c/cmctl.rb @@ -1,8 +1,8 @@ class Cmctl < Formula desc "Command-line tool to manage cert-manager" homepage "https://cert-manager.io" - url "https://github.com/cert-manager/cmctl/archive/refs/tags/v2.0.0.tar.gz" - sha256 "fbb3f0a65e01a534e0946cbeb48b7ae8f758d48cca21957b15681b2cdfde0ad6" + url "https://github.com/cert-manager/cmctl/archive/refs/tags/v2.1.0.tar.gz" + sha256 "f2bf7e2a14c6df8e8e2f0db3cb4f823f6efb4c83830daddc30a04ba84bbec308" license "Apache-2.0" head "https://github.com/cert-manager/cmctl.git", branch: "main" @@ -39,7 +39,7 @@ def install assert_match "cmctl", shell_output("#{bin}/cmctl help") # We can't make a Kubernetes cluster in test, so we check that when we use a remote command # we find the error about connecting - assert_match "error: error finding the scope of the object", shell_output("#{bin}/cmctl check api 2>&1", 129) + assert_match "error: error finding the scope of the object", shell_output("#{bin}/cmctl check api 2>&1", 1) # The convert command *can* be tested locally. (testpath/"cert.yaml").write <<~EOF apiVersion: cert-manager.io/v1beta1