Documentation
¶
Overview ¶
Package versionlabel derives the ate.dev/substrate-version label that keys versioned dataplane objects to a substrate build version. The install script stamps it on nodes and on the versioned atelet DaemonSet; upgrade tooling pins WorkerPool pod templates to it. Every writer must derive names and values through this package so they agree.
Index ¶
Constants ¶
View Source
const Key = "ate.dev/substrate-version"
Key is the label key used consistently on nodes, Deployments, pod templates, and pod nodeSelectors.
Variables ¶
This section is empty.
Functions ¶
func NameSuffix ¶
NameSuffix normalizes a build version into a DNS-1123-label-safe object name suffix that can be appended to an object name. Currently it's only used by the atelet DaemonSet during upgrade.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Command cmd prints "<label value> <object-name suffix>" for a build version, so shell installers and upgrade tooling use the same derivation instead of mirroring it.
|
Command cmd prints "<label value> <object-name suffix>" for a build version, so shell installers and upgrade tooling use the same derivation instead of mirroring it. |
Click to show internal directories.
Click to hide internal directories.