Skip to content

Commit

Permalink
[#509] added labels to cluster params
Browse files Browse the repository at this point in the history
  • Loading branch information
lidiamokevnina committed May 21, 2024
1 parent 3df6ae9 commit ea9e2f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clientset/v1alpha1/uffizzicluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ type UffizziClusterClient struct {

type UffizziClusterProps struct {
Name string
Labels map[string]string
Annotations map[string]string
Spec v1alpha1.UffizziClusterSpec
}
Expand Down Expand Up @@ -75,6 +76,7 @@ func (c *UffizziClusterClient) Create(clusterProps UffizziClusterProps) (*v1alph
ObjectMeta: metav1.ObjectMeta{
Name: clusterProps.Name,
Annotations: clusterProps.Annotations,
Labels: clusterProps.Labels,
},
Spec: clusterProps.Spec,
}
Expand Down

0 comments on commit ea9e2f4

Please sign in to comment.