compliance-operator
compliance-operator copied to clipboard
Operator providing Kubernetes cluster compliance checks
Tailored Profiles allow users to include or exclude rules and build their own custom profiles (to some extent). It's also possible to create a Tailored Profile without extending any existing...
This error cropped up in a recent e2e test run, but it's unrelated to the dependency bump. ``` process_virtual_memory_bytes 1.5739904e+09 # HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in...
Currently, there is a number of certificates generated for a compliance scan, which have 1 day validity. After the scan is done, the certificate secrets are left and only deleted/replaced...
Recently, we've been seeing e2e failures that look like: ``` helpers.go:1140: 2023-03-10T16:16:17Z: All machines updated helpers.go:180: 2023-03-10T16:16:17Z: Removing pool e2e helpers.go:191: 2023-03-10T16:16:17Z: Removing pool e2e-invalid helpers.go:194: E2E-FAILURE: 2023-03-10T16:16:17Z: Could not...
If you run the end-to-end tests, you can see a warning about the security privileges for the `metrics-test` container, which a couple of the tests use to fetch metrics before...
We've noticed failures in CI after upgrading to 4.12 clusters for testing, see https://github.com/openshift/release/pull/33214: ``` TestE2E/Parallel_tests/TestCheckDefaultKubeletConfig helpers.go:298: expecting COMPLIANT got NOT-APPLICABLE ``` Test output: ```--- FAIL: TestE2E (3192.05s) --- FAIL:...
The `must-gather` target expects to call `must-gather-push`, but that target doesn't exist, resulting in the following error: ``` $ make must-gather podman build -t quay.io/compliance-operator/must-gather:latest -f images/must-gather/Dockerfile . STEP 1/4:...
This was seen in the wild once (https://github.com/ComplianceAsCode/compliance-operator/pull/148). ``` helpers.go:555: 2022-09-27T16:37:31Z: ComplianceScan ready (DONE) helpers.go:766: 2022-09-27T16:37:31Z: All scans in ComplianceSuite have finished (test-suite-two-scans-with-platform-2) === RUN TestE2E/Serial_tests/TestUpdateRemediation === CONT TestE2E helpers.go:1560:...
`docker run --platform darwin/amd64 --rm -v ~/.local/bin:/mnt/out:Z registry.redhat.io/compliance/oc-compliance-rhel8 /bin/cp /usr/bin/oc-compliance /mnt/out/` ```shell Unable to find image 'registry.redhat.io/compliance/oc-compliance-rhel8:latest' locally latest: Pulling from compliance/oc-compliance-rhel8 docker: no matching manifest for darwin/amd64 in the...
While debugging #60, I deleted the generated kubelet MachineConfig object. This caused a panic in Compliance Operator. https://github.com/ComplianceAsCode/compliance-operator/blob/1de5fdbda560164df5927bd55c31d6998f741a02/pkg/utils/nodeutils.go#L190-L192 ``` {"level":"info","ts":1657049016.1875877,"logger":"suitectrl","msg":"Generating events for suite","Request.Namespace":"openshift-compliance","Request.Name":"rhcos4"} {"level":"info","ts":1657049016.2087462,"logger":"suitectrl","msg":"All scans are in Done phase. Post-processing...