226 lines
4.3 KiB
JSON
226 lines
4.3 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"nameOverride": {
|
|
"type": "string"
|
|
},
|
|
"fullnameOverride": {
|
|
"type": "string"
|
|
},
|
|
"commonLabels": {
|
|
"$ref": "#/definitions/StringMap"
|
|
},
|
|
"commonAnnotations": {
|
|
"$ref": "#/definitions/StringMap"
|
|
},
|
|
"imagePullSecrets": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"image": {
|
|
"$ref": "#/definitions/Image"
|
|
},
|
|
"podAnnotations": {
|
|
"$ref": "#/definitions/StringMap"
|
|
},
|
|
"podLabels": {
|
|
"$ref": "#/definitions/StringMap"
|
|
},
|
|
"resources": {
|
|
"type": "object"
|
|
},
|
|
"nodeSelector": {
|
|
"$ref": "#/definitions/StringMap"
|
|
},
|
|
"affinity": {
|
|
"type": "object"
|
|
},
|
|
"rbac": {
|
|
"type": "object",
|
|
"properties": {
|
|
"create": {
|
|
"type": "boolean"
|
|
},
|
|
"createSCCRole": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"create",
|
|
"createSCCRole"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"privileged": {
|
|
"type": "boolean"
|
|
},
|
|
"serviceAccount": {
|
|
"type": "object",
|
|
"properties": {
|
|
"create": {
|
|
"type": "boolean"
|
|
},
|
|
"annotations": {
|
|
"$ref": "#/definitions/StringMap"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"annotations",
|
|
"create",
|
|
"name"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"multusNetworkAttachmentDefinition": {
|
|
"type": "object",
|
|
"properties": {
|
|
"create": {
|
|
"type": "boolean"
|
|
},
|
|
"namespace": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"create",
|
|
"namespace"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"config": {
|
|
"type": "object",
|
|
"properties": {
|
|
"installMode": {
|
|
"type": "string",
|
|
"enum": [
|
|
"chained",
|
|
"standalone",
|
|
"manual"
|
|
]
|
|
},
|
|
"logLevel": {
|
|
"type": "string",
|
|
"enum": [
|
|
"debug",
|
|
"info",
|
|
"warn",
|
|
"error"
|
|
]
|
|
},
|
|
"cniNetDir": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"cniBinDir": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"excludeNamespaces": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"cniBinDir",
|
|
"cniNetDir",
|
|
"excludeNamespaces",
|
|
"installMode",
|
|
"logLevel"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"tests": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"enabled"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"global": {
|
|
"type": "object"
|
|
}
|
|
},
|
|
"required": [
|
|
"affinity",
|
|
"commonAnnotations",
|
|
"commonLabels",
|
|
"config",
|
|
"fullnameOverride",
|
|
"image",
|
|
"imagePullSecrets",
|
|
"multusNetworkAttachmentDefinition",
|
|
"nameOverride",
|
|
"nodeSelector",
|
|
"podAnnotations",
|
|
"podLabels",
|
|
"privileged",
|
|
"rbac",
|
|
"resources",
|
|
"serviceAccount",
|
|
"tests"
|
|
],
|
|
"additionalProperties": false,
|
|
"definitions": {
|
|
"StringMap": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"Image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"repository": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"tag": {
|
|
"type": "string"
|
|
},
|
|
"digest": {
|
|
"type": "string",
|
|
"pattern": "^$|^sha256:[a-f0-9]{64}$"
|
|
},
|
|
"pullPolicy": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Always",
|
|
"IfNotPresent",
|
|
"Never"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"digest",
|
|
"pullPolicy",
|
|
"repository",
|
|
"tag"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
}
|