-
Notifications
You must be signed in to change notification settings - Fork 26
/
policy1-soak.yaml
39 lines (39 loc) · 1.22 KB
/
policy1-soak.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
ran.openshift.io/soak-seconds: "5"
name: policy1-common-cluster-version-policy
spec:
disabled: false
policy-templates:
- objectDefinition:
apiVersion: policy.open-cluster-management.io/v1
kind: ConfigurationPolicy
metadata:
name: common-cluster-version-policy-config
spec:
namespaceselector:
exclude:
- kube-*
include:
- '*'
object-templates:
- complianceType: musthave
objectDefinition:
apiVersion: config.openshift.io/v1
kind: ClusterVersion
metadata:
name: PlatformUpgrade
spec:
channel: "stable-4.9"
desiredUpdate:
force: false
version: 4.9.8
upstream: https://api.openshift.com/api/upgrades_info/v1/graph
remediationAction: inform
severity: low
remediationAction: inform