Uploaded image for project: 'Cloud Infrastructure Security & Compliance'
  1. Cloud Infrastructure Security & Compliance
  2. CMP-2310

Clean up CronJob compatibility code

XMLWordPrintable

    • 3
    • False
    • None
    • False
    • CMP Sprint 73, CMP Sprint 74, CMP Sprint 75

      The Compliance Operator uses CronJobs to implement scan schedules.

      The CronJob kubernetes API graduated from beta to stable, with the beta version no longer being supported in upstream Kubernetes, or OpenShift distributions.

      This means we can clean up compatibility code needed to ensure the Compliance Operator worked on versions of OpenShift that had either the beta, or stable, CronJob APIs.

      The compatibility code was implemented in https://github.com/ComplianceAsCode/compliance-operator/commit/e16c78f711c59ba3259128befe1afb46a3161a6d and can be safely removed now that OpenShift no longer supports a version of kubernetes that ships a beta CronJob API.

            lbragsta@redhat.com Lance Bragstad
            lbragsta@redhat.com Lance Bragstad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: