Repository navigation
v0.0.1-alpha.4
Pre-release
Pre-release
·
23 commits
to main
since this release
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