debian-mirror-gitlab/app/views/admin/application_settings/_registry.html.haml

19 lines
1.3 KiB
Text
Raw Normal View History

2019-09-30 21:07:59 +05:30
= form_for @application_setting, url: ci_cd_admin_application_settings_path(anchor: 'js-registry-settings'), html: { class: 'fieldset-form' } do |f|
2018-05-09 12:01:36 +05:30
= form_errors(@application_setting)
%fieldset
.form-group
2018-11-18 11:00:15 +05:30
= f.label :container_registry_token_expire_delay, 'Authorization token duration (minutes)', class: 'label-bold'
2018-11-08 19:23:39 +05:30
= f.number_field :container_registry_token_expire_delay, class: 'form-control'
2020-04-22 19:07:51 +05:30
.form-group
.form-check
= f.check_box :container_expiration_policies_enable_historic_entries, class: 'form-check-input'
= f.label :container_expiration_policies_enable_historic_entries, class: 'form-check-label' do
= _("Enable container expiration and retention policies for projects created earlier than GitLab 12.7.")
2020-07-28 23:09:34 +05:30
= link_to icon('question-circle'), help_page_path('user/packages/container_registry/index', anchor: 'cleanup-policy')
2020-04-22 19:07:51 +05:30
.form-text.text-muted
= _("Existing projects will be able to use expiration policies. Avoid enabling this if an external Container Registry is being used, as there is a performance risk if many images exist on one project.")
= link_to icon('question-circle'), help_page_path('user/packages/container_registry/index', anchor: 'use-with-external-container-registries')
2018-05-09 12:01:36 +05:30
= f.submit 'Save changes', class: "btn btn-success"