Skip to content

Release v0.1.50 - #5

Closed
Vincent056 wants to merge 15 commits into
masterfrom
release-v0.1.50
Closed

Release v0.1.50#5
Vincent056 wants to merge 15 commits into
masterfrom
release-v0.1.50

Conversation

@Vincent056

Copy link
Copy Markdown

No description provided.

rhmdnd and others added 15 commits April 27, 2022 16:57
We recently broke apart the release process, but we forgot to add the
conversion of the release version to the tag in the last two steps.

This commit adds that step to the last two parts of the release process
so it doesn't fail or assume 'latest' for the release version.
We are going to have a new rule to check if cluster logging operator has been installed, that requires api-resource-collector to have additional permission to read clusterloggings resources.[1] PR to the new rule: ComplianceAsCode/content#8511
The CIS benchmarks recommends using a CNI that supports network
policies. Previously, this was a manual check in the profile, but it's
actually something we can check by querying the K8S operator API.

This commit adds the network resource to the operator.openshift.io API
group so that the api-resource container can fetch that resource. This
change is required to automate this check and used in:

  ComplianceAsCode/content#8524

Partial-Fix: https://bugzilla.redhat.com/show_bug.cgi?id=2072431
…r is installed

Added permission for `api-resource-collector` to fetch network resources for the `gitopsservices.pipelines.openshift.io` API group, so that we can if the cluster is using GitOps operator
Added node resource to the list of resources we always fetch so that arch CPEs will
  be evaluated appropriately.
Let's rebase this dep to the new release which fixes important bugs.

Jira: OCPBUGSM-42329
Jira: OCPBUGSM-42368
We have a check that makes sure that even an INFO-level check generates
a remediation. However, the only INFO-level check that is available in
the content is x86-specific.

This patch makes that test only run on x86 as well.
No functional fixes.
…images

We recently started updating the compliance content and publishing it in
a different repository. The previous home for the content hadn't been
updated and contained stale container image builds, causing CI failures.

  https://quay.io/repository/compliance-operator/compliance-operator-content
Fix issues of unpausing machine config pool too soon after applying remediations,
added a check to check if kubeletconfig has been fully rendered into machine config
before unpause affected pool. [1]
([1]https://bugzilla.redhat.com/show_bug.cgi?id=2071854).
Fix compliance operator crashloop issue when there is MachineConfigPool that does not have NodeSelector, this pr will check if there is NodeSelector in a MachineConfigPool before comparing the match.
This also highlights the environment variables we rely on for content
images and where to find the Dockerfiles for them.
We didn't delete scan pods and the aggregator after a scan was done
unless the delete was forced by the scan object being deleted. This
appears to be breaking the cluster-autoscaler which can't drain pods
from nodes that are not backed by a replicating controller.

Since there appears to be no reason to keep the pods around unless the
debug=true option is set, let's remove those pods when the scan reaches
done and only keep the other resources around that are needed for
eventually re-running the scan.

Jira: OCPBUGSM-43262
@openshift-ci

openshift-ci Bot commented Apr 28, 2022

Copy link
Copy Markdown

@Vincent056: PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci
openshift-ci Bot requested review from jhrozek and mrogers950 April 28, 2022 00:17
@openshift-ci

openshift-ci Bot commented Apr 28, 2022

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Vincent056

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants