Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Add a Helm chart parameter for the SSH secret's data key #3226

Closed
sbernheim opened this issue Jul 30, 2020 · 0 comments · Fixed by #3227
Closed

Add a Helm chart parameter for the SSH secret's data key #3226

sbernheim opened this issue Jul 30, 2020 · 0 comments · Fixed by #3227
Labels
blocked-needs-validation Issue is waiting to be validated before we can proceed enhancement

Comments

@sbernheim
Copy link
Contributor

Describe the feature
Add a git.secretDataKey parameter to the Helm chart that enables the user to override the default deploy key secret's data key identity. They can then create the secret from a file with a different name (like id_rsa) or to use a pre-existing secret that stores the deploy key's secret key value under a different data key.

What would the new user story look like?
How would the new interaction with Flux look like? E.g.

  1. User either creates a secret to store their deploy key's private key using an existing id_rsa key file or decides to use a deploy key stored in an existing secret.
  2. User adds a secretDataKey field to the Helm chart's values.yaml to override the default key name identity.
  3. User deploys Flux using the Helm chart and their values.yaml overrides.
  4. Flux connects to Git using the private key stored in the Secret described by git.secretName and the data key described by git.secretDataKey values in the values.yaml.

Expected behavior
The Flux Helm chart should enable the user to set the data key of the deploy key secret in a git.secretDataKey field in their values.yaml.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked-needs-validation Issue is waiting to be validated before we can proceed enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant