Skip to content

Commit

Permalink
Merge pull request #406 from csibbitt/OSPRH-7600/rename-uiplugin
Browse files Browse the repository at this point in the history
Rename UIPlugin for compatibility with COO 0.3
  • Loading branch information
openshift-merge-bot[bot] authored Jun 12, 2024
2 parents 286eda2 + 6781fbc commit e96daa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions controllers/metricstorage_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ func (r *MetricStorageReconciler) reconcileNormal(
// =====
// uiPluginObj := &obsui.ObservabilityUIPlugin{
// ObjectMeta: metav1.ObjectMeta{
// Name: "ui-dashboards",
// Name: "dashboards",
// },
// }
// =====
Expand All @@ -524,7 +524,7 @@ func (r *MetricStorageReconciler) reconcileNormal(
Version: "v1alpha1",
Kind: "UIPlugin",
})
uiPluginObj.SetName("ui-dashboards")
uiPluginObj.SetName("dashboards")
// =====
op, err = controllerutil.CreateOrPatch(ctx, r.Client, uiPluginObj, func() error {
// uiPluginObj.Spec.Type = "Dashboards" // After we update to COO 0.2.0 as dependency
Expand Down
2 changes: 1 addition & 1 deletion tests/kuttl/suites/metricstorage/tests/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
apiVersion: observability.openshift.io/v1alpha1
kind: UIPlugin
metadata:
name: ui-dashboards
name: dashboards
spec:
type: Dashboards
status:
Expand Down

0 comments on commit e96daa2

Please sign in to comment.