Skip to content

Commit

Permalink
Merge pull request #283 from mclarke47/demo-k8s-cluster
Browse files Browse the repository at this point in the history
feat: add k8s heroku config
  • Loading branch information
awanlin authored Feb 13, 2024
2 parents e67f994 + e1fd5f4 commit a8efda3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app-config.heroku.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,17 @@ techdocs:
credentials: ${TECHDOCS_GCS_CREDENTIALS}
projectId: ${TECHDOCS_GCS_PROJECT_ID}
bucketName: ${TECHDOCS_GCS_BUCKET}

kubernetes:
serviceLocatorMethod:
type: 'multiTenant'
clusterLocatorMethods:
- type: 'config'
clusters:
- name: demo-cluster
url: ${K8S_URL}
authProvider: 'serviceAccount'
caData: ${K8S_CA_DATA}
serviceAccountToken: ${KUBERNETES_SERVICE_ACCOUNT_TOKEN}


4 changes: 4 additions & 0 deletions app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ catalog:
- type: url
target: https://github.com/backstage/backstage/blob/master/catalog-info.yaml

# Kubernetes demo component
- type: url
target: https://github.com/mclarke47/dice-roller/blob/master/catalog-info.yaml

costInsights:
engineerCost: 200000
products:
Expand Down

0 comments on commit a8efda3

Please sign in to comment.