@@ -11,7 +11,7 @@ description: "Command reference for the Crossplane CLI"
1111<!-- vale Crossplane.Spelling = NO -->
1212<!-- vale cli-docs = YES -->
1313
14- This documentation is for the ` crossplane ` CLI ` v2.6.0-rc.0.2.g3d72f93 ` .
14+ This documentation is for the ` crossplane ` CLI ` v2.6.0-rc.0.8.gcf75d3c ` .
1515
1616
1717<!-- vale Google.Headings = NO -->
@@ -1354,6 +1354,15 @@ multiple projects side-by-side.
13541354You can use a Crossplane version other than the latest stable version by
13551355specifying the ` --crossplane-version ` flag.
13561356
1357+ By default Crossplane installs a wildcard ` ManagedResourceActivationPolicy ` ,
1358+ which activates the CRDs for every managed resource its providers offer. Pass
1359+ ` --no-default-mrap ` to skip it, so the control plane activates only the managed
1360+ resources your project declares its own activation policies for. This matches
1361+ what a production control plane looks like when it manages activation
1362+ explicitly. Like ` --cluster-admin ` , this flag applies only when ` run ` creates
1363+ the control plane. A control plane that already runs Crossplane keeps its
1364+ original settings, so run ` crossplane project stop ` first to change them.
1365+
13571366You can provide resources to apply around the project install:
13581367
13591368- ` --init-resources ` applies one or more files * before* installing the
@@ -1381,6 +1390,13 @@ Pin the Crossplane version installed in the dev control plane:
13811390crossplane project run --crossplane-version=v2.2.1
13821391```
13831392
1393+ Run without the default wildcard activation policy, so only the project's own
1394+ ` ManagedResourceActivationPolicy ` resources activate CRDs:
1395+
1396+ ``` shell
1397+ crossplane project run --no-default-mrap
1398+ ```
1399+
13841400Apply ` imageconfig.yaml ` before installing the Configuration, and
13851401` providerconfig.yaml ` after:
13861402
@@ -1406,6 +1422,7 @@ crossplane project run [flags]
14061422| | ` --crossplane-version=STRING ` | Version of Crossplane to install. |
14071423| | ` --registry-dir=STRING ` | Directory for local registry images. |
14081424| | ` --cluster-admin ` | Grant Crossplane the cluster-admin role. |
1425+ | | ` --default-mrap ` | Install the default wildcard ManagedResourceActivationPolicy in the dev control plane. |
14091426| | ` --timeout=5m ` | Max wait for project readiness. |
14101427| | ` --init-resources=INIT-RESOURCES ` | Resources to apply before installing. |
14111428| | ` --extra-resources=EXTRA-RESOURCES ` | Resources to apply after installing. |
0 commit comments