[root@master01 /usr/local/bin]# kubectl get crd -o=jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' | grep "devops.kubesphere.io"
s2ibuilders.devops.kubesphere.io
s2ibuildertemplates.devops.kubesphere.io
s2iruns.devops.kubesphere.io
templates.devops.kubesphere.io
[root@master01 /usr/local/bin]# kubectl patch crd/s2ibuilders.devops.kubesphere.io    -p '{"metadata":{"finalizers":[]}}' --type=merge
customresourcedefinition.apiextensions.k8s.io/s2ibuilders.devops.kubesphere.io patched

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐