Skip to content

Commit eb166a0

Browse files
committed
pgats: add support for bosh director with uaa user management
[#158323640]
1 parent 44351f3 commit eb166a0

File tree

7 files changed

+265
-193
lines changed

7 files changed

+265
-193
lines changed

docs/acceptance-tests.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,16 @@ $ cat > $GOPATH/src/github.com/cloudfoundry/postgres-release/pgats_config.yml <<
5252
---
5353
bosh:
5454
target: 192.168.50.6
55-
username: admin
56-
# bosh interpolate creds.yml --path /admin_password
57-
password: admin
58-
59-
# insert CA cert, e.g. from creds.yml
60-
# bosh interpolate creds.yml --path /director_ssl/ca
61-
director_ca_cert: |+
62-
-----BEGIN CERTIFICATE-----
63-
-----END CERTIFICATE-----
55+
credentials:
56+
client: admin
57+
# bosh interpolate creds.yml --path /admin_password
58+
client_secret: admin
59+
# insert CA cert, e.g. from creds.yml
60+
# bosh interpolate creds.yml --path /director_ssl/ca
61+
ca_cert: |+
62+
-----BEGIN CERTIFICATE-----
63+
-----END CERTIFICATE-----
64+
use_uaa: true
6465
cloud_configs:
6566
default_azs: [z1]
6667
default_networks:
@@ -75,9 +76,10 @@ The full set of config parameters is explained below.
7576
`bosh`parameters are used to connect to the BOSH director that would host the test environment:
7677

7778
* `bosh.target` (required) Public BOSH director ip address
78-
* `bosh.username` (required) Username for the BOSH director login
79-
* `bosh.password` (required) Password for the BOSH director login
80-
* `bosh.director_ca_cert` (required) BOSH director CA Cert
79+
* `bosh.use_uaa` (required) Set to true if the BOSH director is configured to delegate user management to the UAA server.
80+
* `bosh.credentials.client` (required) Username for the BOSH director login
81+
* `bosh.credentials.client_secret` (required) Password for the BOSH director login
82+
* `bosh.credentials.ca_cert` (required) BOSH director CA Cert
8183

8284
`cloud_config` parameters are used to generate a BOSH v2 manifest that matches your IaaS configuration:
8385

src/acceptance-tests/Gopkg.lock

Lines changed: 67 additions & 100 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)