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}}
|
argocd/app-name: ${{values.name | dump}}
|
||||||
spec:
|
spec:
|
||||||
type: s3-bucket
|
type: s3-bucket
|
||||||
owner: guest
|
owner: guests
|
||||||
---
|
---
|
||||||
apiVersion: backstage.io/v1alpha1
|
apiVersion: backstage.io/v1alpha1
|
||||||
kind: Component
|
kind: Component
|
||||||
|
@ -24,7 +24,7 @@ metadata:
|
||||||
title: Repo URL
|
title: Repo URL
|
||||||
icon: github
|
icon: github
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
lifecycle: experimental
|
lifecycle: experimental
|
||||||
type: service
|
type: service
|
||||||
system: ${{values.name | dump}}
|
system: ${{values.name | dump}}
|
||||||
|
@ -43,6 +43,6 @@ metadata:
|
||||||
title: CNOE Repo
|
title: CNOE Repo
|
||||||
icon: github
|
icon: github
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
lifecycle: experimental
|
lifecycle: experimental
|
||||||
type: service
|
type: service
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
name: app-with-aws-resources
|
name: app-with-aws-resources
|
||||||
title: Add a Go App with AWS resources
|
title: Add a Go App with AWS resources
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
type: service
|
type: service
|
||||||
parameters:
|
parameters:
|
||||||
- properties:
|
- properties:
|
||||||
|
|
|
@ -18,7 +18,7 @@ metadata:
|
||||||
title: Repo URL
|
title: Repo URL
|
||||||
icon: github
|
icon: github
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
lifecycle: experimental
|
lifecycle: experimental
|
||||||
type: service
|
type: service
|
||||||
system: ${{values.name | dump}}
|
system: ${{values.name | dump}}
|
||||||
|
@ -35,6 +35,6 @@ metadata:
|
||||||
title: CNOE Repo
|
title: CNOE Repo
|
||||||
icon: github
|
icon: github
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
lifecycle: experimental
|
lifecycle: experimental
|
||||||
type: service
|
type: service
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
name: argo-workflows-basic
|
name: argo-workflows-basic
|
||||||
title: Basic Argo Workflow with a Spark Job
|
title: Basic Argo Workflow with a Spark Job
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
type: service
|
type: service
|
||||||
parameters:
|
parameters:
|
||||||
- title: Configuration Options
|
- title: Configuration Options
|
||||||
|
|
|
@ -14,7 +14,7 @@ metadata:
|
||||||
title: Repo URL
|
title: Repo URL
|
||||||
icon: github
|
icon: github
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
lifecycle: experimental
|
lifecycle: experimental
|
||||||
type: service
|
type: service
|
||||||
system: ${{values.name | dump}}
|
system: ${{values.name | dump}}
|
||||||
|
@ -31,6 +31,6 @@ metadata:
|
||||||
title: CNOE Repo
|
title: CNOE Repo
|
||||||
icon: github
|
icon: github
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
lifecycle: experimental
|
lifecycle: experimental
|
||||||
type: service
|
type: service
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
name: basic
|
name: basic
|
||||||
title: Create a Basic Deployment
|
title: Create a Basic Deployment
|
||||||
spec:
|
spec:
|
||||||
owner: guest
|
owner: guests
|
||||||
type: service
|
type: service
|
||||||
parameters:
|
parameters:
|
||||||
- title: Configuration Options
|
- title: Configuration Options
|
||||||
|
|
|
@ -8,3 +8,12 @@ spec:
|
||||||
- ./basic/template.yaml
|
- ./basic/template.yaml
|
||||||
- ./argo-workflows/template.yaml
|
- ./argo-workflows/template.yaml
|
||||||
- ./app-with-bucket/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.
|
# Examples from a public GitHub repository.
|
||||||
- type: url
|
- type: url
|
||||||
target: https://cnoe.localtest.me/gitea/giteaAdmin/idpbuilder-localdev-backstage-templates-entities/raw/branch/main/catalog-info.yaml
|
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
|
rules:
|
||||||
# - type: url
|
- allow: [Component, System, API, Resource, Location, Template, User, Group]
|
||||||
# target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme-corp.yaml
|
|
||||||
# rules:
|
|
||||||
# - allow: [User, Group]
|
|
||||||
kubernetes:
|
kubernetes:
|
||||||
serviceLocatorMethod:
|
serviceLocatorMethod:
|
||||||
type: 'multiTenant'
|
type: 'multiTenant'
|
||||||
|
|
Loading…
Reference in a new issue