diff --git a/internal/helm/client/client.go b/internal/helm/client/client.go index 8cfebe2b029..6ea4d1138ae 100644 --- a/internal/helm/client/client.go +++ b/internal/helm/client/client.go @@ -81,7 +81,7 @@ func (c *ownerRefInjectingClient) Build(reader io.Reader, validate bool) (kube.R ownerRef := metav1.NewControllerRef(c.owner, c.owner.GetObjectKind().GroupVersionKind()) u.SetOwnerReferences([]metav1.OwnerReference{*ownerRef}) } else { - err := handler.SetOwnerAnnotations(u, c.owner) + err := handler.SetOwnerAnnotations(c.owner, u) if err != nil { return err }