119 lines
2.4 KiB
JSON
119 lines
2.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Open WebUI Helm Chart Values Schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"repository": {
|
|
"type": "string",
|
|
"default": "ghcr.io/open-webui/open-webui"
|
|
},
|
|
"tag": {
|
|
"type": "string",
|
|
"default": "main"
|
|
},
|
|
"pullPolicy": {
|
|
"type": "string",
|
|
"enum": ["Always", "IfNotPresent", "Never"],
|
|
"default": "IfNotPresent"
|
|
}
|
|
}
|
|
},
|
|
"openaiBaseApiUrl": {
|
|
"type": "string",
|
|
"default": "https://api.openai.com/v1"
|
|
},
|
|
"replicaCount": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"default": 1
|
|
},
|
|
"service": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["ClusterIP", "NodePort", "LoadBalancer", "ExternalName"],
|
|
"default": "LoadBalancer"
|
|
},
|
|
"port": {
|
|
"type": "integer",
|
|
"default": 80
|
|
},
|
|
"containerPort": {
|
|
"type": "integer",
|
|
"default": 8080
|
|
}
|
|
}
|
|
},
|
|
"persistence": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"size": {
|
|
"type": "string",
|
|
"default": "2Gi"
|
|
},
|
|
"storageClass": {
|
|
"type": "string",
|
|
"default": ""
|
|
}
|
|
}
|
|
},
|
|
"ingress": {
|
|
"type": "object",
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"host": {
|
|
"type": "string",
|
|
"default": "chat.example.com"
|
|
},
|
|
"annotations": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"default": {}
|
|
}
|
|
}
|
|
},
|
|
"extraEnvVars": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
},
|
|
"valueFrom": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"default": []
|
|
},
|
|
"resources": {
|
|
"type": "object",
|
|
"default": {}
|
|
},
|
|
"ollamaUrls": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"default": []
|
|
}
|
|
}
|
|
}
|