Skip to content

Commit 51596a5

Browse files
Removing service monitor watch
1 parent f190a68 commit 51596a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/controller/nimservice_controller.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
"github.com/NVIDIA/k8s-nim-operator/internal/render"
2626
"github.com/NVIDIA/k8s-nim-operator/internal/shared"
2727
"github.com/go-logr/logr"
28-
monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"
2928
appsv1 "k8s.io/api/apps/v1"
3029
autoscalingv2 "k8s.io/api/autoscaling/v2"
3130
corev1 "k8s.io/api/core/v1"
@@ -186,6 +185,5 @@ func (r *NIMServiceReconciler) SetupWithManager(mgr ctrl.Manager) error {
186185
Owns(&rbacv1.RoleBinding{}).
187186
Owns(&networkingv1.Ingress{}).
188187
Owns(&autoscalingv2.HorizontalPodAutoscaler{}).
189-
Owns(&monitoringv1.ServiceMonitor{}).
190188
Complete(r)
191189
}

0 commit comments

Comments
 (0)