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 optional cronJob to copySecretJob to avoid stale secrets. #791

Closed
ianhundere opened this issue Jul 25, 2024 · 0 comments · Fixed by #792
Closed

add optional cronJob to copySecretJob to avoid stale secrets. #791

ianhundere opened this issue Jul 25, 2024 · 0 comments · Fixed by #792
Labels
enhancement New feature or request

Comments

@ianhundere
Copy link
Contributor

ianhundere commented Jul 25, 2024

Description

Since the copySecretJob only runs once (initial deploy), TUF's secrets can get stale. this is not super common since these secrets are not expected to change often, but in the event that they do, TUF quickly loses its source of truth.

Suggestion:

  • adding an optional cronJob (e.g. w/ a enable/disable switch, ability to update its schedule, cronJob.schedule, etc).
  • if enabled, the name of the copySecretJob would change to copySecretJob.name-immediate and the cronJob would be named copySecretJob.name-scheduled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant