You've already forked woodpecker
							
							
				mirror of
				https://github.com/woodpecker-ci/woodpecker.git
				synced 2025-10-30 23:27:39 +02:00 
			
		
		
		
	fix: bug pod service without label service (#3256)
This commit is contained in:
		| @@ -80,6 +80,10 @@ func podMeta(step *types.Step, config *config, podName string) metav1.ObjectMeta | ||||
| 	} | ||||
| 	meta.Labels[StepLabel] = step.Name | ||||
|  | ||||
| 	if step.Type == types.StepTypeService { | ||||
| 		meta.Labels[ServiceLabel] = step.Name | ||||
| 	} | ||||
|  | ||||
| 	meta.Annotations = config.PodAnnotations | ||||
| 	if meta.Annotations == nil { | ||||
| 		meta.Annotations = make(map[string]string) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user