Skip to content

Commit ea9e2f4

Browse files
[#509] added labels to cluster params
1 parent 3df6ae9 commit ea9e2f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/clientset/v1alpha1/uffizzicluster.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ type UffizziClusterClient struct {
2626

2727
type UffizziClusterProps struct {
2828
Name string
29+
Labels map[string]string
2930
Annotations map[string]string
3031
Spec v1alpha1.UffizziClusterSpec
3132
}
@@ -75,6 +76,7 @@ func (c *UffizziClusterClient) Create(clusterProps UffizziClusterProps) (*v1alph
7576
ObjectMeta: metav1.ObjectMeta{
7677
Name: clusterProps.Name,
7778
Annotations: clusterProps.Annotations,
79+
Labels: clusterProps.Labels,
7880
},
7981
Spec: clusterProps.Spec,
8082
}

0 commit comments

Comments
 (0)