OpenParable
Skip to content
← Back to skills

Kyverno Version Lookup

Research
kyverno-version-lookup

Kyverno Version Lookup is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/kyverno-version-lookup/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/kyverno-version-lookup, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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"