v0.4.0
The team is happy to announce the 4th minor release of the kcp Sync Agent. This release brings the long awaited support for kcp 0.28, basic support for events in kcp and more flexible references in PublishedResources.
Changelog since version 0.3
New Features
- #89: Add support for kcp 0.28; support configuring an APIExportEndpointSlice instead of an APIExport using command line flags (by @xrstf)
- #83: References can now return lists of values to allow a single related resource configuration to match many Kubernetes objects at once (by @xrstf)
- #87: The sync-agent will now create events on source objects in kcp. Existing APIBindings to APIExports managed by the agent will need to be updated to accept the new
events
permission claim (by @xrstf)
Changes
Bugfixes
- #91: Fix
ClusterName
andWorkspacePath
being empty in templating strings for related resources (by @xrstf)
Documentation
Upgrade Notes
-
APIExportEndpointSlice support: The agent can now source the URL to connect to from an APIExportEndpointSlice instead of an APIExport. Admins may pick their preferred migration path:
- On kcp 0.27 you can keep either the
--apiexport-ref
or manually create an APIExportEndpointSlice and then use--apiexportendpointslice-ref
to point the agent to it. - On kcp 0.28 the APIExport will not contain the virtual workspace URLs anymore and admins will have to switch to the APIExportEndpointSlice. This can -- in the simplest case -- be the endpoint slice created by kcp with the same name as the APIExport, but admins may also choose to create their own endpoint slices.
Note that the syncagent still only supports a single (the first) URL of either an APIExportEndpointSlice or the APIExport. Support for connecting to multiple endpoints is planned for the future but depends significantly on the kcp provider for multicluster-runtime.
APIExportEndpointSlices do not need to be in the same workspace as their referenced APIExport, but in those cases the agent needs the appropriate permissions in both workspaces.
- On kcp 0.27 you can keep either the