Dashboards: Add Dashboard API Validation tests and fix underlying issues (#103502)

This commit is contained in:
Marco de Abreu
2025-04-07 05:44:28 +03:00
committed by GitHub
parent 427715b070
commit b2f80d4dca
16 changed files with 1521 additions and 240 deletions
+4 -2
View File
@@ -95,11 +95,13 @@ func (g *genericStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Obje
}
func (g *genericStrategy) AllowCreateOnUpdate() bool {
return true
// Necessary due to dualwriter storage strategy
return true // TODO: Check if we can have a separate strategy for storage and for the /apis endpoint
}
func (g *genericStrategy) AllowUnconditionalUpdate() bool {
return true
// Necessary due to dualwriter storage strategy
return true // TODO: Check if we can have a separate strategy for storage and for the /apis endpoint
}
func (g *genericStrategy) Canonicalize(obj runtime.Object) {}