From 185be3ad994dc86adc4f97808cd1ba1a300b0801 Mon Sep 17 00:00:00 2001
From: Andrew Lau <andrew@andrewklau.com>
Date: Fri, 30 Sep 2016 21:23:18 +1000
Subject: Enable registry support for image pruning

---
 roles/openshift_hosted/templates/registry_config.j2 | 2 ++
 1 file changed, 2 insertions(+)

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' %}
-- 
cgit v1.2.3