Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add credhub sample ops file #40

Open
patrickhuber opened this issue Jan 3, 2018 · 2 comments
Open

add credhub sample ops file #40

patrickhuber opened this issue Jan 3, 2018 · 2 comments

Comments

@patrickhuber
Copy link

patrickhuber commented Jan 3, 2018

I see a vault sample ops file, adding one for credhub will help others set that up as well.

Here is the sample from my deployment:

- type: replace
  path: /instance_groups/name=web/jobs/name=atc/properties/credhub?
  value:
    client_id: ((credhub_client_id))
    client_secret: ((credhub_client_secret))
    path_prefix: /concourse
    tls:
      insecure_skip_verify: false
      ca_cert: ((credhub_ca.ca))
    url: https://((credhub_ip)):8844

Based off of this repo:
https://github.com/nsagoo-pivotal/concourse-credhub-bosh-deployment/blob/master/concourse.yml

And this ops file:
https://github.com/concourse/concourse-deployment/blob/master/cluster/operations/vault-tls-cert-auth.yml

Optionally could use a ((credhub_url)) variable instead of the IP, but the sample comes from a deployment where credhub is on the same VM as the bosh director.

@deadlysyn
Copy link

for posterity... see also: https://github.com/pivotal-cf/pcf-pipelines/blob/master/docs/samples/colocated-credhub-ops/add-credhub-to-atcs.yml

@patrickhuber 's example was useful for me to simply point concourse to an existing credhub (deployed on my bosh director in my case)...but the emerging pattern seems to be keeping concourse-facing credhub separate and scaled with atcs.

@haydonryan
Copy link

I second the emerging pattern that @deadlysyn mentioned. If you use the credhub on bosh director then it will cause downtime when bosh director is updated, this way you get minimal downtime that is coupled to concourse upgrades rather than a 3rd component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants