add guest user (#42)
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
This commit is contained in:
parent
2b12c4d710
commit
2ed8e1d37f
9 changed files with 36 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
name: basic
|
||||
title: Create a Basic Deployment
|
||||
spec:
|
||||
owner: guest
|
||||
owner: guests
|
||||
type: service
|
||||
parameters:
|
||||
- title: Configuration Options
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: []
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue