Commit 1f66cfd
authored
refactor: rename llmProxy to aiProxy
across helm chart (#794)
* refactor: rename llmProxy to aiProxy
across helm chart
Complete rename of llmProxy/llmproxy to aiProxy/aiproxy for better
alignment with product naming conventions.
Changes:
- Renamed chart/templates/llmproxy/ directory to aiproxy/
- Updated 7 helper functions in _helpers.tpl
- Renamed llmProxy section to aiProxy in values.yaml
- Updated all 6 template files (deployment, service, configmap, etc.)
- Updated KOTS manifests (config, helm, app)
- Updated router, ai-api, and workspace-api configmaps
- Updated README.md parameter documentation
- Fixed all references including comments and descriptions
Breaking changes:
- Helm value section renamed: llmProxy -> aiProxy
- Database name parameter: llmProxyDatabaseName -> aiProxyDatabaseName
- Router env vars: enablellmProxyEndpoint -> enableAiProxyEndpoint
- Component labels: llmproxy -> aiproxy
Validation:
- helm lint passes without errors
- helm template renders successfully
- No remaining llmProxy references found
* fix(aiproxy): correct component label case in pod affinity rules
Change component labels from 'aiProxy' to 'aiproxy' (lowercase)
to match the app.kubernetes.io/component label used throughout
the deployment template.
This ensures pod affinity/anti-affinity rules correctly match
the aiproxy pods.
* fix(workspace-api): update template reference from llmProxy to aiProxy
Fix missed template rename in workspace-api configmap.
The WORKSPACE_LITELLM_BASE_URL was still referencing the old
'carto.llmProxy.fullname' template which no longer exists.
Updated to use 'carto.aiProxy.fullname' to match the rename
done in commit af50b3d.
Error: template: no template "carto.llmProxy.fullname" associated with template "gotpl"
* fix(kots): use lowercase 'aiproxy' for database name default
Change aiProxyDatabaseName default from 'aiProxy' (camelCase)
to 'aiproxy' (lowercase) to match:
- Helm chart default (values.yaml)
- Component labels
- Deployment/service names
This ensures consistency across all aiproxy resources.
* fix(docs): update aiProxy parameter descriptions to use correct component name
Updated all @param annotations in values.yaml for the aiProxy section to consistently refer to 'aiProxy' instead of incorrectly referencing 'ai-api'. This ensures the auto-generated README.md has accurate documentation following the llmProxy to aiProxy rename.
Changes:
- Updated 48 parameter descriptions in aiProxy section
- Fixed probe descriptions (liveness, readiness, startup)
- Fixed autoscaling, security context, and pod management descriptions
- Fixed service parameter descriptions
- Corrected section header from "ai-api Service Parameters" to "aiProxy Service Parameters"
- Fixed existingSecret description to correctly say "Secret" not "ConfigMap"
* feat(kots): add hidden enableAiProxyEndpoint parameter
Added enableAiProxyEndpoint as a hidden boolean parameter in kots-config.yaml. This parameter:
- Is hidden from the UI (hidden: true)
- Only active when aiFeaturesEnabled is "1"
- Defaults to "1" (enabled)
- Can be used in Helm templates via ConfigOption
This allows controlling the aiProxy endpoint feature without exposing it in the KOTS admin UI.
* Remove AI Proxy setting from kots1 parent dff8242 commit 1f66cfd
File tree
16 files changed
+385
-386
lines changed- chart
- templates
- ai-api
- aiproxy
- llmproxy
- router
- workspace-api
- manifests
16 files changed
+385
-386
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
900 | | - | |
| 900 | + | |
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
| |||
1394 | 1394 | | |
1395 | 1395 | | |
1396 | 1396 | | |
1397 | | - | |
| 1397 | + | |
1398 | 1398 | | |
1399 | | - | |
1400 | | - | |
| 1399 | + | |
| 1400 | + | |
1401 | 1401 | | |
1402 | 1402 | | |
1403 | | - | |
1404 | | - | |
| 1403 | + | |
| 1404 | + | |
1405 | 1405 | | |
1406 | | - | |
1407 | | - | |
| 1406 | + | |
| 1407 | + | |
1408 | 1408 | | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | | - | |
| 1411 | + | |
1412 | 1412 | | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
1416 | 1416 | | |
1417 | | - | |
| 1417 | + | |
1418 | 1418 | | |
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
1422 | | - | |
| 1422 | + | |
1423 | 1423 | | |
1424 | | - | |
1425 | | - | |
1426 | | - | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1427 | 1427 | | |
1428 | | - | |
| 1428 | + | |
1429 | 1429 | | |
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | | - | |
| 1433 | + | |
1434 | 1434 | | |
1435 | | - | |
| 1435 | + | |
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
| |||
1441 | 1441 | | |
1442 | 1442 | | |
1443 | 1443 | | |
1444 | | - | |
| 1444 | + | |
1445 | 1445 | | |
1446 | | - | |
| 1446 | + | |
1447 | 1447 | | |
1448 | 1448 | | |
1449 | 1449 | | |
1450 | 1450 | | |
1451 | | - | |
| 1451 | + | |
1452 | 1452 | | |
1453 | | - | |
| 1453 | + | |
1454 | 1454 | | |
1455 | 1455 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments