File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ import (
3333)
3434
3535const (
36- // ChannelAnnotation is the annotation key used in the Operator-Controller API CRDs to specify
36+ // FeatureSetAnnotation is the annotation key used in the Operator-Controller API CRDs to specify
3737 // the installed Operator-Controller API channel.
38- ChannelAnnotation = "olm.operatorframework.io/channel "
39- VersionAnnotation = "controller-gen.kubebuilder.io/version"
40- StandardChannel = "standard"
41- ExperimentalChannel = "experimental"
38+ FeatureSetAnnotation = "olm.operatorframework.io/feature-set "
39+ VersionAnnotation = "controller-gen.kubebuilder.io/version"
40+ StandardChannel = "standard"
41+ ExperimentalChannel = "experimental"
4242)
4343
4444var standardKinds = map [string ]bool {
@@ -119,7 +119,7 @@ func runGenerator(args ...string) {
119119 if crdRaw .ObjectMeta .Annotations == nil {
120120 crdRaw .ObjectMeta .Annotations = map [string ]string {}
121121 }
122- crdRaw .ObjectMeta .Annotations [ChannelAnnotation ] = channel
122+ crdRaw .ObjectMeta .Annotations [FeatureSetAnnotation ] = channel
123123 if ctVer != "" {
124124 crdRaw .ObjectMeta .Annotations [VersionAnnotation ] = ctVer
125125 }
You can’t perform that action at this time.
0 commit comments