twuni / docker-registry.helm

Helm chart for a Docker registry. Successor to stable/docker-registry chart.
Apache License 2.0
309 stars 146 forks source link

fix: allow to set emptyDir sizeLimit #93

Open pkrzaczkowski-hippo opened 1 year ago

pkrzaczkowski-hippo commented 1 year ago

This PR allows setting ephemeral storage sizeLimit.

Right now if no PVC storage is defined, an emptyDir volume is created without any size limits. This can cause the storage of the node to run out.

This PR adds an option to limit ephemeral storage the same way as we limit PVC claim storage.

https://kubernetes.io/docs/concepts/storage/volumes/#emptydir

Default value is set to "0" - which is unlimited

pkrzaczkowski-hippo commented 1 year ago

@canterberry

canterberry commented 1 year ago

Thank you!

vyas-n commented 6 months ago

Hi @canterberry,

Do you still want signed commits to be a requirement for contributions moving forward?

For example, this PR could be merged without the requirement.

vyas-n commented 6 months ago

Alternatively @pkrzaczkowski-hippo,

Would you be able to sign your commits using a GPG key and push it up to this branch?

There's a guide on GitHub on how to sign commits: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits

As well as this guide for how to sign and push up previous commits: https://stackoverflow.com/a/15667644/8401320

Once you've resigned your commit, you can push it up with a git push -f