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

Create dedicated struct to hold desired limits #3

Open
flavio opened this issue Mar 13, 2023 · 0 comments
Open

Create dedicated struct to hold desired limits #3

flavio opened this issue Mar 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@flavio
Copy link
Collaborator

flavio commented Mar 13, 2023

Right now the limits to be used are built inside of the createLimitRange function. This function is invoked every time a new namespace is created.

The values should be read once inside of the main function, put into a dedicated struct and then provided as a parameter to the createLimitRange function.

Kinda similar, the version variable declared on line 20 of the function should be transformed into a constant declared as a global.

@wrkode wrkode added the enhancement New feature or request label Mar 20, 2023
@wrkode wrkode mentioned this issue Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants