diff --git a/updates/config.go b/updates/config.go index 4677678f..05fb9975 100644 --- a/updates/config.go +++ b/updates/config.go @@ -50,15 +50,21 @@ func registerConfig() error { Value: helper.ReleaseChannelBeta, }, { - Name: "Special", - Description: "Special releases or version changes for troubleshooting. Only use temporarily and when instructed.", - Value: helper.ReleaseChannelSpecial, + Name: "Support", + Description: "Support releases or version changes for troubleshooting. Only use temporarily and when instructed.", + Value: helper.ReleaseChannelSupport, }, { Name: "Staging", Description: "Dangerous development releases for testing random things and experimenting. Only use temporarily and when instructed.", Value: helper.ReleaseChannelStaging, }, + // TODO: Remove as soon as everyone has switched away. + { + Name: "Special (Deprecated!)", + Description: "This channel has been deprecated. If selected, the Stable channel will be used instead.", + Value: "special", + }, }, Annotations: config.Annotations{ config.DisplayOrderAnnotation: -4, diff --git a/updates/helper/indexes.go b/updates/helper/indexes.go index 7420768c..69b73d12 100644 --- a/updates/helper/indexes.go +++ b/updates/helper/indexes.go @@ -10,7 +10,7 @@ const ( ReleaseChannelStable = "stable" ReleaseChannelBeta = "beta" ReleaseChannelStaging = "staging" - ReleaseChannelSpecial = "special" + ReleaseChannelSupport = "support" ) // SetIndexes sets the update registry indexes and also configures the registry @@ -48,10 +48,10 @@ func SetIndexes(registry *updater.ResourceRegistry, releaseChannel string) { usePreReleases = true } - // Add special index if in special channel. - if releaseChannel == ReleaseChannelSpecial { + // Add support index if in support channel. + if releaseChannel == ReleaseChannelSupport { registry.AddIndex(updater.Index{ - Path: ReleaseChannelSpecial + ".json", + Path: ReleaseChannelSupport + ".json", }) }