Skip to content

Commit e7988d0

Browse files
committed
Update push-cloudfoundry-kibana to collocate cf-kibana on maintenance vm
Fixes #132
1 parent 158fbc7 commit e7988d0

File tree

1 file changed

+17
-29
lines changed

1 file changed

+17
-29
lines changed

deployment/operations/push-cloudfoundry-kibana.yml

Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,26 @@
55
path: /instance_groups/name=ls-router
66

77
- type: replace
8-
path: /instance_groups/name=create-uaa-client
8+
path: /instance_groups/name=maintenance/jobs/-
99
value:
1010
name: cf-kibana
11-
lifecycle: errand
12-
azs: [z1]
13-
instances: 1
14-
vm_type: m3.medium
15-
stemcell: default
16-
update:
17-
max_in_flight: 1
18-
serial: true
19-
networks:
20-
- name: default
21-
jobs:
22-
- name: cf-kibana
23-
release: logsearch-for-cloudfoundry
24-
consumes:
25-
elasticsearch: {from: elasticsearch_master}
26-
cloud_controller: {from: cloud_controller, deployment: cf}
27-
redis: {from: redis_link}
28-
properties:
11+
release: logsearch-for-cloudfoundry
12+
consumes:
13+
elasticsearch: {from: elasticsearch_master}
14+
cloud_controller: {from: cloud_controller, deployment: cf}
15+
redis: {from: redis_link}
16+
properties:
17+
cloudfoundry:
18+
admin_password: "((cf_admin_password))"
19+
cf-kibana:
20+
cloudfoundry:
21+
api_security_group: "((api_security_group))"
22+
uaa_admin_client_secret: "((uaa_admin_client_secret))"
23+
oauth2_client_secret: "((kibana_oauth2_client_secret))"
24+
create-uaa-client:
2925
cloudfoundry:
30-
admin_password: "((cf_admin_password))"
31-
cf-kibana:
32-
cloudfoundry:
33-
api_security_group: "((api_security_group))"
34-
uaa_admin_client_secret: "((uaa_admin_client_secret))"
35-
oauth2_client_secret: "((kibana_oauth2_client_secret))"
36-
create-uaa-client:
37-
cloudfoundry:
38-
uaa_admin_client_secret: "((uaa_admin_client_secret))"
39-
oauth2_client_secret: "((kibana_oauth2_client_secret))"
26+
uaa_admin_client_secret: "((uaa_admin_client_secret))"
27+
oauth2_client_secret: "((kibana_oauth2_client_secret))"
4028

4129
- type: replace
4230
path: /instance_groups/-

0 commit comments

Comments
 (0)