feat(protection): document new provider deletion protection with clusterusages#1090
feat(protection): document new provider deletion protection with clusterusages#1090haarchri wants to merge 1 commit into
Conversation
…terusages Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
✅ Deploy Preview for crossplane ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| `crossplane.io/provider-protection=true` label: | ||
|
|
||
| ```shell {copy-lines="1"} | ||
| kubectl get clusterusages -l crossplane.io/provider-protection=true |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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"}
|
also there are some Vale errors to fix 😉 |

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