Skip to content

Commit

Permalink
Merge pull request #808 from rabbitmq/do-not-watch-secrets
Browse files Browse the repository at this point in the history
Don't watch secrets
  • Loading branch information
mkuratczyk committed May 7, 2024
2 parents 0dd6088 + 3df28c3 commit 7100873
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import (
"fmt"
"os"
"regexp"
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
"strconv"
"strings"
"time"

"sigs.k8s.io/controller-runtime/pkg/metrics/server"

utilruntime "k8s.io/apimachinery/pkg/util/runtime"

corev1 "k8s.io/api/core/v1"
"k8s.io/klog/v2"
"sigs.k8s.io/controller-runtime/pkg/cache"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down Expand Up @@ -230,7 +230,7 @@ func main() {
Recorder: mgr.GetEventRecorderFor(controllers.UserControllerName),
RabbitmqClientFactory: rabbitmqclient.RabbitholeClientFactory,
KubernetesClusterDomain: clusterDomain,
WatchTypes: []client.Object{&corev1.Secret{}},
WatchTypes: []client.Object{},
ReconcileFunc: &controllers.UserReconciler{Client: mgr.GetClient(), Scheme: mgr.GetScheme()},
ConnectUsingPlainHTTP: usePlainHTTP,
}).SetupWithManager(mgr); err != nil {
Expand Down

0 comments on commit 7100873

Please sign in to comment.