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 (
33
33
)
34
34
35
35
const (
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
37
37
// 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"
42
42
)
43
43
44
44
var standardKinds = map [string ]bool {
@@ -119,7 +119,7 @@ func runGenerator(args ...string) {
119
119
if crdRaw .ObjectMeta .Annotations == nil {
120
120
crdRaw .ObjectMeta .Annotations = map [string ]string {}
121
121
}
122
- crdRaw .ObjectMeta .Annotations [ChannelAnnotation ] = channel
122
+ crdRaw .ObjectMeta .Annotations [FeatureSetAnnotation ] = channel
123
123
if ctVer != "" {
124
124
crdRaw .ObjectMeta .Annotations [VersionAnnotation ] = ctVer
125
125
}
You can’t perform that action at this time.
0 commit comments