openshift-evangelists / oc-cluster-wrapper

oc cluster up bash wrapper
Apache License 2.0
144 stars 72 forks source link

Trusted certs #34

Open jhu-arod opened 7 years ago

jhu-arod commented 7 years ago

Would be great to have the ability to specify a list of trusted certificates so they are bundled upon cluster creation.

akostadinov commented 7 years ago

I think that you can just add these to the system trust store instead of wrapping into the cluster-up tool. That is add certificates to /etc/pki/ca-trust/source/anchors/, then execute `update-ca-trust extract". This is useful for example to make cert of internal container registries trusted. I think you also need to restart docker service though.