add guest user (#42)

Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
This commit is contained in:
Manabu McCloskey 2024-10-10 12:47:26 -07:00 committed by GitHub
parent 2b12c4d710
commit 2ed8e1d37f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 36 additions and 15 deletions

View file

@ -7,7 +7,7 @@ metadata:
argocd/app-name: ${{values.name | dump}}
spec:
type: s3-bucket
owner: guest
owner: guests
---
apiVersion: backstage.io/v1alpha1
kind: Component
@ -24,7 +24,7 @@ metadata:
title: Repo URL
icon: github
spec:
owner: guest
owner: guests
lifecycle: experimental
type: service
system: ${{values.name | dump}}
@ -43,6 +43,6 @@ metadata:
title: CNOE Repo
icon: github
spec:
owner: guest
owner: guests
lifecycle: experimental
type: service

View file

@ -5,7 +5,7 @@ metadata:
name: app-with-aws-resources
title: Add a Go App with AWS resources
spec:
owner: guest
owner: guests
type: service
parameters:
- properties:

View file

@ -18,7 +18,7 @@ metadata:
title: Repo URL
icon: github
spec:
owner: guest
owner: guests
lifecycle: experimental
type: service
system: ${{values.name | dump}}
@ -35,6 +35,6 @@ metadata:
title: CNOE Repo
icon: github
spec:
owner: guest
owner: guests
lifecycle: experimental
type: service

View file

@ -5,7 +5,7 @@ metadata:
name: argo-workflows-basic
title: Basic Argo Workflow with a Spark Job
spec:
owner: guest
owner: guests
type: service
parameters:
- title: Configuration Options

View file

@ -14,7 +14,7 @@ metadata:
title: Repo URL
icon: github
spec:
owner: guest
owner: guests
lifecycle: experimental
type: service
system: ${{values.name | dump}}
@ -31,6 +31,6 @@ metadata:
title: CNOE Repo
icon: github
spec:
owner: guest
owner: guests
lifecycle: experimental
type: service

View file

@ -5,7 +5,7 @@ metadata:
name: basic
title: Create a Basic Deployment
spec:
owner: guest
owner: guests
type: service
parameters:
- title: Configuration Options

View file

@ -8,3 +8,12 @@ spec:
- ./basic/template.yaml
- ./argo-workflows/template.yaml
- ./app-with-bucket/template.yaml
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: basic-organization
description: Basic organization data
spec:
targets:
- ./organization/guests.yaml

View file

@ -0,0 +1,15 @@
---
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
name: guest
spec:
memberOf: [guests]
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
name: guests
spec:
type: team
children: []

View file

@ -166,11 +166,8 @@ data:
# Examples from a public GitHub repository.
- type: url
target: https://cnoe.localtest.me/gitea/giteaAdmin/idpbuilder-localdev-backstage-templates-entities/raw/branch/main/catalog-info.yaml
## Uncomment these lines to add an example org
# - type: url
# target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme-corp.yaml
# rules:
# - allow: [User, Group]
rules:
- allow: [Component, System, API, Resource, Location, Template, User, Group]
kubernetes:
serviceLocatorMethod:
type: 'multiTenant'