summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-30 08:27:16 -0400
committerGitHub <noreply@github.com>2016-09-30 08:27:16 -0400
commit04fb927328ebe363abf402dfcf4cea09d9304e56 (patch)
treea97847a0d6b7f3ac3016fc51e1893e3f52159d50
parent14eff152d58ab018a5966895a3b1a583e399428a (diff)
parent185be3ad994dc86adc4f97808cd1ba1a300b0801 (diff)
downloadopenshift-04fb927328ebe363abf402dfcf4cea09d9304e56.tar.gz
openshift-04fb927328ebe363abf402dfcf4cea09d9304e56.tar.bz2
openshift-04fb927328ebe363abf402dfcf4cea09d9304e56.tar.xz
openshift-04fb927328ebe363abf402dfcf4cea09d9304e56.zip
Merge pull request #2534 from andrewklau/patch-3
Enable support for image pruning
-rw-r--r--roles/openshift_hosted/templates/registry_config.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_hosted/templates/registry_config.j2 b/roles/openshift_hosted/templates/registry_config.j2
index 092b0fb35..cfe7ac81c 100644
--- a/roles/openshift_hosted/templates/registry_config.j2
+++ b/roles/openshift_hosted/templates/registry_config.j2
@@ -4,6 +4,8 @@ log:
http:
addr: :5000
storage:
+ delete:
+ enabled: true
cache:
blobdescriptor: inmemory
{% if openshift.hosted.registry.storage.provider == 's3' %}