mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	Merge pull request #37264 from yuanying/use-lowercase-character
Automatic merge from submit-queue (batch tested with PRs 39275, 40327, 37264) Fix invalid node name in openstack-heat provider Cluster node name must follow name syntax in RFC 1123. But currently, openstack-heat provider generate invalid node name which contains upper-case characters. This patch fixes it.
This commit is contained in:
		| @@ -17,7 +17,7 @@ | |||||||
| ## Contains configuration values for the Openstack cluster | ## Contains configuration values for the Openstack cluster | ||||||
|  |  | ||||||
| # Stack name | # Stack name | ||||||
| STACK_NAME=${STACK_NAME:-KubernetesStack} | STACK_NAME=${STACK_NAME:-kube-stack} | ||||||
|  |  | ||||||
| # Keypair for kubernetes stack | # Keypair for kubernetes stack | ||||||
| KUBERNETES_KEYPAIR_NAME=${KUBERNETES_KEYPAIR_NAME:-kubernetes_keypair} | KUBERNETES_KEYPAIR_NAME=${KUBERNETES_KEYPAIR_NAME:-kubernetes_keypair} | ||||||
|   | |||||||
| @@ -251,6 +251,7 @@ resources: | |||||||
|   server_name_post_fix: |   server_name_post_fix: | ||||||
|     type: OS::Heat::RandomString |     type: OS::Heat::RandomString | ||||||
|     properties: |     properties: | ||||||
|  |       character_classes: [{'class': 'lowercase', 'min': 1}] | ||||||
|       length: 8 |       length: 8 | ||||||
|  |  | ||||||
|   kube_minion: |   kube_minion: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue