Skip to content

feat(protection): document new provider deletion protection with clusterusages#1090

Open
haarchri wants to merge 1 commit into
crossplane:masterfrom
haarchri:feature/clusterusage-provider-deletion-safe
Open

feat(protection): document new provider deletion protection with clusterusages#1090
haarchri wants to merge 1 commit into
crossplane:masterfrom
haarchri:feature/clusterusage-provider-deletion-safe

Conversation

@haarchri
Copy link
Copy Markdown
Member

documents the following new crossplane feature we added for v2.3 crossplane/crossplane#7362

…terusages

Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 11, 2026

Deploy Preview for crossplane ready!

Name Link
🔨 Latest commit 8d996a5
🔍 Latest deploy log https://app.netlify.com/projects/crossplane/deploys/6a01c4aae243800008477fed
😎 Deploy Preview https://deploy-preview-1090--crossplane.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94 (🟢 up 1 from production)
Accessibility: 90 (🔴 down 2 from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@haarchri haarchri requested a review from jbw976 May 11, 2026 12:01
Copy link
Copy Markdown
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome @haarchri, thanks for following up to document this awesome feature! Added a couple comments for your consideration, but otherwise this is looking good! 🙇‍♂️

`crossplane.io/provider-protection=true` label:

```shell {copy-lines="1"}
kubectl get clusterusages -l crossplane.io/provider-protection=true
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when i ran this command, i got more useful printer columns like DETAILS - do you not see the same? i think it looks better to have the more details by default in the docs

NAME                                                                       DETAILS                                                                            READY   AGE
provider-protection-0d9403ef4e758ec5ee89d2773d0b356af7635adc37548b0eaabb   Provider has active managed resources of type VPC.ec2.aws.m.upbound.io             True    22s
provider-protection-3da1709122b36532e8cbdedbcabde45947f99dd33d931eb682ee   Provider has active managed resources of type Subnet.ec2.aws.m.upbound.io          True    7s
provider-protection-774712aa693d57a5e7ce09a7754d53f3ca5cc59f417083756b2a   Provider has active managed resources of type SecurityGroup.ec2.aws.m.upbound.io   True    7s

from the Usage admission webhook:

```shell
$ kubectl delete provider.pkg.crossplane.io/provider-aws-ec2
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the terminal prompt char should not be included here, the docs add that automatically

currently, the copy to clipboard button is displayed and clicking it copies the entire command along with error message. If we don't mean for folks to copy it, then we should disable it with {copy-lines="none"} or if we do want folks to copy it then set it to just line 1 with {copy-lines="1"}

@jbw976
Copy link
Copy Markdown
Member

jbw976 commented May 15, 2026

also there are some Vale errors to fix 😉
https://github.com/crossplane/docs/actions/runs/25668772512/job/75348163891?pr=1090

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants