-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmachine-config-pools.yaml
41 lines (41 loc) · 1.17 KB
/
machine-config-pools.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
40
41
---
apiVersion: ran.openshift.io/v1
kind: PolicyGenTemplate
metadata:
name: "mcp-4.12"
namespace: "ztp-common"
spec:
bindingRules:
config-version: 4.12
remediationAction: inform
sourceFiles:
- fileName: MachineConfigPool.yaml
policyName: "mcp-policy"
metadata:
annotations:
ran.openshift.io/ztp-deploy-wave: "5"
labels:
machineconfiguration.openshift.io/role: ht
name: ht
spec:
machineConfigSelector:
matchExpressions:
- {key: machineconfiguration.openshift.io/role, operator: In, values: [worker,ht]}
nodeSelector:
matchLabels:
node-role.kubernetes.io/ht: ""
- fileName: MachineConfigPool.yaml
policyName: "mcp-policy"
metadata:
annotations:
ran.openshift.io/ztp-deploy-wave: "5"
labels:
machineconfiguration.openshift.io/role: std
name: std
spec:
machineConfigSelector:
matchExpressions:
- {key: machineconfiguration.openshift.io/role, operator: In, values: [worker,std]}
nodeSelector:
matchLabels:
node-role.kubernetes.io/std: ""