diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-30 18:12:50 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-31 14:23:13 +0300 |
commit | 846d111f1d07e62e295ea778b85ada9088be2f31 (patch) | |
tree | 283a58e566cdaa42d003875713940daaaa2635ec /app/views/admin | |
parent | ba81c91255aac2d724ceb94e3eb91f912227e2eb (diff) |
Add Application Setting to configure Container Registry token expire delay (default 5min)
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/application_settings/_form.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml index df286852b97..f149f9eb431 100644 --- a/app/views/admin/application_settings/_form.html.haml +++ b/app/views/admin/application_settings/_form.html.haml @@ -178,6 +178,14 @@ .col-sm-10 = f.number_field :max_artifacts_size, class: 'form-control' + - if Gitlab.config.registry.enabled + %fieldset + %legend Container Registry + .form-group + = f.label :container_registry_token_expire_delay, 'Authorization token duration (minutes)', class: 'control-label col-sm-2' + .col-sm-10 + = f.number_field :container_registry_token_expire_delay, class: 'form-control' + %fieldset %legend Metrics %p |