Skip to content

Commit bb0ac56

Browse files
authored
Merge pull request #7361 from charlie-haley/docs/update-types-cert-manager-migration
📖 update cert-manager label searching command
2 parents 305718c + f7f7730 commit bb0ac56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/src/clusterctl/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ You may want to migrate to a user-managed cert-manager further down the line, af
105105

106106
`clusterctl` looks for the label `clusterctl.cluster.x-k8s.io/core=cert-manager` on all api resources in the `cert-manager` namespace. If it finds the label, `clusterctl` will manage the cert-manager deployment. You can list all the resources with that label by running:
107107
```bash
108-
kubectl get all -A --selector=clusterctl.cluster.x-k8s.io/core=cert-manager
108+
kubectl api-resources --verbs=list -o name | xargs -n 1 kubectl get --show-kind --ignore-not-found -A --selector=clusterctl.cluster.x-k8s.io/core=cert-manager
109109
```
110110

111111
If you want to manage and install your own cert-manager, you'll need to remove this label from all API resources.

0 commit comments

Comments
 (0)