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 fulcio resources #461

Open
wants to merge 4 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 fulcio.

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.

  * createcerts job resources via `createcerts.resources`
  * add missing readme entry for fulcio container resources

Signed-off-by: Vipul Agarwal <vipul.agarwal@eu.equinix.com>
Signed-off-by: Vipul Agarwal <vipul.agarwal@eu.equinix.com>
Signed-off-by: Vipul Agarwal <vipul.agarwal@eu.equinix.com>
Signed-off-by: Vipul Agarwal <vipul.agarwal@eu.equinix.com>
@@ -86,6 +86,7 @@ helm uninstall [RELEASE_NAME]
| createcerts.image.version | string | `"sha256:73e7ac35d0e5169bd14a5cb6caed2e7d44277dec3d1de92e08f4d055523089a1"` | |
| createcerts.name | string | `"createcerts"` | |
| createcerts.replicaCount | int | `1` | |
| createcerts.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.

resources isnt a string, should 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.

4 participants