scylladb / scylla-operator

The Kubernetes Operator for ScyllaDB
https://operator.docs.scylladb.com/
Apache License 2.0
332 stars 162 forks source link

Clear Scylla Manager task errors from status after they've been successfully executed #1933

Closed rzetelskik closed 4 months ago

rzetelskik commented 4 months ago

Description of your changes: Task error handling in the unified approach introduced in https://github.com/scylladb/scylla-operator/pull/1850 is missing clearing the errors after the tasks have been executed successfully. This PR fixes that.

Which issue is resolved by this Pull Request: Resolves #1932

/kind bug /priority important-soon /cc zimnx

scylla-operator-bot[bot] commented 4 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rzetelskik, tnozicka, zimnx

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: - ~~[OWNERS](https://github.com/scylladb/scylla-operator/blob/master/OWNERS)~~ [tnozicka,zimnx] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment