Skip to content

Commit aa7bd29

Browse files
committed
WIP
On-behalf-of: @SAP [email protected]
1 parent 36464d7 commit aa7bd29

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

internal/controller/kubeconfig_controller.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ func (r *KubeconfigReconciler) Reconcile(ctx context.Context, req ctrl.Request)
7272
return ctrl.Result{}, err
7373
}
7474

75+
rootShard := &operatorv1alpha1.RootShard{}
76+
shard := &operatorv1alpha1.Shard{}
77+
7578
var (
76-
rootShard *operatorv1alpha1.RootShard
77-
shard *operatorv1alpha1.Shard
7879
clientCertIssuer string
7980
serverCA string
8081
)

test/e2e/kcpe2e/kcp_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ func TestKcpTestSuite(t *testing.T) {
143143
ObjectMeta: metav1.ObjectMeta{
144144
Namespace: namespace,
145145
GenerateName: "kcp-e2e-",
146+
Labels: map[string]string{
147+
"test": "kcp-e2e",
148+
},
146149
},
147150
Spec: corev1.PodSpec{
148151
RestartPolicy: corev1.RestartPolicyNever,

0 commit comments

Comments
 (0)