Release v0.35.0-rc1
This release focuses on nginx compatibility adaptations for OpenShift, additional persistence support and enhanced configuration options.
Highlights
Global values
Fundamental Dify configurations can could be applied in global section for better maintainability. Component-specific values take precedence over global values for more customized setup and backward compatibility, for instance:
global:
# A global secret key for all inter-component API calls among Dify containers (e.g. `api`, `sandbox` and `pluginDaemon`).
internalApiKey: "unified-sk-for-all-internal-calls"
sandbox:
auth:
apiKey: "sandbox-specific-sk"What's Changed
- Update labels in Secret, ConfigMap and Job (#358) @BorisPolonsky
- Enable rootless settings for nginx containers by default (#363) @BorisPolonsky
- Switch nginx container port to 8080 for non-privileged environments (#361) @giladd123
- Add option for persistence for every deployment (#360) @giladd123
- refactor: migrate user defined persistence volumes to extraVolumes/extraVolumeMounts (#365) @BorisPolonsky
- feat(proxy): Make nginx worker_processes configurable (#366) @BorisPolonsky
- feat: add global values section with component override priority (#367) @BorisPolonsky
- Bump chart version to 0.35.0-rc1 (#368) @BorisPolonsky
Deprecated Values
The values below will continue to function for backward compatibility but are recommended to be migrated to the global equivalents for consistency and centralized configuration management.
| Deprecated Value | New Value | Description |
|---|---|---|
api.url.consoleApi
| global.consoleApiDomain
| Backend domain of the console API |
api.url.consoleWeb
| global.consoleWebDomain
| Front-end domain of the console web |
api.url.serviceApi
| global.serviceApiDomain
| Service API domain |
api.url.appApi
| global.appApiDomain
| WebApp API backend domain |
api.url.appWeb
| global.appWebDomain
| WebApp domain |
api.url.files
| global.filesDomain
| File preview or download domain |
api.url.marketplaceApi
| global.marketplace.apiUrl
| Marketplace API URL |
api.url.marketplace
| global.marketplace.url
| Marketplace URL |
api.secretKey
| global.appSecretKey
| Secret key for securely signing session cookies and encrypting sensitive database information |
pluginDaemon.marketplace.enabled
| global.marketplace.enabled
| Enable marketplace for plugin daemon |
pluginDaemon.marketplace.apiProxyEnabled
| global.marketplace.apiProxyEnabled
| Enable API proxy for marketplace (routes through built-in nginx) |
Migration Note
For existing users with proxy.log.persistence.enabled: true (false by default):
- update the volume ownership before upgrading, or
- as alternative, disable security contexts for backward compatibility by setting:
proxy:
podSecurityContext:
enabled: false
containerSecurityContext:
enabled: false
New Contributors
- @giladd123 made their first contribution in #361
Full Changelog: dify-0.34.0...dify-0.35.0-rc1