211 lines
4.1 KiB
JSON
211 lines
4.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"global": {
|
|
"type": "object"
|
|
},
|
|
"affinity": {
|
|
"type": "object"
|
|
},
|
|
"securityContext": {
|
|
"type": ["object", "null"]
|
|
},
|
|
"containerSecurityContext": {
|
|
"type": ["object", "null"]
|
|
},
|
|
"kind":{
|
|
"type": "string",
|
|
"enum": ["Deployment", "DaemonSet"]
|
|
},
|
|
"annotations": {
|
|
"additionalProperties": {
|
|
"type": [
|
|
"string",
|
|
"integer"
|
|
]
|
|
},
|
|
"type": "object"
|
|
},
|
|
"autoscaling": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"maxReplicas": {
|
|
"type": "integer"
|
|
},
|
|
"minReplicas": {
|
|
"type": "integer"
|
|
},
|
|
"targetCPUUtilizationPercentage": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"env": {
|
|
"type": "object"
|
|
},
|
|
"labels": {
|
|
"type": "object"
|
|
},
|
|
"volumes": {
|
|
"type": "array"
|
|
},
|
|
"volumeMounts": {
|
|
"type": "array"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"nodeSelector": {
|
|
"type": "object"
|
|
},
|
|
"podAnnotations": {
|
|
"type": "object",
|
|
"properties": {
|
|
"inject.istio.io/templates": {
|
|
"type": "string"
|
|
},
|
|
"prometheus.io/path": {
|
|
"type": "string"
|
|
},
|
|
"prometheus.io/port": {
|
|
"type": "string"
|
|
},
|
|
"prometheus.io/scrape": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"replicaCount": {
|
|
"type": "integer"
|
|
},
|
|
"resources": {
|
|
"type": "object",
|
|
"properties": {
|
|
"limits": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cpu": {
|
|
"type": "string"
|
|
},
|
|
"memory": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"requests": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cpu": {
|
|
"type": "string"
|
|
},
|
|
"memory": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"revision": {
|
|
"type": "string"
|
|
},
|
|
"runAsRoot": {
|
|
"type": "boolean"
|
|
},
|
|
"unprivilegedPort": {
|
|
"type": ["string", "boolean"],
|
|
"enum": [true, false, "auto"]
|
|
},
|
|
"service": {
|
|
"type": "object",
|
|
"properties": {
|
|
"annotations": {
|
|
"type": "object"
|
|
},
|
|
"externalTrafficPolicy": {
|
|
"type": "string"
|
|
},
|
|
"loadBalancerIP": {
|
|
"type": "string"
|
|
},
|
|
"loadBalancerSourceRanges": {
|
|
"type": "array"
|
|
},
|
|
"ports": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"port": {
|
|
"type": "integer"
|
|
},
|
|
"protocol": {
|
|
"type": "string"
|
|
},
|
|
"targetPort": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"serviceAccount": {
|
|
"type": "object",
|
|
"properties": {
|
|
"annotations": {
|
|
"type": "object"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"create": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"rbac": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"tolerations": {
|
|
"type": "array"
|
|
},
|
|
"topologySpreadConstraints": {
|
|
"type": "array"
|
|
},
|
|
"networkGateway": {
|
|
"type": "string"
|
|
},
|
|
"imagePullPolicy": {
|
|
"type": "string",
|
|
"enum": ["", "Always", "IfNotPresent", "Never"]
|
|
},
|
|
"imagePullSecrets": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|