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

Configure tuf resources #460

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vipulagarwal
Copy link
Contributor

Description of the change

Adding ability to configure k8s resource requests and limits in all the components of tuf.

Existing or Associated Issue(s)

Additional Information

At present, we cannot configure resource requests and limits for some components like one time jobs, initContainers and some deployments via Sigstore helm charts. This becomes a problem when ResourceQuota is defined for namespaces and prevents pods to spin up. It is a best practice to define resource requests and limits for all k8s resources.

Checklist

  • Chart version bumped in Chart.yaml according to semver. Where applicable, update and bump the versions in any associated umbrella chart
  • Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
  • JSON Schema generated.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

  * add resources to tuf via `deployment.resources`
  * update readme

Signed-off-by: Vipul Agarwal <[email protected]>
Signed-off-by: Vipul Agarwal <[email protected]>
@@ -26,6 +26,7 @@ A framework for securing software update systems - the scaffolding implementatio
| deployment.registry | string | `"ghcr.io"` | |
| deployment.replicas | int | `1` | |
| deployment.repository | string | `"sigstore/scaffolding/server"` | |
| deployment.resources | string | `""` | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt this be an object?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants