Porting manual build-trigger to kubectl

@mfojtik @soltysh can you please check this porting effort to kubectl, since your have been working on the kubectl :two_men_holding_hands: