From ff18dbe5fd67436e56e808b52f5345466d7d54b1 Mon Sep 17 00:00:00 2001 From: Matthew Heler Date: Sat, 2 Feb 2019 08:10:42 -0600 Subject: [PATCH] [CEPH] Extend RadosGW S3 configuration support - Support using custom client params for S3 configurations - Move common tuning for S3 and Keystone into there own configuration option - Cleanup the rgw helm tests, since copying the ceph admin key is no longer required - Cleanup duplicate portions of the code for configuring the RGW backend and frontend port - Add an rgw helm test check for the osh-infra-logging gates Change-Id: I46dbb4c45b0b96f5cf555077e49d2e09a1171424 --- .../{_init_keystone.sh.tpl => _init.sh.tpl} | 19 +++++++++++++- ceph-rgw/templates/bin/rgw/_start.sh.tpl | 9 +------ ceph-rgw/templates/configmap-bin.yaml | 4 +-- ceph-rgw/templates/deployment-rgw.yaml | 18 ++++++------- ceph-rgw/templates/pod-helm-tests.yaml | 19 -------------- ceph-rgw/values.yaml | 25 +++++++++++-------- .../030-radosgw-osh-infra.sh | 3 +++ 7 files changed, 46 insertions(+), 51 deletions(-) rename ceph-rgw/templates/bin/rgw/{_init_keystone.sh.tpl => _init.sh.tpl} (67%) diff --git a/ceph-rgw/templates/bin/rgw/_init_keystone.sh.tpl b/ceph-rgw/templates/bin/rgw/_init.sh.tpl similarity index 67% rename from ceph-rgw/templates/bin/rgw/_init_keystone.sh.tpl rename to ceph-rgw/templates/bin/rgw/_init.sh.tpl index 63af6ba92..bdb2e2fc0 100644 --- a/ceph-rgw/templates/bin/rgw/_init_keystone.sh.tpl +++ b/ceph-rgw/templates/bin/rgw/_init.sh.tpl @@ -18,12 +18,20 @@ limitations under the License. set -ex -cp -va /tmp/ceph.conf /etc/ceph/ceph.conf +cp -va /etc/ceph/ceph.conf.template /etc/ceph/ceph.conf cat >> /etc/ceph/ceph.conf <