From 02f225dbcfac44e21a771a3ee46a805912b3a762 Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Mon, 4 Nov 2024 16:55:24 +0100 Subject: [PATCH 1/2] [helm] Adding some of the information required by ArtifactsHub.io Signed-off-by: dd di cesare --- charts/authorino-operator/Chart.yaml | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/charts/authorino-operator/Chart.yaml b/charts/authorino-operator/Chart.yaml index ed215165..b2d0fcde 100644 --- a/charts/authorino-operator/Chart.yaml +++ b/charts/authorino-operator/Chart.yaml @@ -26,3 +26,54 @@ maintainers: name: Didier Di Cesare - email: eastizle@redhat.com name: Eguzki Astiz Lezaun +annotations: + artifacthub.io/category: security + artifacthub.io/crds: | + - kind: Authorino + version: v1beta1 + name: operator.authorino.kuadrant.io + displayName: Authorino + description: API to install, manage and configure Authorino authorization services. + - kind: AuthConfig + version: v1beta3 + name: authorino.kuadrant.io + displayName: AuthConfig + description: Defines the desired protection for a service in a declarative way. + artifacthub.io/crdsExamples: | + - apiVersion: operator.authorino.kuadrant.io/v1beta1 + kind: Authorino + metadata: + name: authorino + spec: + listener: + tls: + enabled: false + oidcServer: + tls: + enabled: false + - apiVersion: authorino.kuadrant.io/v1beta3 + kind: AuthConfig + metadata: + name: talker-api-protection + spec: + hosts: + - talker-api.127.0.0.1.nip.io + identity: + - name: api-clients + apiKey: + selector: + matchLabels: + group: friends + credentials: + in: authorization_header + keySelector: APIKEY + artifacthub.io/license: Apache-2.0 + artifacthub.io/links: | + - name: Kuadrant + url: https://kuadrant.io + - name: Authorino Github + url: https://github.com/Kuadrant/authorino + - name: Authorino Operator Github + url: https://github.com/Kuadrant/authorino-operator + artifacthub.io/operator: "true" + artifacthub.io/operatorCapabilities: Basic Install From 9a6d678119a6ee33aa28076d0ce8b2a424a65342 Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Fri, 8 Nov 2024 10:53:09 +0100 Subject: [PATCH 2/2] [helm] Update AuthConfig sample Signed-off-by: dd di cesare --- charts/authorino-operator/Chart.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/authorino-operator/Chart.yaml b/charts/authorino-operator/Chart.yaml index b2d0fcde..741bc0ed 100644 --- a/charts/authorino-operator/Chart.yaml +++ b/charts/authorino-operator/Chart.yaml @@ -35,10 +35,10 @@ annotations: displayName: Authorino description: API to install, manage and configure Authorino authorization services. - kind: AuthConfig - version: v1beta3 - name: authorino.kuadrant.io - displayName: AuthConfig - description: Defines the desired protection for a service in a declarative way. + version: v1beta3 + name: authorino.kuadrant.io + displayName: AuthConfig + description: Defines the desired protection for a service in a declarative way. artifacthub.io/crdsExamples: | - apiVersion: operator.authorino.kuadrant.io/v1beta1 kind: Authorino @@ -54,19 +54,19 @@ annotations: - apiVersion: authorino.kuadrant.io/v1beta3 kind: AuthConfig metadata: - name: talker-api-protection + name: my-api-protection spec: hosts: - - talker-api.127.0.0.1.nip.io - identity: - - name: api-clients + - my-api.io + authentication: + "api-key-users": apiKey: selector: matchLabels: group: friends credentials: - in: authorization_header - keySelector: APIKEY + authorizationHeader: + prefix: APIKEY artifacthub.io/license: Apache-2.0 artifacthub.io/links: | - name: Kuadrant