cloudfoundry / cloudfoundry/runtime-ci

check-certs task doesn't check local cert files, or certs in credhub

Open
#114 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9
Forks
16
Avg merge
7d 10h
Merged PRs (30d)
10

Description

We currently use tasks/check-certs/check-certs.rb in the cf-deployment pipeline to make sure that the certs used in our environments won't expire soon. However, at the moment the task only checks certain bbl-generated yaml files.

Almost all of our environments maintain separate, and currently unchecked, LB certs. Many of them are now located in lb-certs directories alongside the relevant bbl-state directories in relint-envs. Some are still located in credhub for those environments.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tasks/check-certs/check-certs.rb and trace how the cf-deployment pipeline currently reads bbl-generated YAML files. Inspect the lb-certs directories alongside bbl-state in relint-envs and the environments that keep certificates in credhub. Done means the task checks these local and CredHub certificates as well as the existing certificate sources.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
devops, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.