Skip to content

Commit cd281bc

Browse files
authored
Update safe-upgrade-practices.md
1 parent 26b9659 commit cd281bc

File tree

1 file changed

+52
-4
lines changed

1 file changed

+52
-4
lines changed

articles/operator-service-manager/safe-upgrade-practices.md

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,19 +241,59 @@ To enable the SkipUpgrade feature via `roleOverrideValues`, refer to the followi
241241

242242

243243
## Complete roleOverrideValues option reference
244-
Bringing together all prior examples in this article, as well as examples in other articles, the below reference provides all presently supported install and upgrade options which can be set through the `roleOverrideValues` mechanism.
244+
Bringing together all prior examples in this article, as well as examples in other articles, the below reference provides all presently supported install and upgrade options which can be set through the `roleOverrideValues` mechanism. This example includes setting the `nfConfiguration` level options, and then options for `nfApplication1` and `nfApplication2`
245245

246246
```json
247247
{
248248
"roleOverrideValues": [
249+
{
250+
"nfConfiguration": {
251+
"rollbackEnabled": "true"
252+
}
253+
},
249254
{
250255
"name": "nfApplication1",
251256
"deployParametersMappingRuleProfile": {
252257
"helmMappingRuleProfile": {
253258
"options": {
254-
"nfConfiguration": {
255-
"rollbackEnabled": "true"
259+
"installOptions": {
260+
"atomic": "true",
261+
"wait": "true",
262+
"timeout": "1",
263+
"testOptions": {
264+
"enable": "true",
265+
"timeout": "true",
266+
"rollbackOnTestFailure": "true",
267+
"filter": [
268+
"test1",
269+
"test2"
270+
]
271+
}
256272
},
273+
"upgradeOptions": {
274+
"atomic": "true",
275+
"wait": "true",
276+
"timeout": "1",
277+
"skipUpgrade": "true",
278+
"testOptions": {
279+
"enable": "true",
280+
"timeout": "true",
281+
"rollbackOnTestFailure": "true",
282+
"filter": [
283+
"test1",
284+
"test2"
285+
]
286+
}
287+
}
288+
}
289+
}
290+
}
291+
},
292+
{
293+
"name": "nfApplication2",
294+
"deployParametersMappingRuleProfile": {
295+
"helmMappingRuleProfile": {
296+
"options": {
257297
"installOptions": {
258298
"atomic": "true",
259299
"wait": "true",
@@ -280,5 +320,13 @@ Bringing together all prior examples in this article, as well as examples in oth
280320
"filter": [
281321
"test1",
282322
"test2"
283-
] } } } } } } ] }
323+
]
324+
}
325+
}
326+
}
327+
}
328+
}
329+
}
330+
]
331+
}
284332
```

0 commit comments

Comments
 (0)