diff --git a/controllers/infrastructure/bootstrapkubeconfig_controller.go b/controllers/infrastructure/bootstrapkubeconfig_controller.go index 3fad008df..5a50dd556 100644 --- a/controllers/infrastructure/bootstrapkubeconfig_controller.go +++ b/controllers/infrastructure/bootstrapkubeconfig_controller.go @@ -95,8 +95,8 @@ func (r *BootstrapKubeconfigReconciler) Reconcile(ctx context.Context, req ctrl. return ctrl.Result{}, err } - bootstrapKuubeconfigDataStr := string(runtimeEncodedBootstrapKubeConfig) - bootstrapKubeconfig.Status.BootstrapKubeconfigData = &bootstrapKuubeconfigDataStr + bootstrapKubeconfigDataStr := string(runtimeEncodedBootstrapKubeConfig) + bootstrapKubeconfig.Status.BootstrapKubeconfigData = &bootstrapKubeconfigDataStr return ctrl.Result{}, helper.Patch(ctx, bootstrapKubeconfig) }