From 5b5afa05576cda1fcc5b31b8850e76b8ac2bebe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= Date: Thu, 25 Jan 2024 13:39:25 +0100 Subject: [PATCH] fix: Set valid metadata.name, can't contain spaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: VĂ­ctor Cuadrado Juan --- artifacthub-pkg.yml | 4 ++-- metadata.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/artifacthub-pkg.yml b/artifacthub-pkg.yml index 81482e6..f271742 100644 --- a/artifacthub-pkg.yml +++ b/artifacthub-pkg.yml @@ -5,9 +5,9 @@ # This config can be saved to its default location with: # kwctl scaffold artifacthub > artifacthub-pkg.yml version: 0.1.0-rc1 -name: Container Resources +name: container-resources displayName: Container Resources -createdAt: 2024-01-11T13:14:35.83415595Z +createdAt: 2024-01-25T12:36:43.375206024Z description: Policy is designed to enforce constraints on the resource requirements of Kubernetes containers license: Apache-2.0 homeURL: https://github.com/kubewarden/container-resources-policy diff --git a/metadata.yml b/metadata.yml index fd6aa0d..3bca8c8 100644 --- a/metadata.yml +++ b/metadata.yml @@ -1,6 +1,6 @@ rules: - apiGroups: - - '' + - "" apiVersions: - v1 resources: @@ -8,7 +8,7 @@ rules: operations: - CREATE - apiGroups: - - '' + - "" apiVersions: - v1 resources: @@ -53,7 +53,7 @@ annotations: io.artifacthub.keywords: container, resources io.kubewarden.policy.ociUrl: ghcr.io/kubewarden/policies/container-resources # must match release workflow oci-target # kubewarden specific: - io.kubewarden.policy.title: Container Resources + io.kubewarden.policy.title: container-resources io.kubewarden.policy.description: Policy is designed to enforce constraints on the resource requirements of Kubernetes containers io.kubewarden.policy.author: "Kubewarden developers " io.kubewarden.policy.url: https://github.com/kubewarden/container-resources-policy