From 438b216ffa44c8da6ba8cd5930862694a8e3a2e6 Mon Sep 17 00:00:00 2001
From: venkata edara <redara@redhat.com>
Date: Mon, 31 Jul 2017 16:17:49 +0530
Subject: Added S3 authentication changes

changed the proxy-server.conf to enable authentication and scripts to add user

Signed-off-by: venkata edara <redara@redhat.com>
---
 gluster-s3object/CentOS/docker-gluster-s3/Dockerfile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'gluster-s3object/CentOS/docker-gluster-s3/Dockerfile')

diff --git a/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile b/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile
index 9ec1e2f..fdfb0ec 100644
--- a/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile
+++ b/gluster-s3object/CentOS/docker-gluster-s3/Dockerfile
@@ -54,6 +54,7 @@ COPY swift-proxy.service /lib/systemd/system/
 COPY swift-account.service /lib/systemd/system/
 COPY swift-container.service /lib/systemd/system/
 COPY swift-object.service /lib/systemd/system/
+COPY swift-adduser.service /lib/systemd/system/
 
 # Replace openstack swift conf files with local gluster-swift ones
 COPY etc/swift/* /etc/swift/
@@ -62,6 +63,9 @@ COPY etc/swift/* /etc/swift/
 COPY update_gluster_vol.sh /usr/local/bin/update_gluster_vol.sh
 RUN chmod +x /usr/local/bin/update_gluster_vol.sh
 
+COPY gluster-swift-add-user /usr/local/bin/gluster-swift-add-user
+RUN chmod +x /usr/local/bin/gluster-swift-add-user
+
 # volumes to be exposed as object storage is present in swift-volumes file
 COPY etc/sysconfig/swift-volumes /etc/sysconfig/swift-volumes
 
@@ -76,7 +80,8 @@ systemctl enable memcached.service;\
 systemctl enable swift-proxy.service;\
 systemctl enable swift-account.service;\
 systemctl enable swift-container.service;\
-systemctl enable swift-object.service;
+systemctl enable swift-object.service;\
+systemctl enable swift-adduser.service;
 
 ENTRYPOINT ["/usr/local/bin/update_gluster_vol.sh"]
 CMD ["/usr/sbin/init"]
-- 
cgit v1.2.3