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 different run modes for the TUF server, allow saving TUF keys as … #283

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

bouskaJ
Copy link

@bouskaJ bouskaJ commented Aug 19, 2024

…a secret (sigstore#1214)

  • Add different run modes for the TUF server, allow saving TUF keys as a secret

This commit implements features necessary to run/operate the TUF server in production much better:

  • The TUF server can now be run in 4 different modes:
    • init - only init the TUF repository and exit
    • init-no-overwrite - same as init, but won't overwrite the TUF repository if it already exists
    • serve - only serve an existing TUF repository (no init)
    • init-and-serve - init and then serve
  • The TUF repository can now be initialized/served from a given path, as opposed to always living in a /tmp directory.
  • The TUF keys can optionally be exported as an individual k8s secret.

…a secret (sigstore#1214)

* Add different run modes for the TUF server, allow saving TUF keys as a secret

This commit implements features necessary to run/operate the TUF server
in production much better:

* The TUF server can now be run in 4 different modes:
  * `init` - only init the TUF repository and exit
  * `init-no-overwrite` - same as `init`, but won't overwrite the TUF
    repository if it already exists
  * `serve` - only serve an existing TUF repository (no `init`)
  * `init-and-serve` - `init` and then `serve`
* The TUF repository can now be initialized/served from a given path,
  as opposed to always living in a `/tmp` directory.
* The TUF keys can optionally be exported as an individual k8s secret.

Signed-off-by: Slavek Kabrda <[email protected]>
Copy link

openshift-ci bot commented Aug 19, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bouskaJ, tommyd450

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tommyd450
Copy link

/lgtm

@bouskaJ bouskaJ merged commit 3a34a0a into main Aug 19, 2024
16 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants