feat(helm): migrate to new environment variable naming convention

Replace deprecated environment variables with new consolidated names:
- VECTOR_SYNC_ENABLED → ENABLE_SEMANTIC_SEARCH
- ENABLE_OFFLINE_ACCESS → ENABLE_BACKGROUND_OPERATIONS

Update values.yaml structure:
- Rename 'vectorSync' section to 'semanticSearch'
- Update descriptions to emphasize BM25 hybrid search

Benefits:
- Aligns with application-level config consolidation
- Clearer naming: "semantic search" vs "vector sync"
- Maintains backward compatibility via application deprecation handling
- Automatic enablement of background ops when semantic search enabled in multi-user modes

Updated files:
- values.yaml: Renamed vectorSync → semanticSearch
- deployment.yaml: New env var names with deprecation comments
- NOTES.txt: Updated deployment notes
- README.md: Updated documentation and examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Chris Coutinho
2025-12-23 09:12:07 -07:00
co-authored by Claude Sonnet 4.5
parent 4248b67b2e
commit dd42849d70
4 changed files with 30 additions and 29 deletions
+10 -10
View File
@@ -208,16 +208,16 @@ The application exposes HTTP health check endpoints:
#### Vector Search & Semantic Capabilities (Optional) #### Vector Search & Semantic Capabilities (Optional)
Enable semantic search capabilities by deploying a vector database (Qdrant) and embedding service (Ollama or OpenAI). Enable semantic search capabilities with BM25 hybrid search by deploying a vector database (Qdrant) and embedding service (Ollama or OpenAI).
**Vector Sync Configuration:** **Semantic Search Configuration:**
| Parameter | Description | Default | | Parameter | Description | Default |
|-----------|-------------|---------| |-----------|-------------|---------|
| `vectorSync.enabled` | Enable background vector synchronization | `false` | | `semanticSearch.enabled` | Enable semantic search and background vector synchronization | `false` |
| `vectorSync.scanInterval` | Scan interval in seconds | `3600` | | `semanticSearch.scanInterval` | Scan interval in seconds | `3600` |
| `vectorSync.processorWorkers` | Number of concurrent processor workers | `3` | | `semanticSearch.processorWorkers` | Number of concurrent processor workers | `3` |
| `vectorSync.queueMaxSize` | Maximum queue size for pending documents | `10000` | | `semanticSearch.queueMaxSize` | Maximum queue size for pending documents | `10000` |
**Document Chunking Configuration:** **Document Chunking Configuration:**
@@ -537,8 +537,8 @@ auth:
username: admin username: admin
password: secure-password password: secure-password
# Enable vector sync # Enable semantic search
vectorSync: semanticSearch:
enabled: true enabled: true
scanInterval: 1800 # Scan every 30 minutes scanInterval: 1800 # Scan every 30 minutes
processorWorkers: 5 processorWorkers: 5
@@ -576,7 +576,7 @@ ollama:
Or use an external Ollama instance: Or use an external Ollama instance:
```yaml ```yaml
vectorSync: semanticSearch:
enabled: true enabled: true
qdrant: qdrant:
@@ -592,7 +592,7 @@ ollama:
Or use OpenAI for embeddings: Or use OpenAI for embeddings:
```yaml ```yaml
vectorSync: semanticSearch:
enabled: true enabled: true
qdrant: qdrant:
@@ -69,12 +69,12 @@ Your Nextcloud MCP Server has been deployed in {{ .Values.auth.mode }} authentic
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .Values.vectorSync.enabled }} {{- if .Values.semanticSearch.enabled }}
5. Vector Search & Semantic Capabilities: 5. Semantic Search & Vector Capabilities:
- Vector Sync: Enabled - Semantic Search: Enabled
- Scan Interval: {{ .Values.vectorSync.scanInterval }}s - Scan Interval: {{ .Values.semanticSearch.scanInterval }}s
- Processor Workers: {{ .Values.vectorSync.processorWorkers }} - Processor Workers: {{ .Values.semanticSearch.processorWorkers }}
{{- if .Values.qdrant.enabled }} {{- if .Values.qdrant.enabled }}
- Qdrant: Deployed as subchart ({{ .Release.Name }}-qdrant:6333) - Qdrant: Deployed as subchart ({{ .Release.Name }}-qdrant:6333)
{{- else }} {{- else }}
@@ -88,8 +88,8 @@ spec:
- name: NEXTCLOUD_PUBLIC_ISSUER_URL - name: NEXTCLOUD_PUBLIC_ISSUER_URL
value: {{ include "nextcloud-mcp-server.publicIssuerUrl" . | quote }} value: {{ include "nextcloud-mcp-server.publicIssuerUrl" . | quote }}
{{- if .Values.auth.multiUserBasic.enableOfflineAccess }} {{- if .Values.auth.multiUserBasic.enableOfflineAccess }}
# Background operations with app passwords # Background operations with app passwords (replaces deprecated ENABLE_OFFLINE_ACCESS)
- name: ENABLE_OFFLINE_ACCESS - name: ENABLE_BACKGROUND_OPERATIONS
value: "true" value: "true"
- name: TOKEN_STORAGE_DB - name: TOKEN_STORAGE_DB
value: {{ .Values.auth.multiUserBasic.tokenStorageDb | quote }} value: {{ .Values.auth.multiUserBasic.tokenStorageDb | quote }}
@@ -182,16 +182,16 @@ spec:
value: {{ .Values.documentProcessing.custom.types | quote }} value: {{ .Values.documentProcessing.custom.types | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
# Vector Sync # Semantic Search (replaces deprecated VECTOR_SYNC_ENABLED)
- name: VECTOR_SYNC_ENABLED - name: ENABLE_SEMANTIC_SEARCH
value: {{ .Values.vectorSync.enabled | quote }} value: {{ .Values.semanticSearch.enabled | quote }}
{{- if .Values.vectorSync.enabled }} {{- if .Values.semanticSearch.enabled }}
- name: VECTOR_SYNC_SCAN_INTERVAL - name: VECTOR_SYNC_SCAN_INTERVAL
value: {{ .Values.vectorSync.scanInterval | quote }} value: {{ .Values.semanticSearch.scanInterval | quote }}
- name: VECTOR_SYNC_PROCESSOR_WORKERS - name: VECTOR_SYNC_PROCESSOR_WORKERS
value: {{ .Values.vectorSync.processorWorkers | quote }} value: {{ .Values.semanticSearch.processorWorkers | quote }}
- name: VECTOR_SYNC_QUEUE_MAX_SIZE - name: VECTOR_SYNC_QUEUE_MAX_SIZE
value: {{ .Values.vectorSync.queueMaxSize | quote }} value: {{ .Values.semanticSearch.queueMaxSize | quote }}
{{- end }} {{- end }}
# Document Chunking (always set, used by vector sync processor) # Document Chunking (always set, used by vector sync processor)
- name: DOCUMENT_CHUNK_SIZE - name: DOCUMENT_CHUNK_SIZE
+6 -5
View File
@@ -358,10 +358,11 @@ extraEnvFrom: []
# - secretRef: # - secretRef:
# name: my-secret # name: my-secret
# Vector Sync Configuration # Semantic Search Configuration
# Background synchronization of Nextcloud content into vector database for semantic search # Enable semantic search with BM25 hybrid search and background synchronization
vectorSync: # of Nextcloud content into vector database
# Enable background vector synchronization semanticSearch:
# Enable semantic search and background vector synchronization
enabled: false enabled: false
# Scan interval in seconds (how often to check for changes) # Scan interval in seconds (how often to check for changes)
scanInterval: 3600 scanInterval: 3600
@@ -372,7 +373,7 @@ vectorSync:
# Document Chunking Configuration # Document Chunking Configuration
# Controls how documents are split into chunks before embedding # Controls how documents are split into chunks before embedding
# Only relevant when vectorSync.enabled is true # Only relevant when semanticSearch.enabled is true
documentChunking: documentChunking:
# Number of words per chunk (default: 512) # Number of words per chunk (default: 512)
# Smaller chunks (256-384): Better for precise searches, more chunks to store # Smaller chunks (256-384): Better for precise searches, more chunks to store