Skip to content

Commit

Permalink
Merge pull request #217 from ComplianceAsCode/release-v0.1.61
Browse files Browse the repository at this point in the history
Release v0.1.61
  • Loading branch information
openshift-merge-robot authored Feb 9, 2023
2 parents 842d3de + f7c096a commit 6491b8b
Show file tree
Hide file tree
Showing 28 changed files with 61 additions and 42 deletions.
30 changes: 18 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).

### Fixes

- On re-running scans, remediations that were previously Applied might
have been marked as Outdated after a re-run finished
despite no changes in the actual remediation content because of
a buggy comparison that did not take into account trivial differences
in remediation metadata (tracked with [OCPBUGS-6710](https://issues.redhat.com/browse/OCPBUGS-6710))

- Fixed a [regression](https://issues.redhat.com/browse/OCPBUGS-6827) where
attempting to create a `ScanSettingBinding` that was using a `TailoredProfile`
that was in turn using a non-default `MachineConfigPool` would mark
the `ScanSettingBinding` as failed. Note that this bug was only affecting
setups where the TailoredProfile wasn't annotated with
`compliance.openshift.io/product-type`.
-

### Internal Changes

Expand All @@ -43,6 +32,23 @@ Versioning](https://semver.org/spec/v2.0.0.html).
-


## [0.1.61] - 2023-02-08

### Fixes

- On re-running scans, remediations that were previously Applied might
have been marked as Outdated after a re-run finished
despite no changes in the actual remediation content because of
a buggy comparison that did not take into account trivial differences
in remediation metadata (tracked with [OCPBUGS-6710](https://issues.redhat.com/browse/OCPBUGS-6710))

- Fixed a [regression](https://issues.redhat.com/browse/OCPBUGS-6827) where
attempting to create a `ScanSettingBinding` that was using a `TailoredProfile`
that was in turn using a non-default `MachineConfigPool` would mark
the `ScanSettingBinding` as failed. Note that this bug was only affecting
setups where the TailoredProfile wasn't annotated with
`compliance.openshift.io/product-type`.

## [0.1.60] - 2023-01-23

### Enhancements
Expand Down
19 changes: 16 additions & 3 deletions bundle/manifests/compliance-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ metadata:
]
capabilities: Seamless Upgrades
categories: Monitoring,Security
olm.skipRange: '>=0.1.17 <0.1.60'
olm.skipRange: '>=0.1.17 <0.1.61'
operatorframework.io/cluster-monitoring: "true"
operatorframework.io/suggested-namespace: openshift-compliance
operators.openshift.io/infrastructure-features: '["disconnected", "fips", "proxy-aware"]'
Expand All @@ -174,7 +174,7 @@ metadata:
operatorframework.io/arch.amd64: supported
operatorframework.io/arch.ppc64le: supported
operatorframework.io/arch.s390x: supported
name: compliance-operator.v0.1.60
name: compliance-operator.v0.1.61
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -1108,13 +1108,26 @@ spec:
- get
- list
- watch
- apiGroups:
- template.openshift.io
resources:
- templates
verbs:
- get
- list
- watch
- update
- patch
- create
- delete
- apiGroups:
- config.openshift.io
resourceNames:
- cluster
resources:
- apiservers
- oauths
- projects
verbs:
- get
- list
Expand Down Expand Up @@ -1605,4 +1618,4 @@ spec:
name: operator
- image: ghcr.io/complianceascode/k8scontent:latest
name: profile
version: 0.1.60
version: 0.1.61
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: compliancecheckresults.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: complianceremediations.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: compliancescans.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: compliancesuites.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: profilebundles.compliance.openshift.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/compliance.openshift.io_profiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: profiles.compliance.openshift.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/compliance.openshift.io_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: rules.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: scansettingbindings.compliance.openshift.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/compliance.openshift.io_scansettings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: scansettings.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: tailoredprofiles.compliance.openshift.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion bundle/manifests/compliance.openshift.io_variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: variables.compliance.openshift.io
spec:
Expand Down
4 changes: 2 additions & 2 deletions catalog/preamble.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"package": "compliance-operator",
"entries": [
{
"name": "compliance-operator.v0.1.60",
"skipRange": ">=0.1.17 <0.1.60"
"name": "compliance-operator.v0.1.61",
"skipRange": ">=0.1.17 <0.1.61"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: compliancecheckresults.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: complianceremediations.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: compliancescans.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: compliancesuites.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: profilebundles.compliance.openshift.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/compliance.openshift.io_profiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: profiles.compliance.openshift.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/compliance.openshift.io_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: rules.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: scansettingbindings.compliance.openshift.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/compliance.openshift.io_scansettings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: scansettings.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: tailoredprofiles.compliance.openshift.io
spec:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/compliance.openshift.io_variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
controller-gen.kubebuilder.io/version: v0.11.3
creationTimestamp: null
name: variables.compliance.openshift.io
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ metadata:
]
capabilities: Seamless Upgrades
categories: Monitoring,Security
olm.skipRange: '>=0.1.17 <0.1.60'
olm.skipRange: '>=0.1.17 <0.1.61'
operatorframework.io/cluster-monitoring: "true"
operatorframework.io/suggested-namespace: openshift-compliance
operators.openshift.io/infrastructure-features: '["disconnected", "fips", "proxy-aware"]'
Expand Down
2 changes: 1 addition & 1 deletion version.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)

VERSION?=0.1.60
VERSION?=0.1.61
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package version

var (
Version = "0.1.60"
Version = "0.1.61"
)

0 comments on commit 6491b8b

Please sign in to comment.