|
| 1 | +apiVersion: apps.open-cluster-management.io/v1 |
| 2 | +kind: PlacementRule |
| 3 | +metadata: |
| 4 | + name: placement-transformed-policy |
| 5 | + namespace: default |
| 6 | +spec: |
| 7 | + clusterSelector: |
| 8 | + matchExpressions: [] |
| 9 | +--- |
| 10 | +apiVersion: policy.open-cluster-management.io/v1 |
| 11 | +kind: PlacementBinding |
| 12 | +metadata: |
| 13 | + name: binding-transformed-policy |
| 14 | + namespace: default |
| 15 | +placementRef: |
| 16 | + apiGroup: apps.open-cluster-management.io |
| 17 | + kind: PlacementRule |
| 18 | + name: placement-transformed-policy |
| 19 | +subjects: |
| 20 | +- apiGroup: policy.open-cluster-management.io |
| 21 | + kind: Policy |
| 22 | + name: transformed-policy |
| 23 | +--- |
| 24 | +apiVersion: policy.open-cluster-management.io/v1 |
| 25 | +kind: Policy |
| 26 | +metadata: |
| 27 | + annotations: |
| 28 | + policy.open-cluster-management.io/categories: CM Configuration Management |
| 29 | + policy.open-cluster-management.io/controls: CM-2 Baseline Configuration |
| 30 | + policy.open-cluster-management.io/standards: NIST SP 800-53 |
| 31 | + name: transformed-policy |
| 32 | + namespace: default |
| 33 | +spec: |
| 34 | + disabled: false |
| 35 | + policy-templates: |
| 36 | + - objectDefinition: |
| 37 | + apiVersion: policy.open-cluster-management.io/v1 |
| 38 | + kind: ConfigurationPolicy |
| 39 | + metadata: |
| 40 | + name: transformed-policy |
| 41 | + spec: |
| 42 | + evaluationInterval: |
| 43 | + compliant: 30m |
| 44 | + noncompliant: 45s |
| 45 | + object-templates: |
| 46 | + - complianceType: musthave |
| 47 | + objectDefinition: |
| 48 | + apiVersion: v1 |
| 49 | + kind: Namespace |
| 50 | + metadata: |
| 51 | + annotations: {} |
| 52 | + labels: |
| 53 | + openshift.io/cluster-monitoring: "true" |
| 54 | + name: open-cluster-management |
| 55 | + remediationAction: inform |
| 56 | + severity: low |
| 57 | + - objectDefinition: |
| 58 | + apiVersion: policy.open-cluster-management.io/v1 |
| 59 | + kind: ConfigurationPolicy |
| 60 | + metadata: |
| 61 | + name: transformed-policy2 |
| 62 | + spec: |
| 63 | + evaluationInterval: |
| 64 | + compliant: 30m |
| 65 | + noncompliant: 45s |
| 66 | + object-templates: |
| 67 | + - complianceType: musthave |
| 68 | + objectDefinition: |
| 69 | + apiVersion: operators.coreos.com/v1 |
| 70 | + kind: OperatorGroup |
| 71 | + metadata: |
| 72 | + annotations: {} |
| 73 | + name: open-cluster-management |
| 74 | + namespace: open-cluster-management |
| 75 | + spec: |
| 76 | + targetNamespaces: |
| 77 | + - open-cluster-management |
| 78 | + remediationAction: inform |
| 79 | + severity: low |
| 80 | + - objectDefinition: |
| 81 | + apiVersion: policy.open-cluster-management.io/v1 |
| 82 | + kind: ConfigurationPolicy |
| 83 | + metadata: |
| 84 | + name: transformed-policy3 |
| 85 | + spec: |
| 86 | + evaluationInterval: |
| 87 | + compliant: 30m |
| 88 | + noncompliant: 45s |
| 89 | + object-templates: |
| 90 | + - complianceType: musthave |
| 91 | + objectDefinition: |
| 92 | + apiVersion: operators.coreos.com/v1alpha1 |
| 93 | + kind: Subscription |
| 94 | + metadata: |
| 95 | + annotations: {} |
| 96 | + name: advanced-cluster-management |
| 97 | + namespace: open-cluster-management |
| 98 | + spec: |
| 99 | + channel: release-2.5 |
| 100 | + installPlanApproval: Automatic |
| 101 | + name: advanced-cluster-management |
| 102 | + source: redhat-operators |
| 103 | + sourceNamespace: openshift-marketplace |
| 104 | + remediationAction: inform |
| 105 | + severity: low |
0 commit comments