diff --git a/glance/templates/bin/_storage-init.sh.tpl b/glance/templates/bin/_storage-init.sh.tpl index dd64749107..754cbb82f9 100644 --- a/glance/templates/bin/_storage-init.sh.tpl +++ b/glance/templates/bin/_storage-init.sh.tpl @@ -55,8 +55,7 @@ metadata: name: "${RBD_POOL_SECRET}" type: kubernetes.io/rbd data: - key: | - $( echo ${ENCODED_KEYRING} ) + key: $( echo ${ENCODED_KEYRING} ) EOF kubectl create --namespace ${NAMESPACE} -f ${SECRET} elif [ "x$STORAGE_BACKEND" == "xradosgw" ]; then