From f22a24a4b50e00417793149a376d8c1143cb91c8 Mon Sep 17 00:00:00 2001 From: Sarmilan Gunabala Date: Wed, 4 Sep 2024 10:21:55 +0200 Subject: [PATCH] Oppdaterer med catalog-info.yaml til versjon 3.0 (#525) --- .sikkerhet/beskrivelse.yaml | 2 +- catalog-info.yaml | 38 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 catalog-info.yaml diff --git a/.sikkerhet/beskrivelse.yaml b/.sikkerhet/beskrivelse.yaml index 3401ad4b..629ec137 100644 --- a/.sikkerhet/beskrivelse.yaml +++ b/.sikkerhet/beskrivelse.yaml @@ -1,4 +1,4 @@ -version: 2.0 +version: 3.0 organization: IT product: Skiperator repo_types: [Service] diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 00000000..efa01f78 --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,38 @@ +# nonk8s +apiVersion: "backstage.io/v1alpha1" +kind: "Component" +metadata: + name: "skiperator" + tags: + - "internal" +spec: + type: "service" + lifecycle: "production" + owner: "skip" + system: "skip" +--- +apiVersion: "backstage.io/v1alpha1" +kind: "Group" +metadata: + name: "security_champion_skiperator" + title: "Security Champion skiperator" +spec: + type: "security_champion" + parent: "it_security_champions" + members: + - "omaen" + children: + - "resource:skiperator" +--- +apiVersion: "backstage.io/v1alpha1" +kind: "Resource" +metadata: + name: "skiperator" + links: + - url: "https://github.com/kartverket/skiperator" + title: "skiperator på GitHub" +spec: + type: "repo" + owner: "security_champion_skiperator" + dependencyOf: + - "component:skiperator"