Cert-manager: Add CRD categories

Created on 15 Jan 2021  路  3Comments  路  Source: jetstack/cert-manager

Is your feature request related to a problem? Please describe.
Add a category to all cert-manager CRDs, like cert-manager or similar

Describe the solution you'd like
I was debugging an issue with a certificate not being issues. I don't know all of the cert manager CRs that may be involved, so I wanted to look at all of them. However, I didn't find a good way to do that.

CRD's allow a category to easily enable this. For example:

$ kubectl get istio-io  -n istio-system
NAME                                          HOST                                                  AGE
destinationrule.networking.istio.io/grafana   grafana.istio-system.svc.cluster.local                108m
destinationrule.networking.istio.io/prom      istio-prometheus.istio-prometheus.svc.cluster.local   108m
destinationrule.networking.istio.io/tracing   tracing.istio-system.svc.cluster.local                108m

NAME                                        AGE
gateway.networking.istio.io/istio-gateway   108m

Describe alternatives you've considered
$ kubectl get crd -oname | grep cert-manager | cut -d/ -f2 | xargs -n1 kubectl get -A

Additional context

Environment details (remove if not applicable):

  • Kubernetes version:
  • Cloud-provider/provisioner:
  • cert-manager version: v1.0.3
  • Install method: static

/kind feature

aredeploy kinfeature prioritimportant-soon

Most helpful comment

To add context (as a team of 3 Kubernetes experts just had a TIL moment) It is this fiels: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#categories

All 3 comments

To add context (as a team of 3 Kubernetes experts just had a TIL moment) It is this fiels: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#categories

/area deploy
/priority important-soon

/assign

Was this page helpful?
0 / 5 - 0 ratings