@@ -30,7 +30,7 @@ func getDefinitions(parsedCrd cue.Value, resource int, cfg Config, ctx context.C
3030 if err != nil {
3131 return "" , ErrGetResourceIdentifier (err )
3232 }
33- definitionRef := strings .ToLower (resourceId ) + ".meshery.layer5. io"
33+ definitionRef := strings .ToLower (resourceId ) + ".meshery.io"
3434 apiVersionCueVal , _ := cfg .CrdFilter .VersionExtractor (parsedCrd )
3535 apiVersion , err := apiVersionCueVal .String ()
3636 if err != nil {
@@ -64,7 +64,7 @@ func getDefinitions(parsedCrd cue.Value, resource int, cfg Config, ctx context.C
6464 def .Name += "." + cfg .Type
6565 def .Spec .DefinitionRef .Name += "." + cfg .Type
6666 }
67- def .Spec .DefinitionRef .Name += ".meshery.layer5. io"
67+ def .Spec .DefinitionRef .Name += ".meshery.io"
6868 case K8s :
6969 def .Spec .Metadata = map [string ]string {
7070 "@type" : "pattern.meshery.io/k8s" ,
@@ -73,7 +73,7 @@ func getDefinitions(parsedCrd cue.Value, resource int, cfg Config, ctx context.C
7373 "version" : cfg .K8sVersion ,
7474 }
7575 def .Name += ".K8s"
76- def .Spec .DefinitionRef .Name = strings .ToLower (resourceId ) + ".k8s.meshery.layer5. io"
76+ def .Spec .DefinitionRef .Name = strings .ToLower (resourceId ) + ".k8s.meshery.io"
7777 case MESHERY :
7878 def .Spec .Metadata = map [string ]string {
7979 "@type" : "pattern.meshery.io/core" ,
0 commit comments