Skip to content

Commit a0313eb

Browse files
authored
Merge pull request #4528 from n1r1/ext-remediation-proposal-modifications
📖 Replace ExternalRemdiationTemplate with RemediationTemplate in MHC proposal
2 parents da0c45c + 962cab3 commit a0313eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/proposals/20191030-machine-health-checking.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ This is the default remediation strategy.
187187

188188
A generic mechanism for supporting externally provided custom remediation strategies.
189189

190-
We propose modifying the MachineHealthCheck CRD to support a externalRemediationTemplate, an ObjectReference to a provider-specific template CRD.
190+
We propose modifying the MachineHealthCheck CRD to support a remediationTemplate, an ObjectReference to a provider-specific template CRD.
191191

192-
If no value for externalRemediationTemplate is defined for the MachineHealthCheck CR, the condition-based flow is preserved.
192+
If no value for remediationTemplate is defined for the MachineHealthCheck CR, the condition-based flow is preserved.
193193

194-
If a value for externalRemediationTemplate is supplied and the Machine enters an unhealthy state, the template will be instantiated using existing CAPI functionality, with the same name and namespace as the target Machine, and the remediation flow passed to an External Remediation Controller (ERC) watching for that CR.
194+
If a value for remediationTemplate is supplied and the Machine enters an unhealthy state, the template will be instantiated using existing CAPI functionality, with the same name and namespace as the target Machine, and the remediation flow passed to an External Remediation Controller (ERC) watching for that CR.
195195

196196
No further action (deletion or applying conditions) will be taken by the MachineHealthCheck controller until the Node becomes healthy, when it will locate and delete the instantiated MachineRemediation CR.
197197

@@ -200,7 +200,7 @@ No further action (deletion or applying conditions) will be taken by the Machine
200200
...
201201

202202
// +optional
203-
ExternalRemediationTemplate *ObjectReference `json:"externalRemediationTemplate,omitempty"`
203+
RemediationTemplate *ObjectReference `json:"remediationTemplate,omitempty"`
204204
}
205205
```
206206

@@ -237,7 +237,7 @@ MachineHealthCheck:
237237
selector:
238238
matchLabels:
239239
...
240-
externalRemediationTemplate:
240+
remediationTemplate:
241241
kind: Metal3RemediationTemplate
242242
apiVersion: remediation.metal3.io/v1alphaX
243243
name: M3_REMEDIATION_GROUP

0 commit comments

Comments
 (0)