Skip to content

Show empty option for keep_n and older_than in Cleanup Policies

What does this MR do?

This MR removes the function that defaults keep_n and older_than to their default values and allows the user to select the empty option that is valid in the API config.

Screenshots or Screencasts (strongly suggested)

Screenshot_2021-07-08_at_13.23.19

Screenshot_2021-07-08_at_13.23.15

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #332347 (closed)

Edited by Nicolò Maria Mezzopera

Merge request reports