opea-project / GenAIInfra

Containerization and cloud native suite for OPEA
Apache License 2.0
30 stars 59 forks source link

update_manifests.sh generates wrong endpoint names #337

Closed eero-t closed 2 months ago

eero-t commented 2 months ago

This is for today's HEAD of GENAIInfra.

Use-case:

Expected outcome:

Actual outcome:

eero-t commented 2 months ago

This seems to be a bug in the script, not in the Helm charts?

When I generate manifests directly with helm template chatqna chatqna --skip-tests ... things match, both ENDPOINT variables and actual service names are prefixed with chatqna-.

lianhao commented 2 months ago

The generated manifest files from ./update_manifests.sh are for GMC USE ONLY. I wouldn't suggest to use them directly. If you want to deploy each component microservice separately, please use helm charts under helm-charts/common directly.

@eero-t you're absolutely right. The devil is in the ./update_manifests.sh. We'll discuss with GMC folks in next cycle to see if we can make the generated manifest files usable for other users

eero-t commented 2 months ago

I see. "Generate manifests from Helm Charts" section in the directory README only talks about looking into update_manifests.sh, not about using it... :-)

eero-t commented 2 months ago

Btw. the table in that README has has wrong link name ("Code generation") for chatqna.

yongfengdu commented 2 months ago

Fixes in README to avoid confusion

343