Skip to content

v0.0.1-alpha.4

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Nov 09:05
· 23 commits to main since this release
Immutable release. Only release title and notes can be modified.
08cd7fe

Upgrade notes

  • The operator's role gains get on pods, so that it can say why a sync pod does not run. helm upgrade and install.yaml carry it. An operator that still has the old role logs the failed read and keeps showing SyncPodNotReady; 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.
  • Ready has four new reasons, which are part of the API from now on: SyncPodOOMKilled, SyncPodUnschedulable, SyncPodNodeNotReady and UnsupportedRepositoryScheme.
  • Synced and Conflict now turn Unknown (reason AgentUnreachable) 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, Ready says 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, not FetchFailed. 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. Ready says UnsupportedRepositoryScheme from 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 ReconcileFailed for ever (#259).
  • After a drain or a lost node, Ready says why the sync pod does not run (SyncPodUnschedulable, SyncPodNodeNotReady), Synced no longer says InSync while nothing is synced, and AgentUnreachable no longer points to a network policy when the node is not ready (#266, #267).
  • The chart's CRD keeps {{.Count}} in the description of spec.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 Ready reasons.

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