File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ import (
1818 "context"
1919 "fmt"
2020
21- v1 "k8s.io/api/core/v1"
22- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2321 "k8s.io/klog/v2"
2422
2523 "github.com/openshift/cluster-monitoring-operator/pkg/client"
@@ -72,19 +70,6 @@ func (t *MonitoringPluginTask) Run(ctx context.Context) error {
7270 }
7371 }
7472
75- { // config map
76- // Deletes the config map if it exists as it is not required anymore.
77- // This can be removed in 4.19 release. see https://issues.redhat.com/browse/OU-515
78- if err := t .client .DeleteConfigMap (ctx , & v1.ConfigMap {
79- ObjectMeta : metav1.ObjectMeta {
80- Namespace : "openshift-monitoring" ,
81- Name : "monitoring-plugin" ,
82- },
83- }); err != nil {
84- return fmt .Errorf ("deleting Console Plugin ConfigMap failed: %w" , err )
85- }
86- }
87-
8873 { // service acccount
8974 sa , err := t .factory .MonitoringPluginServiceAccount ()
9075 if err != nil {
You can’t perform that action at this time.
0 commit comments