- type: replace
  path: /instance_groups/name=master/jobs/-
  value:
    name: cloud-provider
    release: kubo
    properties:
      cloud-provider:
        type: gce
        gce:
          project-id: ((project_id))
          network-name: ((network))
          worker-node-tag: ((director_name))-((deployment_name))-worker
    provides:
      cloud-provider: {as: master}
    consumes:
      cloud-provider: {from: worker}

- type: replace
  path: /instance_groups/name=master/jobs/name=kubernetes-roles/consumes?
  value:
    cloud-provider: {from: master}

- type: replace
  path: /instance_groups/name=worker/jobs/-
  value:
    name: cloud-provider
    release: kubo
    properties:
      cloud-provider:
        type: gce
        gce:
          project-id: ((project_id))
          network-name: ((network))
          worker-node-tag: ((director_name))-((deployment_name))-worker
    provides:
      cloud-provider: {as: worker}
    consumes:
      cloud-provider: {from: worker}

- type: replace
  path: /instance_groups/name=master/jobs/-
  value:
    name: cloud-provider
    release: kubo
    properties:
      cloud-provider:
        type: gce
        gce:
          project-id: ((project_id))
          network-name: ((network))
          worker-node-tag: ((director_name))-((deployment_name))-worker
    provides:
      cloud-provider: {as: master}

- type: replace
  path: /instance_groups/name=master/jobs/name=kubernetes-roles/consumes?
  value:
    cloud-provider: {from: master}

- type: replace
  path: /instance_groups/name=worker/jobs/-
  value:
    name: cloud-provider
    release: kubo
    properties:
      cloud-provider:
        type: gce
        gce:
          project-id: ((project_id))
          network-name: ((network))
          worker-node-tag: ((director_name))-((deployment_name))-worker
Stop consuming the CP link from workers
Stop consuming the CP link from workers

[#154869857]

Signed-off-by: Konstantin Semenov <f38cae73af0f1062a9eceb12f3ee7dc5ceeed3b4@pivotal.io>
