-
Notifications
You must be signed in to change notification settings - Fork 56
chore: update template & general improvement #633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
andyne13
merged 39 commits into
linagora:develop
from
ThibautChoppy:feat/helm-improvement
Jul 30, 2026
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
0167337
fix: source filtering stream error
ThibautChoppy 9143e70
chore: add TEI class for reranker
ThibautChoppy 2fd93ba
fix: unit test for router
ThibautChoppy 70e45e1
fix: image repo in upper & dockerhub push
ThibautChoppy 521a2aa
chore: add refacto for helm chart
ThibautChoppy 213d863
fix: general improvement & lot of bug fixed
ThibautChoppy 8ea54b6
fix: template error & add ray dash port to np
ThibautChoppy f56dac7
fix: ingress simplify & use explicit port name
ThibautChoppy 78864cf
fix: revert past error
ThibautChoppy 4215de7
fix: file permission in admin-ui image
ThibautChoppy 0f1496d
Merge remote-tracking branch 'upstream/refactor/hexagonal' into refac…
ThibautChoppy cef331d
fix: file permission in admin-ui image
ThibautChoppy 20be538
fix: template error for sa
ThibautChoppy 9561b30
fix: value file
ThibautChoppy aa616f3
fix: port name referencement
ThibautChoppy a191dea
Merge branch 'refactor/hexagonal' into feat/helm-improvement
ThibautChoppy 6be6cb5
Merge remote-tracking branch 'upstream/refactor/hexagonal' into refac…
ThibautChoppy 982c22d
Merge branch 'refactor/hexagonal' into feat/helm-improvement
ThibautChoppy 54f8f0f
fix: revert build_rc
ThibautChoppy ea9afd3
chore: fix posix compatible
ThibautChoppy 80aa44d
fix: all github PR comments
ThibautChoppy b71c78b
Merge branch 'develop' into feat/helm-improvement
andyne13 fe915cf
Merge remote-tracking branch 'upstream/develop' into feat/helm-improv…
ThibautChoppy 1fa9785
chore: last uniformization modifications for pr merge
ThibautChoppy 16549fc
chore: fix global value overide
ThibautChoppy 262ae14
chore: values uniformization
ThibautChoppy 16ac948
Merge remote-tracking branch 'upstream/develop' into feat/helm-improv…
ThibautChoppy a44256e
Merge remote-tracking branch 'upstream/develop' into feat/helm-improv…
ThibautChoppy cb54874
Merge remote-tracking branch 'upstream/develop' into feat/helm-improv…
ThibautChoppy 98aa2e2
feat(helm): surface MODEL_ENDPOINT_SYNC_ON_BOOT in values.yaml
ThibautChoppy f5bbd7f
Merge remote-tracking branch 'upstream/develop' into feat/helm-improv…
ThibautChoppy 3d43c60
chore: fix doublon
ThibautChoppy 3918e04
fix(helm): propagate storageClass to sub-charts, correct NOTES.txt --…
ThibautChoppy 9746ba2
Merge remote-tracking branch 'upstream/develop' into feat/helm-improv…
ThibautChoppy 15db9a1
chore: remove graphify of .gitignore
ThibautChoppy cb93280
fix(helm): correct stale adminUi.ingress routing comment
Ahmath-Gadji 7996d1d
fix(admin-ui): run as 10001:0 so the image works under an arbitrary UID
ThibautChoppy 8c68543
Merge remote-tracking branch 'upstream/develop' into feat/helm-improv…
ThibautChoppy 70f3ab8
fix(helm): give the migration Job the same ServiceAccount as the app
ThibautChoppy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,36 @@ | ||
| apiVersion: v2 | ||
| name: openrag-stack | ||
| description: A Helm chart for Kubernetes | ||
|
|
||
| # A chart can be either an 'application' or a 'library' chart. | ||
| # | ||
| # Application charts are a collection of templates that can be packaged into versioned archives | ||
| # to be deployed. | ||
| # | ||
| # Library charts provide useful utilities or functions for the chart developer. They're included as | ||
| # a dependency of application charts to inject those utilities and functions into the rendering | ||
| # pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
| type: application | ||
|
|
||
| # This is the chart version. This version number should be incremented each time you make changes | ||
| # to the chart and its templates, including the app version. | ||
| # Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
| version: 0.5.2 | ||
|
|
||
| # This is the version number of the application being deployed. This version number should be | ||
| # incremented each time you make changes to the application. Versions are not expected to | ||
| # follow Semantic Versioning. They should reflect the version the application is using. | ||
| # It is recommended to use it with quotes. | ||
| version: 0.6.0 | ||
| appVersion: "2.0.1" | ||
|
|
||
| maintainers: | ||
| - name: linagora | ||
| email: openrag@linagora.com | ||
| url: https://github.com/linagora/openrag | ||
|
|
||
| home: https://github.com/linagora/openrag | ||
| sources: | ||
| - https://github.com/linagora/openrag | ||
|
|
||
| dependencies: | ||
| - name: kuberay-operator | ||
| version: "1.4.0" | ||
| repository: "https://ray-project.github.io/kuberay-helm/" | ||
| alias: kuberay | ||
| condition: kuberay.enabled | ||
| - name: postgresql | ||
| version: ">=17.6.0" | ||
| version: ">=17.6.0 <19.0.0" | ||
| repository: "https://charts.bitnami.com/bitnami" | ||
| condition: postgresql.enabled | ||
| - name: milvus | ||
| version: "5.0.0" | ||
| repository: "https://zilliztech.github.io/milvus-helm/" | ||
| condition: milvus.enabled | ||
| - name: vllm-stack | ||
| alias: vllm | ||
| version: ">=0.1.7" | ||
| version: ">=0.1.7 <1.0.0" | ||
| repository: "https://vllm-project.github.io/production-stack" | ||
| condition: vllm.enabled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| OpenRAG stack deployed as release "{{ .Release.Name }}" in namespace "{{ .Release.Namespace }}". | ||
|
|
||
| {{- $secretName := include "openrag-stack.secretName" . }} | ||
| {{- $configuredVllmSecret := .Values.vllm.hfTokenSecretName }} | ||
| {{- if ne $secretName $configuredVllmSecret }} | ||
|
|
||
| ⚠ vLLM HF_TOKEN secret mismatch — action required | ||
| --------------------------------------------------- | ||
| This release creates the env secret as: {{ $secretName }} | ||
| The vLLM sub-chart values still reference: {{ $configuredVllmSecret }} | ||
|
|
||
| vLLM serving pods will fail to mount HF_TOKEN unless you fix this. | ||
|
|
||
| Careful how you override this: Helm never merges *whole lists* across values | ||
| sources, it replaces them — so supplying your own | ||
| vllm.servingEngineSpec.modelSpec array (a values file, or a --set that | ||
| redefines the entire array) silently drops any of the 4 entries you don't | ||
| repeat, breaking those deployments. | ||
|
|
||
| An indexed override like | ||
| "--set vllm.servingEngineSpec.modelSpec[0].hf_token.secretName=..." is fine — | ||
| it only touches that one field of that one entry and leaves the other 3 | ||
| entries (and the other fields of that entry) untouched. The wholesale-replace | ||
| risk above only applies when the *entire* modelSpec array is redefined. | ||
|
|
||
| To fix this mismatch, either edit hfTokenSecretName's anchor directly (its | ||
| value already flows to all 4 entries), or supply the *complete* vllm.servingEngineSpec.modelSpec | ||
| array (copy the 4 entries from values.yaml, keep every field, just change | ||
| hf_token.secretName — an anchor keeps all 4 in sync from one line), either: | ||
| - directly in values.yaml (vllm.hfTokenSecretName's anchor already does this), or | ||
| - in your own values file / ArgoCD Application values block, reusing an | ||
| anchor the same way, e.g.: | ||
|
|
||
| vllm: | ||
| hfTokenSecretName: &hfTokenSecret "{{ $secretName }}" | ||
| servingEngineSpec: | ||
| modelSpec: | ||
| - name: "embedder" | ||
| # ...copy every other field from values.yaml unchanged... | ||
| hf_token: | ||
| secretName: *hfTokenSecret | ||
| secretKey: HF_TOKEN | ||
| # ...repeat for "whisper", "llm", "vlm"... | ||
|
|
||
| {{- end }} | ||
|
|
||
| Secrets provider: {{ .Values.env.secretsProvider.type | default "values" }} | ||
| {{- if .Values.env.existingSecret }} | ||
| Using existing secret: {{ .Values.env.existingSecret }} | ||
| {{- end }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,25 @@ | ||
| apiVersion: v1 | ||
| kind: ConfigMap | ||
| metadata: | ||
| name: rag-env | ||
| name: {{ include "openrag-stack.fullname" . }}-env | ||
| data: | ||
| {{- range $key, $value := .Values.env.config }} | ||
| {{ $key }}: "{{ tpl (printf "%v" $value) $ }}" | ||
| {{- end }} | ||
| {{- if .Values.proxy.enabled }} | ||
| {{- if or (empty .Values.proxy.url) (eq .Values.proxy.url "http://192.168.100.100:80") }} | ||
| {{- fail "proxy.enabled is true but proxy.url is not set or still uses the placeholder default. Set a valid proxy URL in proxy.url." }} | ||
| {{- end }} | ||
| {{- $proxyKeys := list "HTTP_PROXY" "HTTPS_PROXY" "http_proxy" "https_proxy" "NO_PROXY" "no_proxy" }} | ||
| {{- range $proxyKeys }} | ||
| {{- if hasKey $.Values.env.config . }} | ||
| {{- fail (printf "proxy.enabled is true but env.config already defines %q — remove it from env.config to avoid a duplicate ConfigMap key." .) }} | ||
| {{- end }} | ||
| {{- end }} | ||
| HTTP_PROXY: {{ .Values.proxy.url | quote }} | ||
| HTTPS_PROXY: {{ .Values.proxy.url | quote }} | ||
| http_proxy: {{ .Values.proxy.url | quote }} | ||
| https_proxy: {{ .Values.proxy.url | quote }} | ||
| NO_PROXY: {{ .Values.proxy.noProxy | quote }} | ||
| no_proxy: {{ .Values.proxy.noProxy | quote }} | ||
| {{- end }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| {{- range .Values.extraObjects }} | ||
| --- | ||
| {{ tpl (toYaml .) $ }} | ||
| {{- end }} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.