Re: oc equivalent command to generate a self certificate signed for webhook

2018-03-28 Thread Aleksandar Lazic
Hi. there are the commands `oc adm ca -h` and `oc adm certificate -h` maybe this commands can help you to find a solution. You can use --loglevel=9 tho see which REST calls will be done. Hth Aleks Am 28.03.2018 um 09:13 schrieb Charles Moulliard: > HiĀ  > > To play with k8s webhook (kube 1.9), it

oc equivalent command to generate a self certificate signed for webhook

2018-03-28 Thread Charles Moulliard
Hi To play with k8s webhook (kube 1.9), it is required to generate [1] a certificate signed by the k8s CA to use webhook services The istio project uses the go kubectl client to generate it. As we don't have an "oc certificate" command on OpenShift, I'm wondering how we could achieve this goal