k8s: add feature toggle and stub to save dashboards k8s (#62053)

This commit is contained in:
Ryan McKinley
2023-01-25 11:10:16 -08:00
committed by GitHub
parent a0405912a8
commit 4965cf2eda
10 changed files with 154 additions and 10 deletions
+6
View File
@@ -154,6 +154,12 @@ var (
State: FeatureStateAlpha,
RequiresDevMode: true,
},
{
Name: "k8sDashboards",
Description: "Save dashboards via k8s",
State: FeatureStateAlpha,
RequiresDevMode: true,
},
{
Name: "supportBundles",
Description: "Support bundles for troubleshooting",
+4
View File
@@ -115,6 +115,10 @@ const (
// Explore native k8s integrations
FlagK8s = "k8s"
// FlagK8sDashboards
// Save dashboards via k8s
FlagK8sDashboards = "k8sDashboards"
// FlagSupportBundles
// Support bundles for troubleshooting
FlagSupportBundles = "supportBundles"
+2 -1
View File
@@ -25,7 +25,8 @@ func TestFeatureToggleFiles(t *testing.T) {
"live-config": true,
"live-pipeline": true,
"live-service-web-worker": true,
"k8s": true, // Camle case does not like this one
"k8s": true, // Camel case does not like this one
"k8sDashboards": true, // or this one
}
t.Run("check registry constraints", func(t *testing.T) {