summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lau <andrew@andrewklau.com>2016-09-30 21:23:18 +1000
committerAndrew Lau <andrew@andrewklau.com>2016-09-30 21:23:18 +1000
commit185be3ad994dc86adc4f97808cd1ba1a300b0801 (patch)
treea97847a0d6b7f3ac3016fc51e1893e3f52159d50
parent14eff152d58ab018a5966895a3b1a583e399428a (diff)
downloadopenshift-185be3ad994dc86adc4f97808cd1ba1a300b0801.tar.gz
openshift-185be3ad994dc86adc4f97808cd1ba1a300b0801.tar.bz2
openshift-185be3ad994dc86adc4f97808cd1ba1a300b0801.tar.xz
openshift-185be3ad994dc86adc4f97808cd1ba1a300b0801.zip
Enable registry 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' %}