Skip to content

Commit

Permalink
Fix format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lshmouse committed Nov 12, 2024
1 parent 71ecf1a commit c039a29
Show file tree
Hide file tree
Showing 17 changed files with 116 additions and 149 deletions.
83 changes: 23 additions & 60 deletions deployment/backstage/values.yaml
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
Expand All @@ -25,7 +24,6 @@ backstage:
links:
- url: https://discord.gg/backstage-687207715902193673
title: '#backstage'

backend:
baseUrl: https://backstage.ingress.k8s.cn
listen:
Expand All @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -214,7 +186,6 @@ backstage:
- host: amazonaws.com
accessKeyId: ${AWS_ACCESS_KEY_ID}
secretAccessKey: ${AWS_SECRET_ACCESS_KEY}

catalog:
import:
entityFilename: catalog-info.yaml
Expand All @@ -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:
#
Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
1 change: 0 additions & 1 deletion deployment/foxglove/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# Declare variables to be passed into your templates.

replicaCount: 1

ingress:
enabled: true
hosts:
Expand Down
7 changes: 1 addition & 6 deletions deployment/jupyterhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,19 @@ hub:
tag: "2.0.0"
pullPolicy:
pullSecrets: []

proxy:
service:
type: ClusterIP

ingress:
enabled: true
hosts:
- jupyterhub.ingress.k8s.cn

- jupyterhub.ingress.k8s.cn
cull:
enabled: true
adminUsers: false
timeout: 3600

debug:
enabled: false

singleuser:
podNameTemplate:
extraTolerations: []
Expand Down
40 changes: 18 additions & 22 deletions deployment/kuberay/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ image:
repository: liushaohui/ray
tag: 2.3.0
pullPolicy: Always

nameOverride: "bigdata"

ingress:
enabled: true
host: ray-cluster-bigdata.ingress.k8s.cn

head:
resources:
limits:
Expand All @@ -17,7 +14,6 @@ head:
requests:
cpu: 4
memory: "8G"

worker:
replicas: 1
minReplicas: 1
Expand All @@ -39,7 +35,6 @@ worker:
requests:
cpu: 4
memory: "16G"

additionalWorkerGroups:
spotGroup:
disabled: true
Expand All @@ -50,28 +45,29 @@ additionalWorkerGroups:
serviceAccountName: ""
rayStartParams:
block: 'true'
initContainerImage: 'busybox:1.28' # Enable users to specify the image for init container. Users can pull the busybox image from their private repositories.
initContainerImage: 'busybox:1.28' # Enable users to specify the image for init container. Users can pull the busybox image from their private repositories.
# Security context for the init container.
initContainerSecurityContext: {}
# containerEnv specifies environment variables for the Ray container,
# Follows standard K8s container env schema.
# containerEnv specifies environment variables for the Ray container,
# Follows standard K8s container env schema.
containerEnv: []
# - name: EXAMPLE_ENV
# value: "1"
# - name: EXAMPLE_ENV
# value: "1"
envFrom: []
# - secretRef:
# name: my-env-secret
# - secretRef:
# name: my-env-secret
# ports optionally allows specifying ports for the Ray container.
# ports: []
# resource requests and limits for the Ray head container.
# Modify as needed for your application.
# Note that the resources in this example are much too small for production;
# we don't recommend allocating less than 8G memory for a Ray pod in production.
# Ray pods should be sized to take up entire K8s nodes when possible.
# Always set CPU and memory limits for Ray pods.
# It is usually best to set requests equal to limits.
# See https://docs.ray.io/en/latest/cluster/kubernetes/user-guides/config.html#resources
# for further guidance.

# resource requests and limits for the Ray head container.
# Modify as needed for your application.
# Note that the resources in this example are much too small for production;
# we don't recommend allocating less than 8G memory for a Ray pod in production.
# Ray pods should be sized to take up entire K8s nodes when possible.
# Always set CPU and memory limits for Ray pods.
# It is usually best to set requests equal to limits.
# See https://docs.ray.io/en/latest/cluster/kubernetes/user-guides/config.html#resources
# for further guidance.
resources:
limits:
cpu: 1
Expand All @@ -88,7 +84,7 @@ additionalWorkerGroups:
volumes:
- name: log-volume
emptyDir: {}
# Ray writes logs to /tmp/ray/session_latests/logs
# Ray writes logs to /tmp/ray/session_latests/logs
volumeMounts:
- mountPath: /tmp/ray
name: log-volume
Expand Down
3 changes: 0 additions & 3 deletions deployment/mlflow/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
backendStore:
databaseMigration: true
databaseConnectionCheck: true

artifactRoot:
proxiedArtifactStorage: false
s3:
Expand All @@ -15,12 +14,10 @@ artifactRoot:
awsAccessKeyId: "" # (awsAccessKeyId and awsSecretAccessKey) or roleArn serviceaccount annotation required
# -- AWS IAM user AWS_SECRET_ACCESS_KEY which has attached policy for access to the S3 bucket
awsSecretAccessKey: "" # (awsAccessKeyId and awsSecretAccessKey) or roleArn serviceaccount annotation required

ingress:
enabled: true
hosts:
- host: mlflow.ingress.k8s.cn
paths:
- path: /
pathType: ImplementationSpecific

Loading

0 comments on commit c039a29

Please sign in to comment.