Skip to content

Commit

Permalink
Update Cluster Metadata (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
spjmurray authored Jun 21, 2024
1 parent 70f1f5d commit 90b45da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/kubernetes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: A Helm chart for deploying Unikorn Kubernetes Service

type: application

version: v0.2.22
appVersion: v0.2.22
version: v0.2.23
appVersion: v0.2.23

icon: https://raw.githubusercontent.com/unikorn-cloud/assets/main/images/logos/dark-on-light/icon.png

Expand Down
2 changes: 2 additions & 0 deletions pkg/server/handler/cluster/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ func (c *Client) Update(ctx context.Context, organizationID, projectID, clusterI
// Experience has taught me that modifying caches by accident is a bad thing
// so be extra safe and deep copy the existing resource.
updated := current.DeepCopy()
updated.Labels = required.Labels
updated.Annotations = required.Annotations
updated.Spec = required.Spec

/*
Expand Down

0 comments on commit 90b45da

Please sign in to comment.