containerized-data-importer/pkg/controller
Arnon Gilboa afb269737b
Suppress alerts to reduce noise of dependent ones (#3129)
* Suppress alerts to reduce noise of dependent ones

This is a follow-up to #2998 introducing the following changes to alert
rules:

- CDIDefaultStorageClassDegraded - do not fire when no default SC
  (either k8s or virt).
- CDIDataImportCronOutdated - do not fire when no default SC (either
  k8s or virt), as DIC import DVs use default SC.
- CDINoDefaultStorageClass - fire not only when there is a pending DV
  (and PVC) but also when DV has an empty status (waiting for default
  SC etc.)

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* CR fixes

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Remove expensive func test

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Refactor updateDataImportCronCondition

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Add some verify comments

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

* Add IsDataVolumeUsingDefaultStorageClass helper for readability

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>

---------

Signed-off-by: Arnon Gilboa <agilboa@redhat.com>
2024-04-07 20:47:51 +02:00
..
clone Fix volume/access mode inferring for temp host assisted source PVC in snapshot clones (#3155) 2024-04-05 15:29:50 +02:00
common Suppress alerts to reduce noise of dependent ones (#3129) 2024-04-07 20:47:51 +02:00
datavolume Suppress alerts to reduce noise of dependent ones (#3129) 2024-04-07 20:47:51 +02:00
populators feat(import): Set PVC labels derived from env vars on containerdisks (#3103) 2024-03-21 23:13:16 +01:00
transfer update k8s & related libraries to 1.28 (#3078) 2024-01-23 17:52:05 +01:00
BUILD.bazel Suppress alerts to reduce noise of dependent ones (#3129) 2024-04-07 20:47:51 +02:00
clone-controller_test.go update k8s & related libraries to 1.28 (#3078) 2024-01-23 17:52:05 +01:00
clone-controller.go feat: Make importer datasource communication explicit (#3101) 2024-03-13 22:09:23 +01:00
config-controller_test.go Update to ginkgo v2 (#2788) 2023-07-26 02:35:55 +02:00
config-controller.go update k8s & related libraries to 1.28 (#3078) 2024-01-23 17:52:05 +01:00
controller_suite_test.go Update to ginkgo v2 (#2788) 2023-07-26 02:35:55 +02:00
dataimportcron-conditions.go Suppress alerts to reduce noise of dependent ones (#3129) 2024-04-07 20:47:51 +02:00
dataimportcron-controller_test.go Suppress alerts to reduce noise of dependent ones (#3129) 2024-04-07 20:47:51 +02:00
dataimportcron-controller.go Suppress alerts to reduce noise of dependent ones (#3129) 2024-04-07 20:47:51 +02:00
datasource-controller_test.go Refactor monitoring code (#3009) 2024-01-02 09:17:18 +01:00
datasource-controller.go update k8s & related libraries to 1.28 (#3078) 2024-01-23 17:52:05 +01:00
import-controller_test.go feat(import): Set PVC labels derived from env vars on containerdisks (#3103) 2024-03-21 23:13:16 +01:00
import-controller.go Fix that the Resources configuration (#3157) 2024-04-01 22:34:34 +02:00
storageprofile-controller_test.go Get no-provisioner storage capabilities from PVs (#3128) 2024-03-18 22:21:14 +01:00
storageprofile-controller.go Get no-provisioner storage capabilities from PVs (#3128) 2024-03-18 22:21:14 +01:00
upload-controller_test.go Improve readability of upload pod's creation code (#3151) 2024-03-27 02:43:29 +01:00
upload-controller.go Improve readability of upload pod's creation code (#3151) 2024-03-27 02:43:29 +01:00
util_test.go cleanup: Return modified labels added from termination message (#3147) 2024-03-27 07:33:28 +01:00
util.go cleanup: Return modified labels added from termination message (#3147) 2024-03-27 07:33:28 +01:00