refactor: move Helm chart to standard directory structure
All checks were successful
Build Helm Chart / helm-package (push) Successful in 4s
All checks were successful
Build Helm Chart / helm-package (push) Successful in 4s
This commit restructures the paperless-ai Helm chart by moving all files from the nested directory (charts/paperless-ai/paperless-ai/) to the standard Helm chart directory structure (charts/paperless-ai/). The change eliminates the redundant directory nesting that was causing issues with Helm chart packaging and installation. No functional changes were made to any files - this is purely a directory structure reorganization to follow Helm best practices and improve chart maintainability.
This commit is contained in:
17
charts/paperless-ai/files/config.js
Normal file
17
charts/paperless-ai/files/config.js
Normal file
@ -0,0 +1,17 @@
|
||||
require('dotenv').config();
|
||||
|
||||
module.exports = {
|
||||
paperless: {
|
||||
apiUrl: process.env.PAPERLESS_API_URL,
|
||||
apiToken: process.env.PAPERLESS_API_TOKEN
|
||||
},
|
||||
openai: {
|
||||
apiKey: process.env.OPENAI_API_KEY
|
||||
},
|
||||
ollama: {
|
||||
apiUrl: process.env.OLLAMA_API_URL || 'http://localhost:11434',
|
||||
model: process.env.OLLAMA_MODEL || 'llama2'
|
||||
},
|
||||
aiProvider: process.env.AI_PROVIDER || 'openai',
|
||||
scanInterval: process.env.SCAN_INTERVAL || '*/30 * * * *'
|
||||
};
|
Reference in New Issue
Block a user