From 62d2737849a813a8a264c9c28b3d6970acd14e39 Mon Sep 17 00:00:00 2001 From: Patrick Pacher Date: Tue, 22 Sep 2020 15:40:56 +0200 Subject: [PATCH] Add category annotations to options --- api/config.go | 1 + config/expertise.go | 1 + config/release.go | 1 + 3 files changed, 3 insertions(+) diff --git a/api/config.go b/api/config.go index 544026a..2e7c079 100644 --- a/api/config.go +++ b/api/config.go @@ -50,6 +50,7 @@ func registerConfig() error { RequiresRestart: true, Annotations: config.Annotations{ config.DisplayOrderAnnotation: 128, + config.CategoryAnnotation: "Development", }, }) if err != nil { diff --git a/config/expertise.go b/config/expertise.go index 5836cae..99cba5e 100644 --- a/config/expertise.go +++ b/config/expertise.go @@ -48,6 +48,7 @@ func registerExpertiseLevelOption() { DefaultValue: ExpertiseLevelNameUser, Annotations: Annotations{ DisplayHintAnnotation: DisplayHintOneOf, + CategoryAnnotation: "Expertise & Release", }, PossibleValues: []PossibleValue{ { diff --git a/config/release.go b/config/release.go index 97617c9..19a081e 100644 --- a/config/release.go +++ b/config/release.go @@ -46,6 +46,7 @@ func registerReleaseLevelOption() { DefaultValue: ReleaseLevelNameStable, Annotations: Annotations{ DisplayHintAnnotation: DisplayHintOneOf, + CategoryAnnotation: "Expertise & Release", }, PossibleValues: []PossibleValue{ {