- type: replace
  path: /instance_groups/name=diego-cell/jobs/name=bosh-dns-adapter?
  value:
    name: bosh-dns-adapter
    properties:
      dnshttps:
        client:
          tls: ((cf_app_sd_client_tls))
        server:
          ca: ((cf_app_sd_ca.certificate))
    release: cf-networking
    consumes:
      service-discovery-controller: {from: colocated_on_scheduler}
- type: replace
  path: /instance_groups/name=service-discovery?
  value:
    azs:
    - z1
    - z2
    instances: 2
    jobs:
    - name: service-discovery-controller
      properties:
        dnshttps:
          client:
            ca: ((cf_app_sd_ca.certificate))
          server:
            tls: ((cf_app_sd_server_tls))
      release: cf-app-sd
      provides:
        service-discovery-controller: {as: kept_for_uptime_while_migrating}
    name: service-discovery
    networks:
    - name: default
    stemcell: default
    vm_type: minimal
- type: replace
  path: /instance_groups/name=scheduler/jobs/-
  value:
    name: service-discovery-controller
    properties:
      dnshttps:
        client:
          ca: ((cf_app_sd_ca.certificate))
        server:
          tls: ((cf_app_sd_server_tls))
    release: cf-networking
    provides:
      service-discovery-controller: {as: colocated_on_scheduler}
- type: replace
  path: /instance_groups/name=diego-cell/jobs/name=route_emitter/properties/internal_routes?
  value:
    enabled: true
- type: replace
  path: /variables/-
  value:
    name: cf_app_sd_ca
    options:
      common_name: service-discovery-controller.service.cf.internal
      is_ca: true
    type: certificate
- type: replace
  path: /variables/-
  value:
    name: cf_app_sd_server_tls
    options:
      ca: cf_app_sd_ca
      common_name: service-discovery-controller.service.cf.internal
      extended_key_usage:
      - server_auth
    type: certificate
- type: replace
  path: /variables/-
  value:
    name: cf_app_sd_client_tls
    options:
      ca: cf_app_sd_ca
      common_name: service-discovery-controller.service.cf.internal
      extended_key_usage:
      - client_auth
    type: certificate
- type: replace
  path: /releases/name=cf-app-sd?
  value:
    name: cf-app-sd
    sha1: 7bf7656beeda5f9a2ba598481dc2ef61ca19f019
    url: https://bosh.io/d/github.com/cloudfoundry/cf-app-sd-release?v=0.6.0
    version: 0.6.0
- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/temporary_create_internal_domain?
  value: true
Add script for migrating SD to scheduler instance group
Add script for migrating SD to scheduler instance group

[#158084191]

Signed-off-by: Aidan Obley <2667fa8e8663c9d9f622cbe0896041b5635a919f@pivotal.io>
