Hi,

I can execute with success this command on my desktop host:

oc adm --token=`oc -n default sa get-token pruner` prune images --confirm
--registry-url=registry.example.com

On OpenShift master host, I have this error:
/usr/local/bin/oc adm --token=`/usr/local/bin/oc -n default sa get-token
pruner` prune images --confirm --registry-url=registry.example.com
error: error communicating with registry: Get
https://registry.example.com/healthz: x509: certificate signed by unknown
authority

I have tried
with --certificate-authority=/etc/origin/master/openshift-registry.crt
parameter, but always the same error.

Where is my mistake ?

Best regards,
Stéphane
-- 
Stéphane Klein <cont...@stephane-klein.info>
blog: http://stephane-klein.info
cv : http://cv.stephane-klein.info
Twitter: http://twitter.com/klein_stephane
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to