Skip to content

Commit

Permalink
[#509] added labels to cluster params (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: Lidia Mokevnina <[email protected]>
  • Loading branch information
moklidia and lidiamokevnina authored May 21, 2024
1 parent 3df6ae9 commit 6ee4998
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 6ee4998

Please sign in to comment.