Skip to content

Commit

Permalink
fix(lcm): fix redis controller service labels
Browse files Browse the repository at this point in the history
Signed-off-by: chlins <chlins.zhang@gmail.com>
  • Loading branch information
chlins committed Dec 2, 2020
1 parent 6b12d9d commit f6127df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cluster/controllers/cache/resource_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (rm *redisResourceManager) GetService() *corev1.Service {
Type: corev1.ServiceTypeClusterIP,
Selector: map[string]string{
"app.kubernetes.io/component": "redis",
"app.kubernetes.io/name": rm.cluster.Name,
"app.kubernetes.io/name": rm.GetCacheCRName(),
"app.kubernetes.io/part-of": "redis-failover",
},
Ports: []corev1.ServicePort{
Expand Down

0 comments on commit f6127df

Please sign in to comment.