cluster-logging-operator icon indicating copy to clipboard operation
cluster-logging-operator copied to clipboard

LOG-2919: fix order of reconcilation for ServiceMonitor

Open jcantrill opened this issue 3 years ago • 3 comments

Description

This PR:

  • fixes ServiceMonitor order of reconciliation to try to Get before Create
  • Refactors ServiceMonitor code out of k8shandler/collection.go to decouple from ClusterLoggingRequest
  • Makes ServiceMonitor reconciliation async

Links

  • https://issues.redhat.com/browse/LOG-2919

jcantrill avatar Sep 01 '22 18:09 jcantrill

/hold

jcantrill avatar Sep 01 '22 18:09 jcantrill

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jcantrill

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Sep 01 '22 18:09 openshift-ci[bot]

/retest

jcantrill avatar Sep 06 '22 17:09 jcantrill

/retest

jcantrill avatar Sep 06 '22 17:09 jcantrill

@xperimental I updated this change to remove the async. Thoughts? Do you think this is better?

jcantrill avatar Sep 07 '22 15:09 jcantrill

/retest

jcantrill avatar Sep 09 '22 21:09 jcantrill

/retest

jcantrill avatar Sep 13 '22 15:09 jcantrill

/retest

jupierce avatar Sep 13 '22 23:09 jupierce

/retest

jcantrill avatar Sep 14 '22 02:09 jcantrill

/retest

jcantrill avatar Sep 16 '22 13:09 jcantrill

/hold cancel

jcantrill avatar Sep 19 '22 18:09 jcantrill

@jcantrill: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

openshift-ci[bot] avatar Sep 20 '22 17:09 openshift-ci[bot]