64 lines
1,010 B
Markdown
64 lines
1,010 B
Markdown
---
|
|
level: 2
|
|
---
|
|
|
|
# Configuration
|
|
|
|
Configuration is based on a list of simple JSON objects.
|
|
|
|
````md magic-move {lines: true}
|
|
```js {1,12|2-10}
|
|
[
|
|
{
|
|
"name": "...",
|
|
"function": "...",
|
|
"params": [
|
|
"..."
|
|
],
|
|
"retryCount": int,
|
|
"shouldAbort": true|false
|
|
},
|
|
{}
|
|
]
|
|
```
|
|
|
|
```js {2-10}
|
|
[
|
|
{
|
|
"name": "ensure infctl namespace exists",
|
|
"function": "k8sNamespaceExists",
|
|
"params": [
|
|
"infctl"
|
|
],
|
|
"retryCount": 0,
|
|
"shouldAbort": true
|
|
},
|
|
{}
|
|
]
|
|
|
|
```
|
|
|
|
```js
|
|
[
|
|
{
|
|
"name": "ensure infctl namespace exists",
|
|
"function": "k8sNamespaceExists",
|
|
"params": [
|
|
"infctl"
|
|
],
|
|
"retryCount": 0,
|
|
"shouldAbort": true
|
|
},
|
|
{
|
|
"name": "check operator"",
|
|
"function": "RunCommand",
|
|
"params": [
|
|
"./scripts/check__operator.sh"
|
|
],
|
|
"retryCount": 5,
|
|
"shouldAbort": true
|
|
}
|
|
]
|
|
```
|
|
|
|
````
|