Skip to content

Commit

Permalink
ops file for enabling TLS on broker
Browse files Browse the repository at this point in the history
moved from $meta/redis as it can be used generically

[#162808676]

Signed-off-by: Winna Bridgewater <[email protected]>
Co-authored-by: Winna Bridgewater <[email protected]>
  • Loading branch information
Kieron Browne and Winna Bridgewater committed Feb 21, 2019
1 parent 9c572c0 commit a4342ec
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions examples/deployment/operations/enable_broker_tls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
- type: replace
path: /instance_groups/name=broker/jobs/name=broker/properties/tls?
value:
certificate: ((broker_cert.certificate))
private_key: ((broker_cert.private_key))

- type: replace
path: /variables?/-
value:
name: broker_cert
type: certificate
options:
ca: ((broker_ca_credhub_path))
organization: pivotal
alternative_names:
- ((broker_uri))

- type: replace
path: /instance_groups/name=broker/jobs/name=route_registrar/properties/route_registrar
value:
routes:
- name: ((broker_route_name))-tls
registration_interval: 20s
tls_port: 8080
uris:
- ((broker_uri))
server_cert_domain_san: ((broker_uri))

0 comments on commit a4342ec

Please sign in to comment.