From fddf5ba42e1f1edd0383b465a564cd575002dadb Mon Sep 17 00:00:00 2001
From: Eric Sauer <esauer@redhat.com>
Date: Thu, 18 May 2017 13:56:49 -0400
Subject: Removing requirement to pass aws credentials

---
 roles/openshift_hosted/tasks/registry/storage/s3.yml | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'roles/openshift_hosted/tasks')

diff --git a/roles/openshift_hosted/tasks/registry/storage/s3.yml b/roles/openshift_hosted/tasks/registry/storage/s3.yml
index 26f921f15..318969885 100644
--- a/roles/openshift_hosted/tasks/registry/storage/s3.yml
+++ b/roles/openshift_hosted/tasks/registry/storage/s3.yml
@@ -2,14 +2,10 @@
 - name: Assert that S3 variables are provided for registry_config template
   assert:
     that:
-    - openshift.hosted.registry.storage.s3.accesskey | default(none) is not none
-    - openshift.hosted.registry.storage.s3.secretkey | default(none) is not none
     - openshift.hosted.registry.storage.s3.bucket | default(none) is not none
     - openshift.hosted.registry.storage.s3.region | default(none) is not none
     msg: |
       When using S3 storage, the following variables are required:
-        openshift_hosted_registry_storage_s3_accesskey
-        openshift_hosted_registry_storage_s3_secretkey
         openshift_hosted_registry_storage_s3_bucket
         openshift_hosted_registry_storage_s3_region
 
-- 
cgit v1.2.3