Remove the 'beta' version of the node label (os and arch types)
This commit is contained in:
@@ -145,21 +145,17 @@ var labelReconcileInfo = []struct {
|
||||
ensureSecondaryExists bool
|
||||
}{
|
||||
{
|
||||
// Reconcile the beta and the stable OS label using the beta label as
|
||||
// the source of truth.
|
||||
// TODO(#73084): switch to using the stable label as the source of
|
||||
// truth in v1.18.
|
||||
primaryKey: kubeletapis.LabelOS,
|
||||
secondaryKey: v1.LabelOSStable,
|
||||
// Reconcile the beta and the stable OS label using the stable label as the source of truth.
|
||||
// TODO(#89477): no earlier than 1.22: drop the beta labels if they differ from the GA labels
|
||||
primaryKey: v1.LabelOSStable,
|
||||
secondaryKey: kubeletapis.LabelOS,
|
||||
ensureSecondaryExists: true,
|
||||
},
|
||||
{
|
||||
// Reconcile the beta and the stable arch label using the beta label as
|
||||
// the source of truth.
|
||||
// TODO(#73084): switch to using the stable label as the source of
|
||||
// truth in v1.18.
|
||||
primaryKey: kubeletapis.LabelArch,
|
||||
secondaryKey: v1.LabelArchStable,
|
||||
// Reconcile the beta and the stable arch label using the stable label as the source of truth.
|
||||
// TODO(#89477): no earlier than 1.22: drop the beta labels if they differ from the GA labels
|
||||
primaryKey: v1.LabelArchStable,
|
||||
secondaryKey: kubeletapis.LabelArch,
|
||||
ensureSecondaryExists: true,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user