Skip to content

Commit

Permalink
Fix node name in openstack-heat provider
Browse files Browse the repository at this point in the history
Currently, node name is only allowed to use lower-case
characters. But openstack-heat provider generate invalid
node name which contains upper-case characters. This issue
breaks building kubernetes cluster using openstack-heat
provider.

So This patch fixes it.
  • Loading branch information
yuanying committed Dec 14, 2016
1 parent 53caa61 commit 40e4e0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/openstack-heat/config-default.sh
Expand Up @@ -17,7 +17,7 @@
## Contains configuration values for the Openstack cluster

# Stack name
STACK_NAME=${STACK_NAME:-KubernetesStack}
STACK_NAME=${STACK_NAME:-kube-stack}

# Keypair for kubernetes stack
KUBERNETES_KEYPAIR_NAME=${KUBERNETES_KEYPAIR_NAME:-kubernetes_keypair}
Expand Down
1 change: 1 addition & 0 deletions cluster/openstack-heat/kubernetes-heat/kubeminion.yaml
Expand Up @@ -247,6 +247,7 @@ resources:
server_name_post_fix:
type: OS::Heat::RandomString
properties:
character_classes: [{'class': 'lowercase', 'min': 1}]
length: 8

kube_minion:
Expand Down

0 comments on commit 40e4e0e

Please sign in to comment.