-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
116 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
ingress: | ||
enabled: true | ||
host: "backstage.ingress.k8s.cn" | ||
|
||
backstage: | ||
image: | ||
repository: liushaohui/backstage | ||
|
@@ -25,7 +24,6 @@ backstage: | |
links: | ||
- url: https://discord.gg/backstage-687207715902193673 | ||
title: '#backstage' | ||
|
||
backend: | ||
baseUrl: https://backstage.ingress.k8s.cn | ||
listen: | ||
|
@@ -46,87 +44,71 @@ backstage: | |
- host: example.com | ||
- host: '*.mozilla.org' | ||
# workingDirectory: /tmp # Use this to configure a working directory for the scaffolder, defaults to the OS temp-dir | ||
|
||
# See README.md in the proxy-backend plugin for information on the configuration format | ||
proxy: | ||
'/circleci/api': | ||
target: https://circleci.com/api/v1.1 | ||
headers: | ||
Circle-Token: ${CIRCLECI_AUTH_TOKEN} | ||
|
||
'/jenkins/api': | ||
target: http://localhost:8080 | ||
headers: | ||
Authorization: ${JENKINS_BASIC_AUTH_HEADER} | ||
|
||
'/travisci/api': | ||
target: https://api.travis-ci.com | ||
changeOrigin: true | ||
headers: | ||
Authorization: ${TRAVISCI_AUTH_TOKEN} | ||
travis-api-version: '3' | ||
|
||
'/newrelic/apm/api': | ||
target: https://api.newrelic.com/v2 | ||
headers: | ||
X-Api-Key: ${NEW_RELIC_REST_API_KEY} | ||
|
||
'/newrelic/api': | ||
target: https://api.newrelic.com | ||
headers: | ||
X-Api-Key: ${NEW_RELIC_USER_KEY} | ||
|
||
'/pagerduty': | ||
target: https://api.pagerduty.com | ||
headers: | ||
Authorization: Token token=${PAGERDUTY_TOKEN} | ||
|
||
'/buildkite/api': | ||
target: https://api.buildkite.com/v2/ | ||
headers: | ||
Authorization: ${BUILDKITE_TOKEN} | ||
|
||
'/sentry/api': | ||
target: https://sentry.io/api/ | ||
allowedMethods: ['GET'] | ||
headers: | ||
Authorization: ${SENTRY_TOKEN} | ||
|
||
'/ilert': | ||
target: https://api.ilert.com | ||
allowedMethods: ['GET', 'POST', 'PUT'] | ||
allowedHeaders: ['Authorization'] | ||
headers: | ||
Authorization: ${ILERT_AUTH_HEADER} | ||
|
||
'/airflow': | ||
target: https://your.airflow.instance.com/api/v1 | ||
headers: | ||
Authorization: ${AIRFLOW_BASIC_AUTH_HEADER} | ||
|
||
'/gocd': | ||
target: https://your.gocd.instance.com/go/api | ||
allowedMethods: ['GET'] | ||
allowedHeaders: ['Authorization'] | ||
headers: | ||
Authorization: Basic ${GOCD_AUTH_CREDENTIALS} | ||
|
||
'/dynatrace': | ||
target: https://your.dynatrace.instance.com/api/v2 | ||
headers: | ||
Authorization: 'Api-Token ${DYNATRACE_ACCESS_TOKEN}' | ||
|
||
'/stackstorm': | ||
target: https://your.stackstorm.instance.com/api | ||
headers: | ||
St2-Api-Key: ${ST2_API_KEY} | ||
|
||
'/puppetdb': | ||
target: https://your.puppetdb.instance.com | ||
|
||
organization: | ||
name: "QCraft" | ||
|
||
# Reference documentation http://backstage.io/docs/features/techdocs/configuration | ||
# Note: After experimenting with basic setup, use CI/CD to generate docs | ||
# and an external cloud storage when deploying TechDocs for production use-case. | ||
|
@@ -139,47 +121,37 @@ backstage: | |
# pullImage: true # or false to disable automatic pulling of image (e.g. if custom docker login is required) | ||
publisher: | ||
type: 'local' # Alternatives - 'googleGcs' or 'awsS3' or 'azureBlobStorage' or 'openStackSwift'. Read documentation for using alternatives. | ||
|
||
dynatrace: | ||
baseUrl: https://your.dynatrace.instance.com | ||
|
||
nomad: | ||
addr: 0.0.0.0 | ||
|
||
# Score-cards sample configuration. | ||
scorecards: | ||
jsonDataUrl: https://raw.githubusercontent.com/Oriflame/backstage-plugins/main/plugins/score-card/sample-data/ | ||
wikiLinkTemplate: https://link-to-wiki/{id} | ||
|
||
sentry: | ||
organization: my-company | ||
|
||
rollbar: | ||
organization: my-company | ||
# NOTE: The rollbar-backend & accountToken key may be deprecated in the future (replaced by a proxy config) | ||
accountToken: my-rollbar-account-token | ||
|
||
lighthouse: | ||
baseUrl: http://localhost:3003 | ||
|
||
kubernetes: | ||
serviceLocatorMethod: | ||
type: 'multiTenant' | ||
clusterLocatorMethods: | ||
- type: 'config' | ||
clusters: [] | ||
|
||
kafka: | ||
clientId: backstage | ||
clusters: | ||
- name: cluster | ||
dashboardUrl: https://akhq.io/ | ||
brokers: | ||
- localhost:9092 | ||
|
||
allure: | ||
baseUrl: http://localhost:5050/allure-docker-service | ||
|
||
integrations: | ||
github: | ||
- host: github.com | ||
|
@@ -214,7 +186,6 @@ backstage: | |
- host: amazonaws.com | ||
accessKeyId: ${AWS_ACCESS_KEY_ID} | ||
secretAccessKey: ${AWS_SECRET_ACCESS_KEY} | ||
|
||
catalog: | ||
import: | ||
entityFilename: catalog-info.yaml | ||
|
@@ -227,26 +198,24 @@ backstage: | |
- System | ||
- Domain | ||
- Location | ||
|
||
processors: | ||
ldapOrg: | ||
### Example for how to add your enterprise LDAP server | ||
# providers: | ||
# - target: ldaps://ds.example.net | ||
# bind: | ||
# dn: uid=ldap-reader-user,ou=people,ou=example,dc=example,dc=net | ||
# secret: ${LDAP_SECRET} | ||
# users: | ||
# dn: ou=people,ou=example,dc=example,dc=net | ||
# options: | ||
# filter: (uid=*) | ||
# map: | ||
# description: l | ||
# groups: | ||
# dn: ou=access,ou=groups,ou=example,dc=example,dc=net | ||
# options: | ||
# filter: (&(objectClass=some-group-class)(!(groupType=email))) | ||
|
||
### Example for how to add your enterprise LDAP server | ||
# providers: | ||
# - target: ldaps://ds.example.net | ||
# bind: | ||
# dn: uid=ldap-reader-user,ou=people,ou=example,dc=example,dc=net | ||
# secret: ${LDAP_SECRET} | ||
# users: | ||
# dn: ou=people,ou=example,dc=example,dc=net | ||
# options: | ||
# filter: (uid=*) | ||
# map: | ||
# description: l | ||
# groups: | ||
# dn: ou=access,ou=groups,ou=example,dc=example,dc=net | ||
# options: | ||
# filter: (&(objectClass=some-group-class)(!(groupType=email))) | ||
locations: | ||
# Add a location here to ingest it, for example from a URL: | ||
# | ||
|
@@ -260,7 +229,7 @@ backstage: | |
# | ||
# File locations are relative to the current working directory of the | ||
# backend, for example packages/backend/. | ||
|
||
# Backstage example entities | ||
- type: file | ||
target: ../catalog-model/examples/all.yaml | ||
|
@@ -287,13 +256,12 @@ backstage: | |
- type: file | ||
target: ../../cypress/e2e-fixture.catalog.info.yaml | ||
scaffolder: | ||
# Use to customize default commit author info used when new components are created | ||
# defaultAuthor: | ||
# name: Scaffolder | ||
# email: [email protected] | ||
# Use to customize the default commit message when new components are created | ||
# defaultCommitMessage: 'Initial commit' | ||
|
||
# Use to customize default commit author info used when new components are created | ||
# defaultAuthor: | ||
# name: Scaffolder | ||
# email: [email protected] | ||
# Use to customize the default commit message when new components are created | ||
# defaultCommitMessage: 'Initial commit' | ||
auth: | ||
environment: development | ||
costInsights: | ||
|
@@ -354,20 +322,15 @@ backstage: | |
baseUrl: https://jenkins.example.com | ||
username: backstage-bot | ||
apiKey: 123456789abcdef0123456789abcedf012 | ||
|
||
azureDevOps: | ||
host: dev.azure.com | ||
token: my-token | ||
organization: my-company | ||
|
||
apacheAirflow: | ||
baseUrl: https://your.airflow.instance.com | ||
|
||
gocd: | ||
baseUrl: https://your.gocd.instance.com | ||
|
||
stackstorm: | ||
webUrl: https://your.stackstorm.webui.instance.com | ||
|
||
permission: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
# Declare variables to be passed into your templates. | ||
|
||
replicaCount: 1 | ||
|
||
ingress: | ||
enabled: true | ||
hosts: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.