Fix glance storage init script error in k8s v1.8.x

A Secret of images-rbd-keyring.yaml is failed because of line feed.

Change-Id: I9ad8a3815a6158df19339b5977725c32cc71c559
Closes-bug: 1724229
This commit is contained in:
Seungkyu Ahn 2017-10-17 21:10:43 +09:00
parent 5eb51cf118
commit 3e92872648

View File

@ -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