containerized-data-importer/pkg/operator/controller
Oren Cohen 14ad5454d6
Fix 'ocp4-moderate-routes-protected-by-tls' Compliance failure (#2374)
According to:
https://github.com/ComplianceAsCode/content/blob/master/applications/openshift/networking/routes_protected_by_tls/rule.yml
The ocp4-moderate profile of the compliance operator expects that all Routes on the cluster should have either None or Redirect setting under their .spec.tls.insecureEdgeTerminationPolicy
We chose Redirect, to be aligned with all other default routes on an OCP cluster, and not to fail HTTP requests but redirect them to HTTPS requests.
This PR adds the expected field to the cdi-uploadproxy route deployed by CDI.

https://bugzilla.redhat.com/show_bug.cgi?id=2110562
Signed-off-by: Oren Cohen <ocohen@redhat.com>
2022-07-28 04:19:13 +02:00
..
BUILD.bazel Expose all CDI CRDs to cluster-readers (#2245) 2022-04-25 14:27:34 +02:00
callbacks.go Get rid of DataImportCron finalizer (#2144) 2022-02-12 05:56:08 +01:00
certrotation_test.go update deps and bazel (#1815) 2021-06-08 01:31:59 +02:00
certrotation.go 23 libs (#2077) 2022-01-07 16:56:25 +01:00
controller_suite_test.go 23 libs (#2077) 2022-01-07 16:56:25 +01:00
controller_test.go Revert infra_label for CDI alerts (#2342) 2022-07-06 22:28:23 +02:00
controller.go Gather all metrics info in a single location (#2231) 2022-04-13 01:46:19 +02:00
cr-manager.go Separate sdk api (#2208) 2022-03-31 21:31:18 +02:00
cruft.go Update relationship labels on missed ConfigMap (#2082) 2022-01-10 21:48:37 +01:00
handler.go Move apis to staging, push to containerized-data-importer-api (#1997) 2021-10-28 13:40:24 +02:00
prometheus.go Revert infra_label for CDI alerts (#2342) 2022-07-06 22:28:23 +02:00
reconciler-hooks.go Don't manage certs if CDI being deleted (#2334) 2022-06-23 20:43:22 +02:00
route.go Fix 'ocp4-moderate-routes-protected-by-tls' Compliance failure (#2374) 2022-07-28 04:19:13 +02:00
scc.go 23 libs (#2077) 2022-01-07 16:56:25 +01:00