Skip to content

Commit

Permalink
[BugFix] Support podLabels in FeProxy component
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatenkobrain committed Feb 26, 2025
1 parent 916e90b commit 52da8a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/k8sutils/templates/pod/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ func Labels(clusterName string, spec v1.SpecInterface) map[string]string {
labels.AddLabel(v.PodLabels)
}
}
case *v1.StarRocksFeProxySpec:
if v != nil {
labels.AddLabel(v.PodLabels)
}
}
return labels
}

Expand Down

0 comments on commit 52da8a6

Please sign in to comment.