File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ func BuildInstanceSet(synthesizedComp *component.SynthesizedComponent, component
52
52
)
53
53
54
54
podBuilder := builder .NewPodBuilder ("" , "" ).
55
- // Priority : static < dynamic < built-in
55
+ // priority : static < dynamic < built-in
56
56
AddLabelsInMap (synthesizedComp .StaticLabels ).
57
57
AddLabelsInMap (synthesizedComp .DynamicLabels ).
58
58
AddLabelsInMap (constant .GetCompLabels (clusterName , compName , synthesizedComp .Labels )).
@@ -65,7 +65,9 @@ func BuildInstanceSet(synthesizedComp *component.SynthesizedComponent, component
65
65
66
66
itsName := constant .GenerateWorkloadNamePattern (clusterName , compName )
67
67
itsBuilder := builder .NewInstanceSetBuilder (namespace , itsName ).
68
+ // priority: static < dynamic < built-in
68
69
AddLabelsInMap (synthesizedComp .StaticLabels ).
70
+ AddLabelsInMap (synthesizedComp .DynamicLabels ).
69
71
AddLabelsInMap (constant .GetCompLabels (clusterName , compName )).
70
72
AddAnnotations (constant .KubeBlocksGenerationKey , synthesizedComp .Generation ).
71
73
AddAnnotations (constant .CRDAPIVersionAnnotationKey , workloads .GroupVersion .String ()).
You can’t perform that action at this time.
0 commit comments