Repository navigation
Releases
Releases · mohanedmoh/treebind
v0.0.1-alpha.5
Immutable
release. Only release title and notes can be modified.
Upgrade notes
- No change to the API, the chart values or the operator's role. Each sync pod restarts once on upgrade, because the agent image changes. The checkout on the volume is reopened and nothing is lost.
- A journal that cannot be removed is now a failed pull: the
Pullcheck says so andSyncedisFalsewith the reasonPullFailed. Before, it was a note in aPullcheck that passed.
Security
- The operator and the agent are built with Go 1.26.11. The alpha.4 binaries were built with Go 1.26.0, and
govulncheckfound 44 known vulnerabilities in code that they call, in the Go standard library,golang.org/x/net, gRPC and OpenTelemetry. This release updates all of them, andgovulncheckon the source of this release finds no vulnerability in code that is called. - It still lists three in dependencies whose vulnerable code is linked in and not called, and a scan of the binary shows them too:
golang.org/x/net0.60.0 (GO-2026-6866 and GO-2026-6860, fixed in 0.62.0) andgithub.com/google/cel-go0.29.2 (GO-2026-6094, fixed in 0.30.0). A later release moves them. CI now runsgovulncheckon every pull request.
Bug fixes
- An update that failed in the middle of its files while the agent ran left its journal,
.treebind/updating, and the application's files were not committed until the next pull, which can be ten minutes after a failure. The agent now puts the update right at once, and the files are committed at the next scan. Those commits are on the commit before the update, so the repository refuses their push until the next pull, which joins them with the update as it does for any local commit (#246). - The quickstart's test no longer fails by chance when a short commit id has no digit in it.
Documentation
SECURITY.mdsays that the latest release gets security fixes.
Known limits
- The first checkout into a full volume still reports
FetchFailed. - After a restart on a full volume, leftover temporary Git files are removed once they are 31 minutes old.
- Plain
http://repositories are not supported (#268). - Changed files above 16 MiB are sent whole on a push.
Full changelog: v0.0.1-alpha.4...v0.0.1-alpha.5
v0.0.1-alpha.4
Immutable
release. Only release title and notes can be modified.
Upgrade notes
- The operator's role gains
getonpods, so that it can say why a sync pod does not run.helm upgradeandinstall.yamlcarry it. An operator that still has the old role logs the failed read and keeps showingSyncPodNotReady; syncing is not affected. - Each sync pod restarts once on upgrade, because the agent image changes. The checkout on the volume is reopened and nothing is lost.
Readyhas four new reasons, which are part of the API from now on:SyncPodOOMKilled,SyncPodUnschedulable,SyncPodNodeNotReadyandUnsupportedRepositoryScheme.SyncedandConflictnow turnUnknown(reasonAgentUnreachable) when no report could be read for 3 minutes in a row, after the first report. Before, they kept their last value.- A Treebind name must be a DNS label (lowercase letters, digits and
-, starting with a letter). A name with a dot, an upper-case letter or a leading digit is refused when it is applied. Such a Treebind never synced.
Bug fixes
- A file of about 150 MB or more no longer gets the sync pod killed for memory in a loop. Git now streams a file above 16 MiB, and when a sync container is killed for memory,
Readysays so and names the limit (#256). A changed file above 16 MiB is still sent whole on a push. - A volume that fills during a fetch is reported as
PullFailed, notFetchFailed. A heartbeat that the volume refuses is no longer reported as a lock lost to another agent, and the temporary files that a failed Git leaves behind are removed (#257). - An
http://repository address no longer starts a sync pod that crashes.ReadysaysUnsupportedRepositorySchemefrom the first reconcile and what to use instead (#258). Plain http is still not supported; whether it will be is #268. - A Treebind with a name the sync Service cannot take is refused at apply time and no longer stays in
ReconcileFailedfor ever (#259). - After a drain or a lost node,
Readysays why the sync pod does not run (SyncPodUnschedulable,SyncPodNodeNotReady),Syncedno longer saysInSyncwhile nothing is synced, andAgentUnreachableno longer points to a network policy when the node is not ready (#266, #267). - The chart's CRD keeps
{{.Count}}in the description ofspec.commit.messageTemplate, and a test now holds the rendered CRD to the generated one (#261). - Artifact Hub lists pre-release charts as pre-releases (#262).
Documentation
- The recovery guide's join block no longer copies a file with conflict marks into the synced directory (#260).
- The RBAC and operator-replica pages install the published chart, the metrics block waits for its port-forward, and two pages that described an older release are up to date (#263, #264, #265).
- ADR 0039 and ADR 0040 record the new
Readyreasons.
Known limits
- The first checkout into a full volume still reports
FetchFailed. - After a restart on a full volume, leftover temporary Git files are removed once they are 31 minutes old.
- Plain
http://repositories are not supported (#268).
Full changelog: v0.0.1-alpha.3...v0.0.1-alpha.4
v0.0.1-alpha.3
Immutable
release. Only release title and notes can be modified.
What's Changed
Breaking changes
- feat(api): add CEL validation, defaults and immutable fields by @mohanedmoh in #129
- feat(api)!: require known hosts for ssh repositories by @mohanedmoh in #139
Features
- feat(api): define the Treebind v1alpha1 types by @mohanedmoh in #124
- build: add a make dev loop on kind by @mohanedmoh in #130
- feat(api): reserve spec.placement and spec.agent by @mohanedmoh in #133
- feat(operator): create and own the sync StatefulSet by @mohanedmoh in #134
- feat(operator): add the Synced and Conflict status conditions by @mohanedmoh in #138
- test(operator): prove that deleting a Treebind keeps its claim by @mohanedmoh in #140
Bug fixes
- fix(chart): generate the chart CRD copy from the generated CRD by @mohanedmoh in #132
Other changes
- ci: require approval before workflows run by @mohanedmoh in #10
- build: add the release pipeline, agent entry point and chart by @mohanedmoh in #13
- ci: retry registry writes in the release workflow by @mohanedmoh in #14
- build(operator): move the operator entry point to cmd/operator by @mohanedmoh in #125
- docs(docs): record API group placeholder and name checks by @mohanedmoh in #126
- feat(agent): add transient file patterns and settle check by @prascli in #128
- feat(agent): set umask 0002 and verify restricted Pod Security by @mohanedmoh in #141
- fix(operator): make the mounted SSH key readable by the agent by @mohanedmoh in #142
- fix(chart): generate the manager role and check the Deployment by @mohanedmoh in #143
- test(operator): harden the SSH key e2e case and its docs by @mohanedmoh in #144
- feat(operator): report reconcile failures in the Treebind status by @mohanedmoh in #145
- feat(agent): add the writable volume preflight check by @mohanedmoh in #146
- feat(agent): add the mount preflight check and record its reasons by @mohanedmoh in #147
- feat(agent): bundle Git and ssh in the agent image by @mohanedmoh in #149
- feat(agent): add the status report and its read-only endpoint by @mohanedmoh in #150
- feat(agent): verify the operator's service-account token by @mohanedmoh in #151
- feat(agent): stay up, check the volume and serve the status endpoint by @mohanedmoh in #152
- feat(operator): run two replicas with leader election and a budget by @mohanedmoh in #153
- feat(lock): add the writer lock as a chain of exclusively created slots by @mohanedmoh in #154
- feat(operator): give the sync pod its status port, probes and settings by @mohanedmoh in #155
- feat(operator): publish the cluster's public keys for the sync agents by @mohanedmoh in #156
- feat(operator): add a client for the sync agent's status endpoint by @mohanedmoh in #157
- feat(operator): poll the sync agents and report AgentUnreachable by @mohanedmoh in #158
- feat(agent): place the Git directory beside the synced directory by @mohanedmoh in #159
- feat(agent): make the Git directory private and check it at start by @mohanedmoh in #160
- feat(agent): run Git only through a Runner with a fixed configuration by @mohanedmoh in #162
- feat(agent): clone or reopen the checkout without overwriting data by @mohanedmoh in #163
- feat(operator): tell the agent which repository to sync with by @mohanedmoh in #164
- feat(agent): refuse a Git directory that holds more than it put there by @mohanedmoh in #165
- feat(agent): check the Git directory before the checkout and at start by @mohanedmoh in #168
- feat(agent): make the checkout when the volume is in order by @mohanedmoh in #166
- feat(ci): add an ssh Git remote to the dev loop by @mohanedmoh in #167
- feat(agent): pull by fast-forward without writing over a local edit by @mohanedmoh in #169
- feat(operator): tell the agent how to sync and who its pod is by @mohanedmoh in #170
- fix(agent): do not write over an ignored file when a pull is applied by @mohanedmoh in #171
- feat(agent): hold the writer lock from before the checkout by @mohanedmoh in #172
- feat(agent): read the patterns of spec.paths as Git reads .gitignore by @mohanedmoh in #173
- docs: define storage matrix status values by @chirag-gupta7 in #127
- feat(agent): add the filter that decides which files the agent syncs by @mohanedmoh in #174
- feat(api): refuse the patterns of spec.paths that the agent refuses by @mohanedmoh in #175
- feat(operator): give the agent the patterns of spec.paths by @mohanedmoh in #176
- feat(agent): schedule the pulls with jitter, a phase and a growing wait by @mohanedmoh in #177
- feat(agent): pull on a schedule after the checkout and say how it went by @mohanedmoh in #178
- feat(agent): cap the files a pull removes and keep a recovery ref by @mohanedmoh in #180
- feat(agent): list the local changes of the directory without writing by @mohanedmoh in #182
- feat(agent): tell which local changes have settled by @mohanedmoh in #183
- feat(operator): tell the agent how long a file has to be quiet by @mohanedmoh in #184
- feat(agent): watch the synced directory for events that call for a scan by @mohanedmoh in #185
- feat(agent): scan for local changes beside the pulls and report them by @mohanedmoh in #186
- feat(agent): recover from a stopped Git and a cut-off update by @mohanedmoh in #187
- feat(agent): render the commit message and check the author by @mohanedmoh in #188
- feat(agent): report ready once a pull has passed and stay ready by @mohanedmoh in #189
- feat(agent): fail liveness when the loop is stuck past its promise by @mohanedmoh in #190
- feat(git): give the Runner the identity of the commits it makes by @mohanedmoh in #191
- feat(agent): add the package that commits the files that settled by @mohanedmoh in #192
- feat(operator): tell the agent who commits and with what message by @mohanedmoh in #193
- feat(operator): narrow the roles and watch only the namespaces given by @mohanedmoh in #195
- feat(agent): commit what has settled and say so in a Commit check by @mohanedmoh in #194
- test(operator): expect that the operator cannot delete StatefulSets by @mohanedmoh in #199
- feat(git): refuse a push that forces, deletes or writes past a branch by @mohanedmoh in #196
- feat(agent): add the package that pushes the commits of the checkout by @mohanedmoh in #197
- feat(agent): push after the commit and say so in a Push check by @mohanedmoh in #198
- feat(agent): resolve a conflict by the policy of the Treebind by @mohanedmoh in #200
- feat(operator): tell the agent the conflict policy of the Treebind by @mohanedmoh in #201
- feat(agent): resolve conflicts in the loop and add a Conflict check by @mohanedmoh in #202
- fix(agent): resolve a conflict of equal trees by moving to the tip by @mohanedmoh in #203
- feat(agent): bound the commits the age...