Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix(helm): refresh OpenViking chart defaults (#2189)
Zayn Jarvis6042a8fd9b8f
diff --git a/deploy/helm/README.md b/deploy/helm/README.mdindex b1ac56de2..8994a46a8 100644--- a/deploy/helm/README.md+++ b/deploy/helm/README.md@@ -14,9 +14,23 @@ Deploy OpenViking on Kubernetes using Helm.```bashhelm install openviking ./deploy/helm/openviking \- --set config.server.root_api_key="YOUR_ROOT_API_KEY" \- --set config.embedding.dense.api_key="YOUR_VOLCENGINE_API_KEY" \- --set config.vlm.api_key="YOUR_VOLCENGINE_API_KEY"+ --set-string config.server.root_api_key="YOUR_ROOT_API_KEY" \+ --set-string config.embedding.dense.api_key="YOUR_VOLCENGINE_API_KEY" \+ --set-string config.vlm.api_key="YOUR_VOLCENGINE_API_KEY"+```++The chart deploys `ghcr.io/volcengine/openviking:latest` by default. To choose+a different image tag:++```bash+# newest image from the main branch+helm upgrade --install openviking ./deploy/helm/openviking --set image.tag=main++# pinned release image+helm upgrade --install openviking ./deploy/helm/openviking --set image.tag=v0.3.17++# use the default latest image+helm upgrade --install openviking ./deploy/helm/openviking --set image.tag=```### Install with Custom Values@@ -40,7 +54,7 @@ persistence:config:storage:- workspace: /app/data/openviking_workspace+ workspace: /app/.openviking/openviking_workspacelog:level: INFOoutput: stdout@@ -83,6 +97,7 @@ Kubernetes secrets instead:```bash# Create a secretkubectl create secret generic openviking-api-keys \+ --from-literal=root-api-key="YOUR_ROOT_API_KEY" \--from-literal=embedding-api-key="YOUR_KEY" \--from-literal=vlm-api-key="YOUR_KEY"```@@ -90,32 +105,52 @@ kubectl create secret generic openviking-api-keys \Then reference it in your values:```yaml+config:+ server:+ root_api_key: "${OPENVIKING_ROOT_API_KEY}"+ embedding:+ dense:+ api_key: "${OPENVIKING_EMBEDDING_API_KEY}"+ vlm:+ api_key: "${OPENVIKING_VLM_API_KEY}"+extraEnv:- - name: EMBEDDING_API_KEY+ - name: OPENVIKING_ROOT_API_KEY+ valueFrom:+ secretKeyRef:+ name: openviking-api-keys+ key: root-api-key+ - name: OPENVIKING_EMBEDDING_API_KEYvalueFrom:secretKeyRef:name: openviking-api-keyskey: embedding-api-key- - name: VLM_API_KEY+ - name: OPENVIKING_VLM_API_KEYvalueFrom:secretKeyRef:name: openviking-api-keyskey: vlm-api-key```+OpenViking expands environment variables inside `ov.conf` at startup, so the+ConfigMap can contain placeholders while the actual secrets stay in Kubernetes+Secrets.+## Configuration| Parameter | Description | Default ||-----------|-------------|---------|| `replicaCount` | Number of replicas | `1` || `image.repository` | Container image repository | `ghcr.io/volcengine/openviking` |-| `image.tag` | Container image tag | Chart appVersion |-| `image.pullPolicy` | Image pull policy | `IfNotPresent` |+| `image.tag` | Container image tag (`latest`, `main`, pinned release, or empty for `latest`) | `latest` |+| `image.pullPolicy` | Image pull policy | `Always` || `service.type` | Kubernetes service type | `ClusterIP` || `service.port` | Service port | `1933` || `persistence.enabled` | Enable persistent storage | `true` || `persistence.size` | PVC size | `20Gi` || `persistence.storageClass` | Storage class name | `""` (default) |+| `persistence.mountPath` | Container path for OpenViking persistent state | `/app/.openviking` |+| `bot.enabled` | Start vikingbot alongside the API server | `false` || `persistence.existingClaim` | Use an existing PVC | `""` || `resources.limits.cpu` | CPU limit | `2` || `resources.limits.memory` | Memory limit | `4Gi` |diff --git a/deploy/helm/openviking/Chart.yaml b/deploy/helm/openviking/Chart.yamlindex cbfc1bf0b..a65c407c0 100644--- a/deploy/helm/openviking/Chart.yaml+++ b/deploy/helm/openviking/Chart.yaml@@ -2,8 +2,7 @@ apiVersion: v2name: openvikingdescription: OpenViking - The Context Database for AI Agentstype: application-version: 0.1.0-appVersion: "0.1.18"+version: 0.1.1keywords:- openviking- aidiff --git a/deploy/helm/openviking/templates/_helpers.tpl b/deploy/helm/openviking/templates/_helpers.tplindex bbca5b8d4..9cde03537 100644--- a/deploy/helm/openviking/templates/_helpers.tpl+++ b/deploy/helm/openviking/templates/_helpers.tpl@@ -37,8 +37,9 @@ Common labels.{{- define "openviking.labels" -}}helm.sh/chart: {{ include "openviking.chart" . }}{{ include "openviking.selectorLabels" . }}-{{- if .Chart.AppVersion }}-app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}+{{- $appVersion := include "openviking.appVersion" . }}+{{- if $appVersion }}+app.kubernetes.io/version: {{ $appVersion | quote }}{{- end }}app.kubernetes.io/managed-by: {{ .Release.Service }}{{- end }}@@ -62,10 +63,17 @@ Create the name of the service account to use.{{- end }}{{- end }}+{{/*+Return the deployed app version label.+*/}}+{{- define "openviking.appVersion" -}}+{{- default "latest" .Values.image.tag -}}+{{- end }}+{{/*Return the image name including tag.*/}}{{- define "openviking.image" -}}-{{- $tag := default .Chart.AppVersion .Values.image.tag -}}+{{- $tag := default "latest" .Values.image.tag -}}{{- printf "%s:%s" .Values.image.repository $tag -}}{{- end }}diff --git a/deploy/helm/openviking/templates/deployment.yaml b/deploy/helm/openviking/templates/deployment.yamlindex ae11d3c01..f290da528 100644--- a/deploy/helm/openviking/templates/deployment.yaml+++ b/deploy/helm/openviking/templates/deployment.yaml@@ -44,12 +44,15 @@ spec:securityContext:{{- toYaml . | nindent 12 }}{{- end }}- image: {{ include "openviking.image" . }}+ image: {{ include "openviking.image" . | quote }}imagePullPolicy: {{ .Values.image.pullPolicy }}- command: ["openviking-server"]env:- name: OPENVIKING_CONFIG_FILE- value: /app/ov.conf+ value: {{ printf "%s/ov.conf" .Values.persistence.mountPath | quote }}+ - name: OPENVIKING_CLI_CONFIG_FILE+ value: {{ printf "%s/ovcli.conf" .Values.persistence.mountPath | quote }}+ - name: OPENVIKING_WITH_BOT+ value: {{ ternary "1" "0" .Values.bot.enabled | quote }}{{- with .Values.extraEnv }}{{- toYaml . | nindent 12 }}{{- end }}@@ -70,12 +73,12 @@ spec:{{- toYaml . | nindent 12 }}{{- end }}volumeMounts:+ - name: data+ mountPath: {{ .Values.persistence.mountPath }}- name: config- mountPath: /app/ov.conf+ mountPath: {{ printf "%s/ov.conf" .Values.persistence.mountPath | quote }}subPath: ov.confreadOnly: true- - name: data- mountPath: {{ .Values.persistence.mountPath }}volumes:- name: configconfigMap:diff --git a/deploy/helm/openviking/values.yaml b/deploy/helm/openviking/values.yamlindex 6c811c866..dbe26be02 100644--- a/deploy/helm/openviking/values.yaml+++ b/deploy/helm/openviking/values.yaml@@ -4,9 +4,13 @@ replicaCount: 1image:repository: ghcr.io/volcengine/openviking- pullPolicy: IfNotPresent- # Overrides the image tag whose default is the chart appVersion.- tag: ""+ # Use Always for the default moving tag. Pin a version and set IfNotPresent if+ # you want Kubernetes to reuse cached immutable images.+ pullPolicy: Always+ # Image tag to deploy. Defaults to the latest released OpenViking image.+ # Set to "main" for the newest image from the main branch, a version such as+ # "v0.3.17" for a pinned release, or "" to use latest.+ tag: latestimagePullSecrets: []nameOverride: ""@@ -67,14 +71,21 @@ persistence:size: 20Gi# Existing PVC name. If set, no new PVC is created.existingClaim: ""- # Mount path inside the container for data directory.- mountPath: /app/data+ # Mount path inside the container for OpenViking persistent state. The official+ # Docker image expects ov.conf, ovcli.conf, and workspace data under this path.+ mountPath: /app/.openviking++bot:+ # The Docker image can start vikingbot with the API server. Keep it disabled+ # for Kubernetes by default so the chart exposes only the OpenViking API port.+ enabled: false# OpenViking server configuration (ov.conf).-# This is rendered into a ConfigMap and mounted at /app/ov.conf.+# This is rendered into a ConfigMap and mounted at+# ${persistence.mountPath}/ov.conf.config:storage:- workspace: /app/data/openviking_workspace+ workspace: /app/.openviking/openviking_workspacevectordb:name: contextbackend: local@@ -89,7 +100,9 @@ config:host: "0.0.0.0"port: 1933workers: 1- root_api_key: ""+ # Required when host is 0.0.0.0. Prefer setting this via an environment+ # variable placeholder plus extraEnv/Secret, e.g. ${OPENVIKING_ROOT_API_KEY}.+ root_api_key: nullcors_origins:- "*"embedding:@@ -114,13 +127,11 @@ config:# Extra environment variables to set on the container.# Use this for secrets or overrides that should not be in the ConfigMap.extraEnv: []- # - name: OPENVIKING_CONFIG_FILE- # value: /app/ov.conf- # - name: SOME_SECRET+ # - name: OPENVIKING_ROOT_API_KEY# valueFrom:# secretKeyRef:# name: my-secret- # key: api-key+ # key: root-api-key# Liveness and readiness probes.livenessProbe: