Ceph-RGW: Use hostname not podname for pod specific config

This PS moves to use the hostname, not the pod name for the
instances specific config sections.

Change-Id: If2bc60c9f4f12038e8aa70fbd33a009cdf652b75
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2018-10-11 15:06:32 -05:00 committed by Chris Wedgwood
parent f3d8bda9d6
commit a01e2db6ab

View File

@ -22,7 +22,7 @@ cp -va /tmp/ceph.conf /etc/ceph/ceph.conf
cat >> /etc/ceph/ceph.conf <<EOF cat >> /etc/ceph/ceph.conf <<EOF
[client.rgw.${POD_NAME}] [client.rgw.$(hostname -s)]
rgw_frontends = "civetweb port=${RGW_CIVETWEB_PORT}" rgw_frontends = "civetweb port=${RGW_CIVETWEB_PORT}"
rgw_keystone_url = "${KEYSTONE_URL}" rgw_keystone_url = "${KEYSTONE_URL}"
rgw_keystone_admin_user = "${OS_USERNAME}" rgw_keystone_admin_user = "${OS_USERNAME}"