Skip to content

Commit

Permalink
Added Scheduler addon
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Abramovitz committed Apr 13, 2022
1 parent fe81121 commit aff0dd8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hooks/blueprint
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ for want in $GENESIS_REQUESTED_FEATURES; do
bare|partitioned-network|haproxy|tls|no-nats-tls|self-signed) features+=( "$want" ) ;;
minio-blobstore|aws-blobstore|aws-blobstore-iam|azure-blobstore|gcp-blobstore|gcp-use-access-key) features+=( "$want" ) ;;
nfs-volume-services|enable-service-discovery|ssh-proxy-on-routers|no-tcp-routers|smb-volume-services) features+=( "$want" ) ;;
app-autoscaler-integration|prometheus-integration|v2-nats-credentials) features+=( "$want" ) ;;
app-scheduler-integration|app-autoscaler-integration|prometheus-integration|v2-nats-credentials) features+=( "$want" ) ;;
windows-diego-cells) features+=( "$want" ) ;;
+migrated-v1-env|+override-db-names) features+=( "$want" ) ;;
v1-vm-types|no-v1-vm-types)
Expand Down Expand Up @@ -416,6 +416,8 @@ for want in $GENESIS_REQUESTED_FEATURES; do
manifest+=( "overlay/enable-service-discovery.yml" ) ;;
app-autoscaler-integration)
manifest+=( "overlay/addons/autoscaler.yml" ) ;;
app-scheduler-integration)
manifest+=( "overlay/addons/app-scheduler.yml" ) ;;
prometheus-integration)
manifest+=( "overlay/addons/prometheus.yml" ) ;;
ssh-proxy-on-routers)
Expand Down
20 changes: 20 additions & 0 deletions overlay/addons/app-scheduler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
exodus:
app_scheduler_client: app_scheduler_client
app_scheduler_secret: (( grab instance_groups.uaa.jobs.uaa.properties.uaa.clients.app_scheduler_client.secret ))

instance_groups:
- name: uaa
jobs:
- name: uaa
properties:
uaa:
clients:
app_scheduler_client:
authorized-grant-types: client_credentials
authorities: cloud_controller.read,cloud_controller.admin,uaa.resource
secret: "((uaa_clients_app_scheduler_secret))"

variables:
- name: uaa_clients_app_scheduler_secret
type: password

0 comments on commit aff0dd8

Please sign in to comment.