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

harbor_config_system to accept global storage quota per project #359

Closed
chhabriv opened this issue Aug 10, 2023 · 1 comment · Fixed by #367
Closed

harbor_config_system to accept global storage quota per project #359

chhabriv opened this issue Aug 10, 2023 · 1 comment · Fixed by #367
Labels
enhancement New feature or request

Comments

@chhabriv
Copy link

Harbor has a configuration to set the default quota space per project:
image

This field appears to be present in the Model ConfigBodySystemPost https://github.com/goharbor/terraform-provider-harbor/blob/main/models/config.go#L51 but is not in the harbor_config_system or set in the request to harbor: https://github.com/goharbor/terraform-provider-harbor/blob/main/client/config.go#L13

@chhabriv chhabriv changed the title harbor_config_system to accept default storage quota per project harbor_config_system to accept global storage quota per project Aug 10, 2023
@flbla flbla added the enhancement New feature or request label Aug 21, 2023
@naitmare01
Copy link
Contributor

I have just created a PR that fixes this. #367

@flbla flbla closed this as completed in #367 Sep 1, 2023
flbla added a commit that referenced this issue Sep 1, 2023
This PR implement the option to set default storage quotas for the
projects.

This fixes
#359

---------

Signed-off-by: David Berndtsson <david.berndtsson@gmail.com>
Signed-off-by: Florian Blampey <flbla@users.noreply.github.com>
Co-authored-by: Florian Blampey <flbla@users.noreply.github.com>
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

Successfully merging a pull request may close this issue.

3 participants