mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	add RFC952 label validation
This commit is contained in:
		@@ -57,8 +57,6 @@ func (r RealPodControl) createReplica(ctx api.Context, controllerSpec api.Replic
 | 
			
		||||
	for k, v := range controllerSpec.DesiredState.PodTemplate.Labels {
 | 
			
		||||
		desiredLabels[k] = v
 | 
			
		||||
	}
 | 
			
		||||
	desiredLabels["replicationController"] = controllerSpec.Name
 | 
			
		||||
 | 
			
		||||
	pod := &api.Pod{
 | 
			
		||||
		ObjectMeta: api.ObjectMeta{
 | 
			
		||||
			Labels: desiredLabels,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user