@@ -14,10 +14,10 @@ import (
1414 kubeyaml "sigs.k8s.io/yaml"
1515)
1616
17- const CRDKindAnnotation = "crd.bundle.appcat .io/kind"
18- const CRDListKindAnnotation = "crd.bundle.appcat .io/listKind"
19- const CRDSingularAnnotation = "crd.bundle.appcat .io/singular"
20- const CRDPluralAnnotation = "crd.bundle.appcat .io/plural"
17+ const CRDKindAnnotation = "crd.bundle.helmetica .io/kind"
18+ const CRDListKindAnnotation = "crd.bundle.helmetica .io/listKind"
19+ const CRDSingularAnnotation = "crd.bundle.helmetica .io/singular"
20+ const CRDPluralAnnotation = "crd.bundle.helmetica .io/plural"
2121
2222var crdCategories = []string {"all" , "claim" , "helmetica" }
2323
@@ -32,7 +32,7 @@ var crdCategories = []string{"all", "claim", "helmetica"}
3232// - [CRDPluralAnnotation]: The plural name of the CRD. Defaults to lowercase kind + "s".
3333//
3434// The generated CRD is namespace-scoped.
35- // The CRD's group is derived from the chart's version and name, in the format "v<major>.<chart-name>.bundles.appcat .io".
35+ // The CRD's group is derived from the chart's version and name, in the format "v<major>.<chart-name>.helmetica- bundles.io".
3636//
3737// The generated CRD has a single version named "bundle", which is served and stored.
3838//
@@ -129,7 +129,7 @@ func GenerateCRD(chart chartv2.Chart, opts ...GenerateOption) (apiextv1.CustomRe
129129 if err != nil {
130130 return apiextv1.CustomResourceDefinition {}, fmt .Errorf ("invalid strict chart version: %s" , chart .Metadata .Version )
131131 }
132- crd .Spec .Group = fmt .Sprintf ("v%d.%s.bundles.appcat .io" , semver .Major (), chart .Name ())
132+ crd .Spec .Group = fmt .Sprintf ("v%d.%s.helmetica- bundles.io" , semver .Major (), chart .Name ())
133133 }
134134
135135 crd .Name = fmt .Sprintf ("%s.%s" , crd .Spec .Names .Plural , crd .Spec .Group )
0 commit comments