diff --git a/cmd/dynamic-controller/setup.go b/cmd/dynamic-controller/setup.go index 6454974..3c6a856 100644 --- a/cmd/dynamic-controller/setup.go +++ b/cmd/dynamic-controller/setup.go @@ -111,9 +111,9 @@ func (sg *ProviderGenerator) generate(group string, versionPkgList []string, sho importData += rmDot[0] + " " + "\"" + pkgPath + "\"\n" if group == "azure" { - kindMapData += "schema.GroupKind{\"" + kind + "." + group + ".kubedb.com\", " + kindMapData += "schema.GroupKind{\"" + group + ".kubedb.com\", " } else { - kindMapData += "schema.GroupKind{\"" + kind + "." + group + ".azure.kubedb.com\", " + kindMapData += "schema.GroupKind{\"" + group + ".azure.kubedb.com\", " } kindMapData += "\"" + groupKind[kind] + "\"}: " + aliases[i] + "Setup,\n" } diff --git a/internal/controller/crd_controller.go.txt b/internal/controller/crd_controller.go.txt index 75ff352..52e1879 100644 --- a/internal/controller/crd_controller.go.txt +++ b/internal/controller/crd_controller.go.txt @@ -1,49 +1,27 @@ //package controller - - -/* -var( - gk2 = schema.GroupKind{"azure.kubedb.com", "ResourceGroup"} - gk3 = schema.GroupKind{"azure.kubedb.com", "ProviderConfig"} - setupFns = map[schema.GroupKind]func(ctrl.Manager, controller.Options) error{ - gk2: resourcegroup.Setup, - gk3: providerregistration.Setup, - } -) -*/ - var ( setupDone = map[schema.GroupKind]bool{} mu sync.RWMutex ) -//func SetupControllerList(mgr ctrl.Manager, o controller.Options) error { -// -//} - type CustomResourceReconciler struct { mgr ctrl.Manager o controller.Options } func NewCustomResourceReconciler(mgr ctrl.Manager, o controller.Options) *CustomResourceReconciler { - //if err := SetupControllerList(mgr, o); err != nil { - // log.Error(err, "unable to fetch CustomResourceDefinition") - //} return &CustomResourceReconciler{mgr: mgr, o: o} } func (r *CustomResourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { log := log.FromContext(ctx) - var crd apiextensions.CustomResourceDefinition if err := r.mgr.GetClient().Get(ctx, req.NamespacedName, &crd); err != nil { log.Error(err, "unable to fetch CustomResourceDefinition") return ctrl.Result{}, client.IgnoreNotFound(err) } - gk := schema.GroupKind{ Group: crd.Spec.Group, Kind: crd.Spec.Names.Kind, diff --git a/internal/controller/zz_crd_controller.go b/internal/controller/zz_crd_controller.go index 93c69cd..f1d18f6 100644 --- a/internal/controller/zz_crd_controller.go +++ b/internal/controller/zz_crd_controller.go @@ -101,93 +101,93 @@ import ( var ( setupFns = map[schema.GroupKind]func(ctrl.Manager, controller.Options) error{ - schema.GroupKind{"roleassignment.authorization.azure.kubedb.com", "RoleAssignment"}: roleassignment.Setup, - schema.GroupKind{"providerregistration.azure.kubedb.com", "ProviderRegistration"}: providerregistration.Setup, - schema.GroupKind{"resourcegroup.azure.kubedb.com", "ResourceGroup"}: resourcegroup.Setup, - schema.GroupKind{"subscription.azure.kubedb.com", "Subscription"}: subscription.Setup, - schema.GroupKind{"rediscache.cache.azure.kubedb.com", "RedisCache"}: rediscache.Setup, - schema.GroupKind{"redisenterprisecluster.cache.azure.kubedb.com", "RedisEnterpriseCluster"}: redisenterprisecluster.Setup, - schema.GroupKind{"redisenterprisedatabase.cache.azure.kubedb.com", "RedisEnterpriseDatabase"}: redisenterprisedatabase.Setup, - schema.GroupKind{"redisfirewallrule.cache.azure.kubedb.com", "RedisFirewallRule"}: redisfirewallrule.Setup, - schema.GroupKind{"redislinkedserver.cache.azure.kubedb.com", "RedisLinkedServer"}: redislinkedserver.Setup, - schema.GroupKind{"account.cosmosdb.azure.kubedb.com", "Account"}: account.Setup, - schema.GroupKind{"cassandracluster.cosmosdb.azure.kubedb.com", "CassandraCluster"}: cassandracluster.Setup, - schema.GroupKind{"cassandradatacenter.cosmosdb.azure.kubedb.com", "CassandraDatacenter"}: cassandradatacenter.Setup, - schema.GroupKind{"cassandrakeyspace.cosmosdb.azure.kubedb.com", "CassandraKeySpace"}: cassandrakeyspace.Setup, - schema.GroupKind{"cassandratable.cosmosdb.azure.kubedb.com", "CassandraTable"}: cassandratable.Setup, - schema.GroupKind{"gremlindatabase.cosmosdb.azure.kubedb.com", "GremlinDatabase"}: gremlindatabase.Setup, - schema.GroupKind{"gremlingraph.cosmosdb.azure.kubedb.com", "GremlinGraph"}: gremlingraph.Setup, - schema.GroupKind{"mongocollection.cosmosdb.azure.kubedb.com", "MongoCollection"}: mongocollection.Setup, - schema.GroupKind{"mongodatabase.cosmosdb.azure.kubedb.com", "MongoDatabase"}: mongodatabase.Setup, - schema.GroupKind{"sqlcontainer.cosmosdb.azure.kubedb.com", "SQLContainer"}: sqlcontainer.Setup, - schema.GroupKind{"sqldatabase.cosmosdb.azure.kubedb.com", "SQLDatabase"}: sqldatabase.Setup, - schema.GroupKind{"sqldedicatedgateway.cosmosdb.azure.kubedb.com", "SQLDedicatedGateway"}: sqldedicatedgateway.Setup, - schema.GroupKind{"sqlfunction.cosmosdb.azure.kubedb.com", "SQLFunction"}: sqlfunction.Setup, - schema.GroupKind{"sqlroleassignment.cosmosdb.azure.kubedb.com", "SQLRoleAssignment"}: sqlroleassignment.Setup, - schema.GroupKind{"sqlroledefinition.cosmosdb.azure.kubedb.com", "SQLRoleDefinition"}: sqlroledefinition.Setup, - schema.GroupKind{"sqlstoredprocedure.cosmosdb.azure.kubedb.com", "SQLStoredProcedure"}: sqlstoredprocedure.Setup, - schema.GroupKind{"sqltrigger.cosmosdb.azure.kubedb.com", "SQLTrigger"}: sqltrigger.Setup, - schema.GroupKind{"table.cosmosdb.azure.kubedb.com", "Table"}: table.Setup, - schema.GroupKind{"configuration.dbformariadb.azure.kubedb.com", "Configuration"}: configuration.Setup, - schema.GroupKind{"database.dbformariadb.azure.kubedb.com", "Database"}: database.Setup, - schema.GroupKind{"firewallrule.dbformariadb.azure.kubedb.com", "FirewallRule"}: firewallrule.Setup, - schema.GroupKind{"server.dbformariadb.azure.kubedb.com", "Server"}: server.Setup, - schema.GroupKind{"virtualnetworkrule.dbformariadb.azure.kubedb.com", "VirtualNetworkRule"}: virtualnetworkrule.Setup, - schema.GroupKind{"activedirectoryadministrator.dbformysql.azure.kubedb.com", "ActiveDirectoryAdministrator"}: activedirectoryadministrator.Setup, - schema.GroupKind{"configuration.dbformysql.azure.kubedb.com", "Configuration"}: configurationdbformysql.Setup, - schema.GroupKind{"database.dbformysql.azure.kubedb.com", "Database"}: databasedbformysql.Setup, - schema.GroupKind{"firewallrule.dbformysql.azure.kubedb.com", "FirewallRule"}: firewallruledbformysql.Setup, - schema.GroupKind{"flexibledatabase.dbformysql.azure.kubedb.com", "FlexibleDatabase"}: flexibledatabase.Setup, - schema.GroupKind{"flexibleserver.dbformysql.azure.kubedb.com", "FlexibleServer"}: flexibleserver.Setup, - schema.GroupKind{"flexibleserverconfiguration.dbformysql.azure.kubedb.com", "FlexibleServerConfiguration"}: flexibleserverconfiguration.Setup, - schema.GroupKind{"flexibleserverfirewallrule.dbformysql.azure.kubedb.com", "FlexibleServerFirewallRule"}: flexibleserverfirewallrule.Setup, - schema.GroupKind{"server.dbformysql.azure.kubedb.com", "Server"}: serverdbformysql.Setup, - schema.GroupKind{"virtualnetworkrule.dbformysql.azure.kubedb.com", "VirtualNetworkRule"}: virtualnetworkruledbformysql.Setup, - schema.GroupKind{"activedirectoryadministrator.dbforpostgresql.azure.kubedb.com", "ActiveDirectoryAdministrator"}: activedirectoryadministratordbforpostgresql.Setup, - schema.GroupKind{"configuration.dbforpostgresql.azure.kubedb.com", "Configuration"}: configurationdbforpostgresql.Setup, - schema.GroupKind{"database.dbforpostgresql.azure.kubedb.com", "Database"}: databasedbforpostgresql.Setup, - schema.GroupKind{"firewallrule.dbforpostgresql.azure.kubedb.com", "FirewallRule"}: firewallruledbforpostgresql.Setup, - schema.GroupKind{"flexibleserver.dbforpostgresql.azure.kubedb.com", "FlexibleServer"}: flexibleserverdbforpostgresql.Setup, - schema.GroupKind{"flexibleserverconfiguration.dbforpostgresql.azure.kubedb.com", "FlexibleServerConfiguration"}: flexibleserverconfigurationdbforpostgresql.Setup, - schema.GroupKind{"flexibleserverdatabase.dbforpostgresql.azure.kubedb.com", "FlexibleServerDatabase"}: flexibleserverdatabase.Setup, - schema.GroupKind{"flexibleserverfirewallrule.dbforpostgresql.azure.kubedb.com", "FlexibleServerFirewallRule"}: flexibleserverfirewallruledbforpostgresql.Setup, - schema.GroupKind{"server.dbforpostgresql.azure.kubedb.com", "Server"}: serverdbforpostgresql.Setup, - schema.GroupKind{"serverkey.dbforpostgresql.azure.kubedb.com", "ServerKey"}: serverkey.Setup, - schema.GroupKind{"virtualnetworkrule.dbforpostgresql.azure.kubedb.com", "VirtualNetworkRule"}: virtualnetworkruledbforpostgresql.Setup, - schema.GroupKind{"key.keyvault.azure.kubedb.com", "Key"}: key.Setup, - schema.GroupKind{"vault.keyvault.azure.kubedb.com", "Vault"}: vault.Setup, - schema.GroupKind{"privatednszone.network.azure.kubedb.com", "PrivateDNSZone"}: privatednszone.Setup, - schema.GroupKind{"privatednszonevirtualnetworklink.network.azure.kubedb.com", "PrivateDNSZoneVirtualNetworkLink"}: privatednszonevirtualnetworklink.Setup, - schema.GroupKind{"routetable.network.azure.kubedb.com", "RouteTable"}: routetable.Setup, - schema.GroupKind{"securitygroup.network.azure.kubedb.com", "SecurityGroup"}: securitygroup.Setup, - schema.GroupKind{"subnet.network.azure.kubedb.com", "Subnet"}: subnet.Setup, - schema.GroupKind{"subnetnetworksecuritygroupassociation.network.azure.kubedb.com", "SubnetNetworkSecurityGroupAssociation"}: subnetnetworksecuritygroupassociation.Setup, - schema.GroupKind{"subnetroutetableassociation.network.azure.kubedb.com", "SubnetRouteTableAssociation"}: subnetroutetableassociation.Setup, - schema.GroupKind{"virtualnetwork.network.azure.kubedb.com", "VirtualNetwork"}: virtualnetwork.Setup, - schema.GroupKind{"virtualnetworkpeering.network.azure.kubedb.com", "VirtualNetworkPeering"}: virtualnetworkpeering.Setup, - schema.GroupKind{"providerconfig.controller.azure.kubedb.com", ""}: providerconfig.Setup, - schema.GroupKind{"mssqldatabase.sql.azure.kubedb.com", "MSSQLDatabase"}: mssqldatabase.Setup, - schema.GroupKind{"mssqldatabasevulnerabilityassessmentrulebaseline.sql.azure.kubedb.com", "MSSQLDatabaseVulnerabilityAssessmentRuleBaseline"}: mssqldatabasevulnerabilityassessmentrulebaseline.Setup, - schema.GroupKind{"mssqlelasticpool.sql.azure.kubedb.com", "MSSQLElasticPool"}: mssqlelasticpool.Setup, - schema.GroupKind{"mssqlfailovergroup.sql.azure.kubedb.com", "MSSQLFailoverGroup"}: mssqlfailovergroup.Setup, - schema.GroupKind{"mssqlfirewallrule.sql.azure.kubedb.com", "MSSQLFirewallRule"}: mssqlfirewallrule.Setup, - schema.GroupKind{"mssqljobagent.sql.azure.kubedb.com", "MSSQLJobAgent"}: mssqljobagent.Setup, - schema.GroupKind{"mssqljobcredential.sql.azure.kubedb.com", "MSSQLJobCredential"}: mssqljobcredential.Setup, - schema.GroupKind{"mssqlmanageddatabase.sql.azure.kubedb.com", "MSSQLManagedDatabase"}: mssqlmanageddatabase.Setup, - schema.GroupKind{"mssqlmanagedinstance.sql.azure.kubedb.com", "MSSQLManagedInstance"}: mssqlmanagedinstance.Setup, - schema.GroupKind{"mssqlmanagedinstanceactivedirectoryadministrator.sql.azure.kubedb.com", "MSSQLManagedInstanceActiveDirectoryAdministrator"}: mssqlmanagedinstanceactivedirectoryadministrator.Setup, - schema.GroupKind{"mssqlmanagedinstancefailovergroup.sql.azure.kubedb.com", "MSSQLManagedInstanceFailoverGroup"}: mssqlmanagedinstancefailovergroup.Setup, - schema.GroupKind{"mssqlmanagedinstancevulnerabilityassessment.sql.azure.kubedb.com", "MSSQLManagedInstanceVulnerabilityAssessment"}: mssqlmanagedinstancevulnerabilityassessment.Setup, - schema.GroupKind{"mssqloutboundfirewallrule.sql.azure.kubedb.com", "MSSQLOutboundFirewallRule"}: mssqloutboundfirewallrule.Setup, - schema.GroupKind{"mssqlserver.sql.azure.kubedb.com", "MSSQLServer"}: mssqlserver.Setup, - schema.GroupKind{"mssqlserverdnsalias.sql.azure.kubedb.com", "MSSQLServerDNSAlias"}: mssqlserverdnsalias.Setup, - schema.GroupKind{"mssqlservermicrosoftsupportauditingpolicy.sql.azure.kubedb.com", "MSSQLServerMicrosoftSupportAuditingPolicy"}: mssqlservermicrosoftsupportauditingpolicy.Setup, - schema.GroupKind{"mssqlserversecurityalertpolicy.sql.azure.kubedb.com", "MSSQLServerSecurityAlertPolicy"}: mssqlserversecurityalertpolicy.Setup, - schema.GroupKind{"mssqlservertransparentdataencryption.sql.azure.kubedb.com", "MSSQLServerTransparentDataEncryption"}: mssqlservertransparentdataencryption.Setup, - schema.GroupKind{"mssqlservervulnerabilityassessment.sql.azure.kubedb.com", "MSSQLServerVulnerabilityAssessment"}: mssqlservervulnerabilityassessment.Setup, - schema.GroupKind{"mssqlvirtualnetworkrule.sql.azure.kubedb.com", "MSSQLVirtualNetworkRule"}: mssqlvirtualnetworkrule.Setup, - schema.GroupKind{"account.storage.azure.kubedb.com", "Account"}: accountstorage.Setup, - schema.GroupKind{"container.storage.azure.kubedb.com", "Container"}: container.Setup, + schema.GroupKind{"authorization.azure.kubedb.com", "RoleAssignment"}: roleassignment.Setup, + schema.GroupKind{"azure.kubedb.com", "ProviderRegistration"}: providerregistration.Setup, + schema.GroupKind{"azure.kubedb.com", "ResourceGroup"}: resourcegroup.Setup, + schema.GroupKind{"azure.kubedb.com", "Subscription"}: subscription.Setup, + schema.GroupKind{"cache.azure.kubedb.com", "RedisCache"}: rediscache.Setup, + schema.GroupKind{"cache.azure.kubedb.com", "RedisEnterpriseCluster"}: redisenterprisecluster.Setup, + schema.GroupKind{"cache.azure.kubedb.com", "RedisEnterpriseDatabase"}: redisenterprisedatabase.Setup, + schema.GroupKind{"cache.azure.kubedb.com", "RedisFirewallRule"}: redisfirewallrule.Setup, + schema.GroupKind{"cache.azure.kubedb.com", "RedisLinkedServer"}: redislinkedserver.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "Account"}: account.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "CassandraCluster"}: cassandracluster.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "CassandraDatacenter"}: cassandradatacenter.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "CassandraKeySpace"}: cassandrakeyspace.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "CassandraTable"}: cassandratable.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "GremlinDatabase"}: gremlindatabase.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "GremlinGraph"}: gremlingraph.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "MongoCollection"}: mongocollection.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "MongoDatabase"}: mongodatabase.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "SQLContainer"}: sqlcontainer.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "SQLDatabase"}: sqldatabase.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "SQLDedicatedGateway"}: sqldedicatedgateway.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "SQLFunction"}: sqlfunction.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "SQLRoleAssignment"}: sqlroleassignment.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "SQLRoleDefinition"}: sqlroledefinition.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "SQLStoredProcedure"}: sqlstoredprocedure.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "SQLTrigger"}: sqltrigger.Setup, + schema.GroupKind{"cosmosdb.azure.kubedb.com", "Table"}: table.Setup, + schema.GroupKind{"dbformariadb.azure.kubedb.com", "Configuration"}: configuration.Setup, + schema.GroupKind{"dbformariadb.azure.kubedb.com", "Database"}: database.Setup, + schema.GroupKind{"dbformariadb.azure.kubedb.com", "FirewallRule"}: firewallrule.Setup, + schema.GroupKind{"dbformariadb.azure.kubedb.com", "Server"}: server.Setup, + schema.GroupKind{"dbformariadb.azure.kubedb.com", "VirtualNetworkRule"}: virtualnetworkrule.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "ActiveDirectoryAdministrator"}: activedirectoryadministrator.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "Configuration"}: configurationdbformysql.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "Database"}: databasedbformysql.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "FirewallRule"}: firewallruledbformysql.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "FlexibleDatabase"}: flexibledatabase.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "FlexibleServer"}: flexibleserver.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "FlexibleServerConfiguration"}: flexibleserverconfiguration.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "FlexibleServerFirewallRule"}: flexibleserverfirewallrule.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "Server"}: serverdbformysql.Setup, + schema.GroupKind{"dbformysql.azure.kubedb.com", "VirtualNetworkRule"}: virtualnetworkruledbformysql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "ActiveDirectoryAdministrator"}: activedirectoryadministratordbforpostgresql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "Configuration"}: configurationdbforpostgresql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "Database"}: databasedbforpostgresql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "FirewallRule"}: firewallruledbforpostgresql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "FlexibleServer"}: flexibleserverdbforpostgresql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "FlexibleServerConfiguration"}: flexibleserverconfigurationdbforpostgresql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "FlexibleServerDatabase"}: flexibleserverdatabase.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "FlexibleServerFirewallRule"}: flexibleserverfirewallruledbforpostgresql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "Server"}: serverdbforpostgresql.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "ServerKey"}: serverkey.Setup, + schema.GroupKind{"dbforpostgresql.azure.kubedb.com", "VirtualNetworkRule"}: virtualnetworkruledbforpostgresql.Setup, + schema.GroupKind{"keyvault.azure.kubedb.com", "Key"}: key.Setup, + schema.GroupKind{"keyvault.azure.kubedb.com", "Vault"}: vault.Setup, + schema.GroupKind{"network.azure.kubedb.com", "PrivateDNSZone"}: privatednszone.Setup, + schema.GroupKind{"network.azure.kubedb.com", "PrivateDNSZoneVirtualNetworkLink"}: privatednszonevirtualnetworklink.Setup, + schema.GroupKind{"network.azure.kubedb.com", "RouteTable"}: routetable.Setup, + schema.GroupKind{"network.azure.kubedb.com", "SecurityGroup"}: securitygroup.Setup, + schema.GroupKind{"network.azure.kubedb.com", "Subnet"}: subnet.Setup, + schema.GroupKind{"network.azure.kubedb.com", "SubnetNetworkSecurityGroupAssociation"}: subnetnetworksecuritygroupassociation.Setup, + schema.GroupKind{"network.azure.kubedb.com", "SubnetRouteTableAssociation"}: subnetroutetableassociation.Setup, + schema.GroupKind{"network.azure.kubedb.com", "VirtualNetwork"}: virtualnetwork.Setup, + schema.GroupKind{"network.azure.kubedb.com", "VirtualNetworkPeering"}: virtualnetworkpeering.Setup, + schema.GroupKind{"controller.azure.kubedb.com", ""}: providerconfig.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLDatabase"}: mssqldatabase.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLDatabaseVulnerabilityAssessmentRuleBaseline"}: mssqldatabasevulnerabilityassessmentrulebaseline.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLElasticPool"}: mssqlelasticpool.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLFailoverGroup"}: mssqlfailovergroup.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLFirewallRule"}: mssqlfirewallrule.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLJobAgent"}: mssqljobagent.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLJobCredential"}: mssqljobcredential.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLManagedDatabase"}: mssqlmanageddatabase.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLManagedInstance"}: mssqlmanagedinstance.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLManagedInstanceActiveDirectoryAdministrator"}: mssqlmanagedinstanceactivedirectoryadministrator.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLManagedInstanceFailoverGroup"}: mssqlmanagedinstancefailovergroup.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLManagedInstanceVulnerabilityAssessment"}: mssqlmanagedinstancevulnerabilityassessment.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLOutboundFirewallRule"}: mssqloutboundfirewallrule.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLServer"}: mssqlserver.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLServerDNSAlias"}: mssqlserverdnsalias.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLServerMicrosoftSupportAuditingPolicy"}: mssqlservermicrosoftsupportauditingpolicy.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLServerSecurityAlertPolicy"}: mssqlserversecurityalertpolicy.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLServerTransparentDataEncryption"}: mssqlservertransparentdataencryption.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLServerVulnerabilityAssessment"}: mssqlservervulnerabilityassessment.Setup, + schema.GroupKind{"sql.azure.kubedb.com", "MSSQLVirtualNetworkRule"}: mssqlvirtualnetworkrule.Setup, + schema.GroupKind{"storage.azure.kubedb.com", "Account"}: accountstorage.Setup, + schema.GroupKind{"storage.azure.kubedb.com", "Container"}: container.Setup, } )