File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import (
34
34
"k8s.io/client-go/util/retry"
35
35
"k8s.io/klog/v2"
36
36
37
+ "github.com/openshift/api/annotations"
37
38
configv1 "github.com/openshift/api/config/v1"
38
39
mcfgv1 "github.com/openshift/api/machineconfiguration/v1"
39
40
opv1 "github.com/openshift/api/operator/v1"
@@ -402,7 +403,7 @@ func (optr *Operator) syncRenderConfig(_ *renderConfig, _ *configv1.ClusterOpera
402
403
return err
403
404
}
404
405
cmAnnotations := make (map [string ]string )
405
- cmAnnotations ["openshift.io/description" ] = "Created and managed by the machine-config-operator "
406
+ cmAnnotations [annotations . OpenShiftComponent ] = "openshift-apiserver "
406
407
if err != nil && apierrors .IsNotFound (err ) {
407
408
klog .Infof ("creating merged-trusted-image-registry-ca" )
408
409
_ , err = optr .kubeClient .CoreV1 ().ConfigMaps ("openshift-config-managed" ).Create (
You can’t perform that action at this time.
0 commit comments