From 68fbd6e27ce5bc39cb10367476a17aa366b7f8ca Mon Sep 17 00:00:00 2001 From: Simon Lauger Date: Sun, 6 Sep 2026 20:19:14 +0200 Subject: [PATCH] chore: add the Artifact Hub repository ID and badge The listing is registered, so the release workflow can now push artifacthub-repo.yml as an OCI layer instead of skipping it, which is what earns the verified-publisher badge. Registered as slauger-crashloop-operator, since the unprefixed name was already taken by an unrelated project. That name appears only in the Artifact Hub URL; the chart name and the install command are unchanged. Adds the badge to the README alongside the existing four. Signed-off-by: Simon Lauger --- README.md | 1 + artifacthub-repo.yml | 17 +++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 165a3d9..bdfd53a 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Go Report Card](https://goreportcard.com/badge/github.com/slauger/crashloop-operator)](https://goreportcard.com/report/github.com/slauger/crashloop-operator) [![Go Reference](https://pkg.go.dev/badge/github.com/slauger/crashloop-operator.svg)](https://pkg.go.dev/github.com/slauger/crashloop-operator) [![License](https://img.shields.io/github/license/slauger/crashloop-operator)](LICENSE) +[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/slauger-crashloop-operator)](https://artifacthub.io/packages/search?repo=slauger-crashloop-operator) A Kubernetes Operator that watches pods for terminal failure states and scales down (or suspends) the owning workload after configurable thresholds are exceeded. Prevents resource waste and alert fatigue from permanently broken deployments. diff --git a/artifacthub-repo.yml b/artifacthub-repo.yml index 8025182..44d9bd4 100644 --- a/artifacthub-repo.yml +++ b/artifacthub-repo.yml @@ -1,12 +1,13 @@ -# Artifact Hub repository metadata. This file is pushed to the chart's OCI -# repository during a release so that Artifact Hub can verify who owns it. +# Artifact Hub repository metadata. The release workflow pushes this file to +# the chart's OCI repository as an artifacthub.io layer, which is how Artifact +# Hub verifies who owns the listing and grants the verified-publisher badge. # -# repositoryID is issued by Artifact Hub when the repository is registered as -# kind OCI with the URL oci://ghcr.io/slauger/charts/crashloop-operator. Until -# it is filled in the release workflow skips the push, because publishing this -# file with a blank or wrong ID would fail verification rather than establish -# it. -repositoryID: "" +# The listing is registered as kind Helm with the URL +# oci://ghcr.io/slauger/charts/crashloop-operator, under the repository name +# slauger-crashloop-operator because the unprefixed name was already taken. +# That name only appears in the Artifact Hub URL; the chart itself and the +# install command are unaffected. +repositoryID: "b6525baf-0717-4352-9174-bed0afd7efca" owners: - name: Simon Lauger email: simon@lauger.de