Skip to content

Commit

Permalink
feat(plugins) Fix Diff status after rebase (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
gciezkowski-acc committed Feb 14, 2025
1 parent 0157d4b commit aaaa6a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controllers/plugin/plugin_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ func (r *PluginReconciler) reconcileHelmRelease(
return nil
}

plugin.Status.HelmReleaseStatus.Diff = diffObjects.String()

if err := helm.InstallOrUpgradeHelmChartFromPlugin(ctx, r.Client, restClientGetter, pluginDefinition, plugin); err != nil {
errorMessage := "Helm install/upgrade failed: " + err.Error()
plugin.SetCondition(greenhousev1alpha1.TrueCondition(
Expand Down

0 comments on commit aaaa6a4

Please sign in to comment.