Make k8s cloud config consistent

k8s cloud config in magnum uses Username/username, Password/password.
With this patch cloud config uses username and password which is
also consistent with k8s config examples.

Change-Id: I43beaf2b86a1598cec12a75f9aadba4c3d72ef83
changes/98/385298/1
yatinkarel 6 years ago
parent ba11900215
commit eb495d469b
  1. 4
      magnum/drivers/common/templates/kubernetes/fragments/write-kube-os-config.sh

@ -12,8 +12,8 @@ AUTH_URL=$(echo "$AUTH_URL" | sed 's/v3/v2.0/')
cat > $KUBE_OS_CLOUD_CONFIG <<EOF
[Global]
auth-url=$AUTH_URL
Username=$USERNAME
Password=$PASSWORD
username=$USERNAME
password=$PASSWORD
tenant-name=$TENANT_NAME
[LoadBalancer]
subnet-id=$CLUSTER_SUBNET

Loading…
Cancel
Save