-
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Previous rotation: #4895
A bunch of credentials expires on 08 march 2026 (yes, yesterday :'() in the (private) repository jenkins-infra/terraform-states.
Tip
This private repository manages (using Terraform code) the Terraform State Backend (today using Azure File Share) and project's API tokens (Azure API token for terraform CLI, Cloudflare, DigitalOcean, etc.).
For each credential, we have to:
- Identify the controller and job(s) using the credential
- Merge and then apply (manually) the (private) PR which renew the secrets (with a new 3 month expiration date)
- Update the secret in the Kubernetes Management Chart Secrets for the corresponding Jenkins controller which has the jobs requiring these credentials
⚠️ There is a tedious update process due to how Kubernetes and JCasC work: Sops file update pushed -> kubernetes-management run to change Kubernetes Secret's value -> kubelet updates the symlink -> JCasC reload (triggered by sidecar kiwigrid and/or human) to load in the controller JVM memory -> MB Job scan to load the new value from controller JVM memory to job configuration -> run the job with new value
- Ensure the job, using the credential, can be run successfully with the new credential
Task list:
- AWS (Sponsored): https://github.com/jenkins-infra/terraform-states/pull/85
- Azure: https://github.com/jenkins-infra/terraform-states/pull/83
- Azure-net: https://github.com/jenkins-infra/terraform-states/pull/84
- Cloudflare: https://github.com/jenkins-infra/terraform-states/pull/86
- Datadog: https://github.com/jenkins-infra/terraform-states/pull/89
- DigitalOcean: https://github.com/jenkins-infra/terraform-states/pull/87
- Fastly: https://github.com/jenkins-infra/terraform-states/pull/88
- Create calendar event
Reactions are currently unavailable