func (nm *namespaceMutator) InjectClient(clt client.Client) error {
	nm.client = clt
	return nil
}
InjectClient implements the inject.Client interface which allows the manager to inject a kubernetes client into this handler
package mutation
import (
	"context"
	"encoding/json"
	"net/http"
	"github.com/Dynatrace/dynatrace-operator/logger"
	"github.com/Dynatrace/dynatrace-operator/mapper"
	"github.com/Dynatrace/dynatrace-operator/scheme"
	"github.com/go-logr/logr"
	"github.com/pkg/errors"
	corev1 "k8s.io/api/core/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	ctrl "sigs.k8s.io/controller-runtime"
	"sigs.k8s.io/controller-runtime/pkg/client"
	"sigs.k8s.io/controller-runtime/pkg/webhook"
	"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
)
func AddNamespaceMutationWebhookToManager(manager ctrl.Manager, ns string) error {
	manager.GetWebhookServer().Register("/label-ns", &webhook.Admission{
		Handler: newNamespaceMutator(ns, manager.GetAPIReader()),
	})
	return nil
}
type namespaceMutator struct {
	logger    logr.Logger
	client    client.Client
	apiReader client.Reader
	namespace string
}