File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11package mariadb
22
33import (
4+ common "github.com/openstack-k8s-operators/lib-common/modules/common"
45 labels "github.com/openstack-k8s-operators/lib-common/modules/common/labels"
56 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
67)
@@ -31,9 +32,10 @@ func LabelSelectors(database metav1.Object, dbType string) map[string]string {
3132func StatefulSetLabels (database metav1.Object ) map [string ]string {
3233 name := database .GetName ()
3334 return labels .GetLabels (database , "galera" , map [string ]string {
34- "owner" : "mariadb-operator" ,
35- "app" : "galera" ,
36- "cr" : "galera-" + name ,
35+ "owner" : "mariadb-operator" ,
36+ "app" : "galera" ,
37+ "cr" : "galera-" + name ,
38+ common .AppSelector : StatefulSetName (name ),
3739 })
3840}
3941
You can’t perform that action at this time.
0 commit comments