1.6 KiB
1.6 KiB
| level |
|---|
| 2 |
Configuration
Configuration is based on a simple list of JSON objects.
```js {1-4}
[
{},
{}
]
```
```js {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
}
]
```