Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 96980d5

Browse files
committed
Added cmctl #2581
1 parent d9357d3 commit 96980d5

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

renovate.json

+11
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,17 @@
412412
"datasourceTemplate": "github-releases",
413413
"extractVersionTemplate": "^v(?<version>.+?)$"
414414
},
415+
{
416+
"fileMatch": [
417+
"^tools.yaml$"
418+
],
419+
"matchStrings": [
420+
"name: cmctl\\n\\s+version: \"?(?<currentValue>.*?)\"?\\n"
421+
],
422+
"depNameTemplate": "cert-manager/cert-manager",
423+
"datasourceTemplate": "github-releases",
424+
"extractVersionTemplate": "^v(?<version>.+?)$"
425+
},
415426
{
416427
"fileMatch": [
417428
"^tools.yaml$"

tools.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,27 @@ tools:
383383
${binary} completion bash >"${target}/share/bash-completion/completions/${name}"
384384
${binary} completion zsh >"${target}/share/zsh/vendor-completions/_${name}"
385385
386+
- name: cmctl
387+
version: 1.9.1
388+
check: ${binary} version --client --short | cut -dv -f2
389+
tags:
390+
- management
391+
- security
392+
download:
393+
- url: https://github.com/cert-manager/cert-manager/releases/download/v${version}/cmctl-linux-${alt_arch}.tar.gz
394+
type: tarball
395+
files:
396+
- cmctl
397+
- url: https://github.com/cert-manager/cert-manager/releases/download/v${version}/kubectl-cert_manager-linux-${alt_arch}.tar.gz
398+
type: tarball
399+
files:
400+
- kubectl-cert_manager
401+
post_install: |
402+
echo "Install completion"
403+
${binary} completion bash >"${target}/share/bash-completion/completions/${name}"
404+
${binary} completion fish >"${target}/share/fish/vendor_completions.d/${name}.fish"
405+
${binary} completion zsh >"${target}/share/zsh/vendor-completions/_${name}"
406+
386407
- name: cni
387408
version: 1.1.1
388409
binary: ${target}/libexec/cni/loopback

0 commit comments

Comments
 (0)