ai-cfia / howard

The Howard project, named after "The Godfather of Clouds" Luke Howard, orchestrates the Kubernetes-based cloud infrastructure for the Canadian Food Inspection Agency's AI lab, managing applications like Nachet, Finesse, and Louis. It prioritizes robustness, security and efficiency
https://ai-cfia.github.io/howard/
MIT License
3 stars 0 forks source link

As a developer, I want to manage my secrets that will be used inside our Github Action workflow and deployment #24

Open ThomasCardin opened 8 months ago

ThomasCardin commented 8 months ago

Executive summary

Move secrets management from Github to within the Kubernetes cluster

Issue

Currently, we have two ways of managing our secrets. For deployments made from Kubernetes, we use HashiCorp Vault, and for GitHub Actions, we utilize the secrets feature directly within GitHub actions. In our scenario, we have organization-wide secrets and secrets specific to each application. The problem is that we have to manually add each new secret to this workflow as well as in Vault. In essence, this creates a significant amount of toil.

Solution

To avoid these repetitive tasks, there is this workflow by HashiCorp Vault that allows defining a wildcard *.

How to

To achieve this, we need to create a secrets path (e.g., org/default) that contain all our organization/application secrets. By using the multiple-secrets feature (mention above), we can retrieve the secrets using the Vault GitHub action.

Steps

rngadam commented 8 months ago

Executive summary

Move secrets management from Github to within the Kubernetes cluster

ThomasCardin commented 8 months ago

For the post mortem you are talking about?

rngadam commented 8 months ago

For the post mortem you are talking about?

No, this is a suggestion for your description to make it more palatable to non-technical users. I would also try to rewrite subjects to not talk about implementation and keep it higher-level. Executive summary are important to create context for non-technical managers