kyverno-version-lookup

v2026.09.25

This skill should be used when looking up Kyverno Helm chart versions, release dates, and corresponding app versions from Artifact Hub. Use for version planning, upgrade decisions, and release timeline analysis.

GitHub
安装命令
npx skhub add plinde/kyverno-version-lookup
Markdown
SKILL.md

Kyverno Version Lookup

Query Kyverno Helm chart release information from Artifact Hub.

API Endpoint

https://artifacthub.io/api/v1/packages/helm/kyverno/kyverno

Quick Lookup

# Get all stable releases (no RCs) with dates
~/.claude/skills/kyverno-version-lookup/scripts/kyverno-versions.sh

# Get JSON for programmatic use
~/.claude/skills/kyverno-version-lookup/scripts/kyverno-versions.sh --json

# Get latest N releases
~/.claude/skills/kyverno-version-lookup/scripts/kyverno-versions.sh --limit 10

Manual API Query

# Fetch raw data
curl -s "https://artifacthub.io/api/v1/packages/helm/kyverno/kyverno" | jq '.available_versions'

# Filter stable releases only (no rc/beta/alpha)
curl -s "https://artifacthub.io/api/v1/packages/helm/kyverno/kyverno" | \
  jq '[.available_versions[] | select(.version | test("^[0-9]+\\.[0-9]+\\.[0-9]+$"))]'

# Pretty table with dates
curl -s "https://artifacthub.io/api/v1/packages/helm/kyverno/kyverno" | \
  jq -r '[.available_versions[] | select(.version | test("^[0-9]+\\.[0-9]+\\.[0-9]+$"))] |
         sort_by(.ts) | reverse |
         .[] | [.version, .app_version, (.ts | todate)] | @tsv' | \
  column -t -s $'\t'

Response Format

Each version entry contains:

FieldDescriptionExample
versionHelm chart version3.6.1
app_versionKyverno app versionv1.16.1
tsUnix timestamp of release1764753174
contains_security_updatesSecurity patch flagfalse
prereleaseRC/beta/alpha flagfalse

Version Mapping Reference

The Helm chart version and Kyverno app version follow different schemes:

  • Chart 3.x maps to Kyverno 1.1x (e.g., Chart 3.6.1 = Kyverno v1.16.1)
  • Chart 2.x maps to Kyverno 1.x (legacy)

Use Cases

  1. Check latest stable version

    curl -s "https://artifacthub.io/api/v1/packages/helm/kyverno/kyverno" | jq '.version, .app_version'
    
  2. Find release date for specific version

    curl -s "https://artifacthub.io/api/v1/packages/helm/kyverno/kyverno" | \
      jq '.available_versions[] | select(.version == "3.6.0") | .ts | todate'
    
  3. List versions released in last 90 days

    NINETY_DAYS_AGO=$(($(date +%s) - 7776000))
    curl -s "https://artifacthub.io/api/v1/packages/helm/kyverno/kyverno" | \
      jq --argjson cutoff "$NINETY_DAYS_AGO" \
        '[.available_versions[] | select(.ts > $cutoff and (.version | test("^[0-9]+\\.[0-9]+\\.[0-9]+$")))]'
    

Self-Test

# Verify API is accessible and returns expected structure
curl -sf "https://artifacthub.io/api/v1/packages/helm/kyverno/kyverno" | \
  jq -e '.version and .app_version and .available_versions' > /dev/null && \
  echo "PASS: Kyverno version lookup working" || echo "FAIL: API check failed"
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.25

发布时间

2026年9月25日

分类

未分类

许可证

未指定

源路径

kyverno-version-lookup/skills/kyverno-version-lookup

默认分支

main

最新提交

31d9ad1

Tree SHA

d20c61d