Repository navigation
v0.0.1-alpha.3
Pre-release
Pre-release
·
36 commits
to main
since this release
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 agent makes in an hour by @mohanedmoh in #204
- feat(api): add spec.commit.maxPerHour and pass it to the agent by @mohanedmoh in #205
- docs: add ADR 0035 and the page about echo loops by @mohanedmoh in #206
- feat(agent): make snapshots of a directory of the repository by @mohanedmoh in #209
- feat(agent): check out one directory of the repository by @mohanedmoh in #210
- feat(agent): pull one directory of the repository by @mohanedmoh in #211
- feat(agent): push the commits on one directory of the repository by @mohanedmoh in #212
- feat(api): sync the directory that repository.path names by @mohanedmoh in #213
- test: build the sync agent image into the e2e cluster by @mohanedmoh in #215
- test: run the definition of done of the MVP on kind by @mohanedmoh in #216
- test: fix the lint and ko failures that main has after #216 by @mohanedmoh in #217
- feat(api): name the reasons of Synced and Conflict by @mohanedmoh in #218
- feat(operator): give the agent the hash of its pod template by @mohanedmoh in #219
- feat(agent): report when the checkout and the branch last agreed by @mohanedmoh in #220
- feat(agent): fail the Conflict check when a resolution cannot be made by @mohanedmoh in #221
- feat(operator): make Synced and Conflict from the agent's report by @mohanedmoh in #222
- feat(operator): make Ready follow Synced of the current spec by @mohanedmoh in #223
- feat(operator): write Synced and Conflict from the poll of the agent by @mohanedmoh in #224
- docs: record how Synced and Conflict are written (ADR 0037) by @mohanedmoh in #226
- fix(git): accept Git 2.41 as the oldest, the first with GIT_ATTR_SOURCE by @mohanedmoh in #227
- fix(operator): escape $ in the sub path, mount path, branch and url by @mohanedmoh in #228
- test: share the e2e setup and add a label for failure specs by @mohanedmoh in #230
- test: kill the agent from the node in the failure e2e specs by @mohanedmoh in #231
- test: kill the agent in the middle of git add and of an update by @mohanedmoh in #233
- test: fix the lint finding in the injector helpers by @mohanedmoh in #235
- ci: run the specs that cause a failure in a job of their own by @mohanedmoh in #236
- test: take the ssh remote away from the sync and bring it back by @mohanedmoh in #234
- test(lock): run the tests that limit file sizes in a child process by @mohanedmoh in #239
- test: freeze the agent that holds the writer lock under a second one by @mohanedmoh in #240
- test: fill the volume of the sync and free it again by @mohanedmoh in #242
- fix(agent): say that the lock was lost when a stop was asked too by @mohanedmoh in #243
- fix(git): end an ssh connection to a remote that stops answering by @mohanedmoh in #244
- fix(agent): commit nothing while an update that was cut off waits by @mohanedmoh in #245
- docs: add the guide to recovering from a conflict or a rejected push by @mohanedmoh in #247
- ci: install the chart on kind and give it the agent image by @mohanedmoh in #248
- ci: install the chart on every supported version nightly by @mohanedmoh in #250
- feat(operator): events and metrics of the sync outcome by @mohanedmoh in #251
- ci: give the release installer its agent image and describe the chart by @mohanedmoh in #252
New Contributors
- @mohanedmoh made their first contribution in #10
- @prascli made their first contribution in #128
- @chirag-gupta7 made their first contribution in #127
Full Changelog: https://github.com/mohanedmoh/treebind/commits/v0.0.1-alpha.3