diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a09c56d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 0000000..6bcb365 --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,9 @@ +apiVersion: backstage.io/v1alpha1 +kind: Location +metadata: + name: catalog-data +spec: + target: + - ./groups/owners.yaml + - ./users/dgroothuis.yaml + - ./catalog/argocd.yaml diff --git a/catalog/argocd.yaml b/catalog/argocd.yaml new file mode 100644 index 0000000..cdfb5cc --- /dev/null +++ b/catalog/argocd.yaml @@ -0,0 +1,16 @@ +apiVersion: backstage.io/v1alpha1 +kind: Domain +metadata: + name: argocd + description: All systems of ArgoCD +spec: + owner: owners +--- +apiVersion: backstage.io/v1alpha1 +kind: System +metadata: + name: argocd + description: CI/CD system for Kubernetes +spec: + domain: argocd + owner: owners diff --git a/groups/owners.yaml b/groups/owners.yaml new file mode 100644 index 0000000..db56969 --- /dev/null +++ b/groups/owners.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: backstage.io/v1alpha1 +kind: Group +metadata: + name: owners +spec: + type: team + children: [] diff --git a/users/dgroothuis.yaml b/users/dgroothuis.yaml new file mode 100644 index 0000000..f2b5107 --- /dev/null +++ b/users/dgroothuis.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: backstage.io/v1alpha1 +kind: User +metadata: + name: dgroothuis +spec: + profile: + email: daniel@groothuis.io + memberOf: [owners]