Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which one should I use certmanager.k8s.io or certmanager.io in OpenShift?

I am trying user cert-manager to manage certificate in OpenShift, but I saw some examples used apiVersion: cert-manager.io, some examples used apiVersion: certmanager.k8s.io.

I check them in my OpenShift, seems there is only certmanager.k8s.io, even though I have installed the latest cer-manager.

# oc get crd | grep certmanager.k8s.io
certificates.certmanager.k8s.io                             2020-01-07T17:27:09Z
challenges.certmanager.k8s.io                               2020-01-07T17:27:10Z
clusterissuers.certmanager.k8s.io                           2020-01-07T17:27:08Z
issuers.certmanager.k8s.io                                  2020-01-07T17:27:09Z
orders.certmanager.k8s.io                                   2020-01-07T17:27:09Z

I am confused, what difference for them? Which one should I use? Thanks your ideas.

like image 927
Joe Avatar asked Oct 31 '25 16:10

Joe


1 Answers

Due to new policies in the upstream Kubernetes project, we have renamed the API group from certmanager.k8s.io to cert-manager.io.renamed-api-group

Here is the upstream k8s KEP K8s group-protection

You should use cert-manager.io api group in the yaml.

like image 199
Suresh Vishnoi Avatar answered Nov 03 '25 11:11

Suresh Vishnoi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!