feat: register crd in kube watcher

This commit is contained in:
Stavros
2026-09-22 22:30:12 +03:00
parent a62ef392e2
commit f98c844f28
5 changed files with 33 additions and 10 deletions
@@ -33,8 +33,6 @@ type ApplicationSpec struct {
// AppConfig specifies configuration for the application
type AppConfig struct {
// +required
Name string `json:"name,omitempty"`
// +required
Domain string `json:"domain,omitempty"`
}
-1
View File
@@ -19,7 +19,6 @@ var (
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
&Application{},
&ApplicationSet{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)