Skip to content

Instantly share code, notes, and snippets.

@ldaley
Last active March 19, 2018 03:11
Show Gist options
  • Save ldaley/36c26ee3877ecc6762364383eb06de92 to your computer and use it in GitHub Desktop.
Save ldaley/36c26ee3877ecc6762364383eb06de92 to your computer and use it in GitHub Desktop.
diff --git a/enterprise/src/replicated/config.yaml b/enterprise/src/replicated/config.yaml
index 6f129e2..2a0373b 100644
--- a/enterprise/src/replicated/config.yaml
+++ b/enterprise/src/replicated/config.yaml
@@ -112,14 +112,14 @@ config:
- name: build_scans_settings
title: Build Scans
description: |
- Control how much data is stored by Build Scans
+ Limit disk usage by deleting build scans older than a specified number of days
items:
- name: build_scans_data_retention_enabled
- title: Enable data retention management
+ title: Delete old build scans
type: bool
- name: build_scans_data_retention_keep_days
when: build_scans_data_retention_enabled=1
- title: Days of data to keep
+ title: Number of days to retain build scans for
type: text
test_proc:
command: regex_match
@@ -129,7 +129,7 @@ config:
- 'Must be an integer greater than or equal to two'
- name: build_scans_data_retention_cleanup_time
when: build_scans_data_retention_enabled=1
- title: Time of day to clean up old data
+ title: Time of day to remove old build scans
type: text
help_text: 'Time of day, in 24-hour format, GMT (example: 14:30)'
default: '04:00'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment