Skip to content

Commit

Permalink
removes debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Disper committed Mar 6, 2024
1 parent 0549469 commit e294814
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/controller/gardener_cluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ var _ = Describe("Gardener Cluster controller", func() {
Eventually(func() bool {
err := k8sClient.Get(context.Background(), secretKey, &kubeconfigSecret)
secretNotFound := err != nil && k8serrors.IsNotFound(err)
fmt.Printf("\nEventually->Wait for secret deletion->secretDeleted:%v", secretNotFound)
return secretNotFound
}, time.Minute*30, time.Second*3).Should(BeTrue())

Expand Down
42 changes: 42 additions & 0 deletions metrics-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
apiVersion: v1
kind: Service
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app.kubernetes.io/component":"kube-rbac-proxy","app.kubernetes.io/created-by":"infrastructure-manager","app.kubernetes.io/instance":"infrastructure-manager-metrics-service","app.kubernetes.io/managed-by":"kustomize","app.kubernetes.io/name":"service","app.kubernetes.io/part-of":"infrastructure-manager","control-plane":"infrastructure-manager"},"name":"infrastructure-manager-infrastructure-manager-metrics-service","namespace":"kcp-system"},"spec":{"ports":[{"name":"https","port":8443,"protocol":"TCP","targetPort":"https"}],"selector":{"control-plane":"infrastructure-manager"}}}
creationTimestamp: "2024-02-29T13:34:21Z"
labels:
app.kubernetes.io/component: kube-rbac-proxy
app.kubernetes.io/created-by: infrastructure-manager
app.kubernetes.io/instance: infrastructure-manager-metrics-service
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: service
app.kubernetes.io/part-of: infrastructure-manager
control-plane: infrastructure-manager
name: infrastructure-manager-infrastructure-manager-metrics-service
namespace: kcp-system
resourceVersion: "1700"
uid: 71841a36-16cc-440c-a1eb-e7b298a7f16b
spec:
clusterIP: 10.43.37.224
clusterIPs:
- 10.43.37.224
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: https
port: 8443
protocol: TCP
targetPort: https
- name: http
port: 8080
protocol: TCP
targetPort: 8080
selector:
control-plane: infrastructure-manager
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}

0 comments on commit e294814

Please sign in to comment.