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

Enable setting initContainers' resources #662

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

lindhe
Copy link
Contributor

@lindhe lindhe commented Dec 3, 2024

Description of the change

This change adds values that lets users set the resources (requests/limits) for the initContainers in the nextcloud pod.

I did also did a small refactoring to keep the code simple and also added the missing securityContext values to the README.

Benefits

By setting resource requests for the initContainers, many different failure modes can be avoided.

Possible drawbacks

Increased code complexity, maybe.

Applicable issues

Additional information

See #661

Checklist

This change adds values that lets users set the resources
(requests/limits) for the initContainers in the nextcloud pod.

I did also did a small refactoring to keep the code simple and also
added the missing `securityContext` values to the README.

Signed-off-by: Andreas Lindhé <7773090+lindhe@users.noreply.github.com>
Copy link
Collaborator

@wrenix wrenix left a comment

Choose a reason for hiding this comment

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

Looks good

@wrenix wrenix merged commit 606a770 into nextcloud:main Dec 5, 2024
9 checks passed
@lindhe lindhe deleted the lindhe/add-initcontainers-resources branch December 6, 2024 08:08
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.

Feature: Resource requests for initContainers
2 participants