-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OCPBUGS-4704: Include already compliant polices for pre-caching (#401)
* Include already compliant polices for pre-caching * Fold long commands in kuttl yaml files * Add new lines at the end of the files * Remove unused bool arg * More clean up * Remove spaces in last line
- Loading branch information
Showing
27 changed files
with
1,937 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
deploy/acm/policies/all_policies/child-policy0-common-config-policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
apiVersion: policy.open-cluster-management.io/v1 | ||
kind: Policy | ||
metadata: | ||
annotations: | ||
policy.open-cluster-management.io/categories: CM Configuration Management | ||
policy.open-cluster-management.io/controls: CM-2 Baseline Configuration | ||
policy.open-cluster-management.io/standards: NIST SP 800-53 | ||
labels: | ||
policy.open-cluster-management.io/root-policy: policy1-common-cluster-version-policy | ||
name: default.policy0-common-config-policy | ||
# namespace: common-policies | ||
spec: | ||
disabled: false | ||
policy-templates: | ||
- objectDefinition: | ||
apiVersion: policy.open-cluster-management.io/v1 | ||
kind: ConfigurationPolicy | ||
metadata: | ||
name: common-config-policy-config | ||
spec: | ||
namespaceselector: | ||
exclude: | ||
- kube-* | ||
include: | ||
- '*' | ||
object-templates: | ||
- complianceType: musthave | ||
objectDefinition: | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: CatalogSource | ||
metadata: | ||
annotations: | ||
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' | ||
name: rh-du-operators | ||
namespace: openshift-marketplace | ||
spec: | ||
displayName: disconnected-redhat-operators | ||
image: e27-h01-000-r650.rdu2.scalelab.redhat.com:5000/olm-mirror/redhat-operator-index:v4.11 | ||
publisher: Red Hat | ||
sourceType: grpc | ||
status: | ||
connectionState: | ||
lastObservedState: READY | ||
remediationAction: inform | ||
severity: low | ||
remediationAction: inform |
43 changes: 43 additions & 0 deletions
43
deploy/acm/policies/all_policies/policy0-common-config-policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apiVersion: policy.open-cluster-management.io/v1 | ||
kind: Policy | ||
metadata: | ||
annotations: | ||
policy.open-cluster-management.io/categories: CM Configuration Management | ||
policy.open-cluster-management.io/controls: CM-2 Baseline Configuration | ||
policy.open-cluster-management.io/standards: NIST SP 800-53 | ||
name: policy0-common-config-policy | ||
spec: | ||
disabled: false | ||
policy-templates: | ||
- objectDefinition: | ||
apiVersion: policy.open-cluster-management.io/v1 | ||
kind: ConfigurationPolicy | ||
metadata: | ||
name: common-config-policy-config | ||
spec: | ||
namespaceselector: | ||
exclude: | ||
- kube-* | ||
include: | ||
- '*' | ||
object-templates: | ||
- complianceType: musthave | ||
objectDefinition: | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: CatalogSource | ||
metadata: | ||
annotations: | ||
target.workload.openshift.io/management: '{"effect": "PreferredDuringScheduling"}' | ||
name: rh-du-operators | ||
namespace: openshift-marketplace | ||
spec: | ||
displayName: disconnected-redhat-operators | ||
image: e27-h01-000-r650.rdu2.scalelab.redhat.com:5000/olm-mirror/redhat-operator-index:v4.11 | ||
publisher: Red Hat | ||
sourceType: grpc | ||
status: | ||
connectionState: | ||
lastObservedState: READY | ||
remediationAction: inform | ||
severity: low | ||
remediationAction: inform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.