Repository navigation
fix(docs): Configuration packages CAN include MRAPs - #1127
Conversation
✅ Deploy Preview for crossplane ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| 4. **Include activation dependencies in Configuration packages** - | ||
| Configuration packages should declare what MRDs they need rather than | ||
| assuming resources are available | ||
| 4. **Document MRD requirements in Configuration packages** - |
There was a problem hiding this comment.
thanks for enhancing the documentation, but it is possible to add an MRAP to an configuration Package: https://github.com/crossplane/crossplane-runtime/blob/main/pkg/xpkg/lint.go#L75 thats the linter the cli is using - can you update your PR ?
There was a problem hiding this comment.
You're right, thanks for catching that — I missed the linter's IsActivationPolicy case. The previous wording was wrong; I've reverted to the original claim and added a pointer to the package linter as the authoritative check (commit 337eea7). Vale passes on the file.
There was a problem hiding this comment.
looks better - can we do the changes in all the active docs ? and please don't link the linter - lets link the cli docs for crossplane xpkg build which is enough in my point of view
de2e818 to
337eea7
Compare
|
can you check one of my comments?
|
|
Yes, back to it now — commit ee2da4f applies the note to all active version folders (v2.1, v2.2, v2.3, master) and drops the linter link in favor of the CLI docs for |
The package linter (crossplane-runtime pkg/xpkg/lint.go, NewConfigurationLinter) accepts ManagedResourceActivationPolicy objects in Configuration packages, so the previous wording was wrong. Keep the claim that packages can include MRAPs and point at the linter as the authoritative check, per haarchri review. Signed-off-by: Moritz Schmitz von Hülst <mschmitzvonhuelst@gmail.com>
Signed-off-by: Moritz Schmitz von Hülst <mschmitzvonhuelst@gmail.com>
ee2da4f to
32ebe83
Compare
|
@boxcee-interview can you Check failing Pipeline ? |
Signed-off-by: Moritz Schmitz von Hülst <mschmitzvonhuelst@gmail.com>
|
It's green again: all five checks pass on ee2da4f (Header rules, Pages changed, Redirect rules, DCO, deploy preview). The earlier red run was the Lighthouse accessibility dip in the Netlify preview; the latest deploy shows 90 with 1 path audited and no changed pages flagged. Let me know if anything else trips. |

Closes #1126
Problem
The MRAP docs claimed Configuration packages can include MRAPs, but the xpkg spec restricts Configuration packages to Configuration, CompositeResourceDefinition, and Composition objects only.
Solution
dependsOnin crossplane.yaml for Provider dependenciesHow to Test
Review the updated MRAP documentation at the Configuration package activation section. Verify the changes align with the xpkg spec.