mirror of
https://github.com/tinyauthapp/tinyauth.git
synced 2026-09-25 04:03:32 +08:00
feat: register crd in kube watcher
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ var (
|
||||
func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
scheme.AddKnownTypes(SchemeGroupVersion,
|
||||
&Application{},
|
||||
&ApplicationSet{},
|
||||
)
|
||||
|
||||
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
|
||||
|
||||
Reference in New Issue
Block a user