diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 41da345d..7bc77b7c 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -36,26 +36,6 @@ spec: labels: control-plane: controller-manager spec: - # TODO(user): Uncomment the following code to configure the nodeAffinity expression - # according to the platforms which are supported by your solution. - # It is considered best practice to support multiple architectures. You can - # build your manager image using the makefile target docker-buildx. - # affinity: - # nodeAffinity: - # requiredDuringSchedulingIgnoredDuringExecution: - # nodeSelectorTerms: - # - matchExpressions: - # - key: kubernetes.io/arch - # operator: In - # values: - # - amd64 - # - arm64 - # - ppc64le - # - s390x - # - key: kubernetes.io/os - # operator: In - # values: - # - linux securityContext: runAsNonRoot: true seccompProfile: diff --git a/internal/controller/dash0_controller_test.go b/internal/controller/dash0_controller_test.go index 4085d991..e44f2671 100644 --- a/internal/controller/dash0_controller_test.go +++ b/internal/controller/dash0_controller_test.go @@ -25,7 +25,7 @@ var _ = Describe("Dash0 Controller", func() { typeNamespacedName := types.NamespacedName{ Name: resourceName, - Namespace: "default", // TODO(user):Modify as needed + Namespace: "default", } dash0 := &operatorv1alpha1.Dash0{} @@ -38,14 +38,12 @@ var _ = Describe("Dash0 Controller", func() { Name: resourceName, Namespace: "default", }, - // TODO(user): Specify other spec details if needed. } Expect(k8sClient.Create(ctx, resource)).To(Succeed()) } }) AfterEach(func() { - // TODO(user): Cleanup logic after each test, like removing the resource instance. resource := &operatorv1alpha1.Dash0{} err := k8sClient.Get(ctx, typeNamespacedName, resource) Expect(err).NotTo(HaveOccurred()) @@ -64,8 +62,6 @@ var _ = Describe("Dash0 Controller", func() { NamespacedName: typeNamespacedName, }) Expect(err).NotTo(HaveOccurred()) - // TODO(user): Add more specific assertions depending on your controller's reconciliation logic. - // Example: If you expect a certain status condition after reconciliation, verify it here. }) }) })