diff --git a/ceph-rgw/Chart.yaml b/ceph-rgw/Chart.yaml index 8e6b9ac74..b91b3d27d 100644 --- a/ceph-rgw/Chart.yaml +++ b/ceph-rgw/Chart.yaml @@ -15,6 +15,6 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Ceph RadosGW name: ceph-rgw -version: 0.1.4 +version: 0.1.5 home: https://github.com/ceph/ceph ... diff --git a/ceph-rgw/templates/bin/_helm-tests.sh.tpl b/ceph-rgw/templates/bin/_helm-tests.sh.tpl index 505668f42..e1fff2971 100644 --- a/ceph-rgw/templates/bin/_helm-tests.sh.tpl +++ b/ceph-rgw/templates/bin/_helm-tests.sh.tpl @@ -83,7 +83,11 @@ function rgw_s3_bucket_validation () echo "function: rgw_s3_bucket_validation" bucket=s3://rgw-test-bucket +{{- if .Values.manifests.certificates }} + params="--host=$RGW_HOST --host-bucket=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --no-check-certificate" +{{- else }} params="--host=$RGW_HOST --host-bucket=$RGW_HOST --access_key=$S3_ADMIN_ACCESS_KEY --secret_key=$S3_ADMIN_SECRET_KEY --no-ssl" +{{- end }} bucket_stat="$(s3cmd ls $params | grep ${bucket} || true)" if [[ -n "${bucket_stat}" ]]; then diff --git a/ceph-rgw/templates/bin/rgw/_init.sh.tpl b/ceph-rgw/templates/bin/rgw/_init.sh.tpl index b689d1516..66dc03e06 100644 --- a/ceph-rgw/templates/bin/rgw/_init.sh.tpl +++ b/ceph-rgw/templates/bin/rgw/_init.sh.tpl @@ -28,8 +28,12 @@ cat >> /etc/ceph/ceph.conf <