Some parameter in heat template should be string

Below parameters in kubecluster.yaml and kubeminion.yaml should be
string instead of boolean.

* flannel_use_vxlan
* kube_allow_priv

This patch fixes it.

Change-Id: I91c17505af9083ddf4828b8e51a045c3474ec88c
Closes-bug: #1478890
This commit is contained in:
OTSUKA, Yuanying 2015-07-28 19:28:18 +09:00
parent a394225e3b
commit 0d0cae6051
2 changed files with 7 additions and 7 deletions

View File

@ -39,7 +39,7 @@ parameters:
type: string
description: how many kubernetes minions to spawn
default: 1
fixed_network_cidr:
type: string
description: network range for fixed ip network
@ -66,17 +66,17 @@ parameters:
description: >
if true use the vxlan backend, otherwise use the default
udp backend
default: false
default: "false"
constraints:
- allowed_values: [true, false]
- allowed_values: ["true", "false"]
kube_allow_priv:
type: string
description: >
whether or not kubernetes should permit privileged containers.
default: true
default: "true"
constraints:
- allowed_values: [true, false]
- allowed_values: ["true", "false"]
docker_volume_size:
type: number

View File

@ -29,9 +29,9 @@ parameters:
type: string
description: >
whether or not kubernetes should permit privileged containers.
default: false
default: "false"
constraints:
- allowed_values: [true, false]
- allowed_values: ["true", "false"]
docker_volume_size:
type: number