pivotal-cf/bosh-creds-resource

Name: bosh-creds-resource

Owner: Pivotal Cloud Foundry

Description: Concourse Resource to obtain BOSH credentials from Ops Manager

Created: 2017-03-01 19:15:32.0

Updated: 2018-05-13 03:59:20.0

Pushed: 2017-03-01 19:24:23.0

Homepage: null

Size: 5

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Concourse Resource for BOSH Credentials

This resource connects to Ops Manager and obtains the bosh credentials.

How to use it?

Add the following to your pipeline to set up the resource:

urce_types:
me: bosh-creds
pe: docker-image
urce:
repository: dlapiduz/bosh-creds-resource
tag: latest

.

urces:
me: om-bosh-creds
pe: bosh-creds
urce:
pcf_ert_domain: {{pcf_ert_domain}}
pcf_opsman_admin_username: {{pcf_opsman_admin_username}}
pcf_opsman_admin_password: {{pcf_opsman_admin_password}}
opsman_url: {{opsman_url}}

Then add the resource to your job:

me: job-name
an:
aggregate:
# ...
- get: om-bosh-creds

Then you will find 4 files:

-bosh-creds/bosh-ca.pem
-bosh-creds/bosh-username
-bosh-creds/bosh-pass
-bosh-creds/director_ip
Known issues:

Currently the resource only gets credentials once, it doesn't update the credentials if they are changed.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.