Documentation
¶
Overview ¶
Package implementation records whether this cluster may take a release that no longer carries the previous registry implementation.
It lives in THIS release rather than in the one that removes the old implementation because a release requirement is evaluated by the version already installed: the release that declares `registryImplementation: V2` is judged by the code running here.
The value means "an upgrade would not strand this cluster", not "the cluster runs the new implementation" — that code is not in this release. The two coincide everywhere except the case this package was written for: a `Direct` cluster whose operator has already written the new module's configuration, which is picked up on the other side of the upgrade.
Index ¶
Constants ¶
const ( // ImplementationLegacy and ImplementationV2 are the two values a release can require, spelled // as in the release that consumes them, because they are compared as strings. ImplementationLegacy = "Legacy" ImplementationV2 = "V2" // LegacyStateSecretName is where the previous implementation persists its state machine. LegacyStateSecretName = "registry-state" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.