-
Notifications
You must be signed in to change notification settings - Fork 1
/
enable-cf-security-entitlement.yml
84 lines (77 loc) · 2.67 KB
/
enable-cf-security-entitlement.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
- type: replace
path: /instance_groups/name=api/jobs/-
value:
name: cf-security-entitlement
release: cf-security-entitlement
properties:
cf-security-entitlement:
ssl_cert: ((cf_security_entitlement_public_tls.certificate))
ssl_key: ((cf_security_entitlement_public_tls.private_key))
trusted_ca_certificates:
- ((cc_tls.ca))
- ((uaa_ssl.ca))
cloud_foundry:
endpoint: "https://cloud-controller-ng.service.cf.internal:9024"
uaa_endpoint: "https://uaa.service.cf.internal:8443"
client_id: cf-security-entitlement
client_secret: ((uaa_clients_cf-security-entitlement_secret))
jwt:
alg: "RS256"
secret: ((uaa_jwt_signing_key.public_key))
mysql:
user: cf-security-entitlement
password: ((cf-security-entitlement-mysql-password))
host: sql-db.service.cf.internal
database: cf-security-entitlement
- type: replace
path: /instance_groups/name=api/jobs/name=route_registrar/properties/route_registrar/routes/-
value:
name: cf-security-entitlement-api
registration_interval: 10s
tls_port: 8091
server_cert_domain_san: "cfsecurity.((system_domain))"
tags:
component: cf-security-entitlement
uris:
- cfsecurity.((system_domain))
- type: replace
path: /instance_groups/name=uaa/jobs/name=uaa/properties/uaa/clients/cf-security-entitlement?
value:
authorities: cloud_controller.admin
authorized-grant-types: client_credentials,refresh_token
secret: "((uaa_clients_cf-security-entitlement_secret))"
scope: openid
- type: replace
path: /instance_groups/name=database/jobs/name=pxc-mysql/properties/seeded_databases/-
value:
name: cf-security-entitlement
username: cf-security-entitlement
password: ((cf-security-entitlement-mysql-password))
- type: replace
path: /variables/-
value:
name: cf-security-entitlement-mysql-password
type: password
- type: replace
path: /variables/-
value:
name: uaa_clients_cf-security-entitlement_secret
type: password
- type: replace
path: /variables/-
value:
name: cf_security_entitlement_public_tls
type: certificate
options:
ca: service_cf_internal_ca
common_name: "cfsecurity.((system_domain))"
alternative_names:
- "cfsecurity.((system_domain))"
- cfsecurity.service.cf.internal
- type: replace
path: /releases/-
value:
name: cf-security-entitlement
version: "1.0.5"
url: https://github.com/orange-cloudfoundry/cf-security-entitlement-boshrelease/releases/download/v1.0.5/cf-security-entitlement-1.0.5.tgz
sha1: cce771ae28549c5ce56dfb6fd629b9f4cd1628bb