Skip to content

Commit 5ba4c88

Browse files
authored
Merge pull request #948 from phisco/bye-bye-default-registry
Dropped default registries in crossplane v2
2 parents 3ca6127 + 9a01f66 commit 5ba4c88

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

content/v2.0-preview/whats-new/_index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ Crossplane v2 makes the following breaking changes:
221221
* It removes native patch and transform composition.
222222
* It removes the `ControllerConfig` type.
223223
* It removes support for external secret stores.
224+
* It removes the default registry for Crossplane Packages.
224225

225226
Crossplane deprecated native patch and transform composition in Crossplane
226227
v1.17. It's replaced by composition functions.
@@ -231,11 +232,26 @@ Crossplane deprecated the `ControllerConfig` type in v1.11. It's replaced by the
231232
Crossplane added external secret stores in v1.7. External secret stores have
232233
remained in alpha for over two years and are now unmaintained.
233234

235+
Crossplane v2 drops the `--registry` flag that allowed users to specify a default
236+
registry value and now requires users to always specify a fully qualified URL when
237+
installing packages, both directly via `spec.package` and indirectly as dependencies.
238+
Using fully qualified images was already a best practice, but it's now enforced
239+
to avoid confusion and unexpected behavior, to ensure users are aware of the
240+
registry used by their packages.
241+
234242
{{<hint "important">}}
235243
As long as you're not using these deprecated or alpha features, Crossplane v2 is
236244
backward compatible with Crossplane v1.x.
237245
{{</hint>}}
238246

247+
{{<hint "important">}}
248+
Before upgrading to Crossplane v2, please ensure all your Packages are using fully
249+
qualified images that explicitly specify a registry (`registry.example.com/repo/package:tag`).
250+
251+
Run `kubectl get pkg` to look for any packages that aren't fully qualified, then
252+
update or rebuild any Packages to use fully qualified images as needed.
253+
{{</hint>}}
254+
239255
<!-- vale gitlab.FutureTense = NO -->
240256
Crossplane v2 supports legacy v1-style XRs and MRs. Most users will be able to
241257
upgrade from v1.x to Crossplane v2 without breaking changes.

0 commit comments

Comments
 (0)