feat: add enterprise edition config to assist chart

- Add COMPRESSION, port, CACHE_REFRESH_INTERVAL_SECONDS, and debug
  environment variables for enterprise edition deployments
- Use conditional logic based on enterpriseEditionLicense flag
- Update REDIS_URL to support both global and local redis config
  with fallback using default template function

This enables enterprise-specific features and improves redis
configuration flexibility for the assist service.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2025-05-27 13:00:06 +02:00 committed by Rajesh Rajendran
parent 2c975c768e
commit bace9735df

View file

@ -50,7 +50,17 @@ spec:
- name: AWS_DEFAULT_REGION
value: "{{ .Values.global.s3.region }}"
- name: REDIS_URL
value: {{ .Values.global.redis.redisHost }}
value: {{ default .Values.global.redis.redisHost .Values.redis.redisHost }}
{{- if .Values.global.enterpriseEditionLicense }}
- name: COMPRESSION
value: "true"
- name: port
value: "9000"
- name: CACHE_REFRESH_INTERVAL_SECONDS
value: '5'
- name: debug
value: '0'
{{- end}}
{{- range $key, $val := .Values.global.env }}
- name: {{ $key }}
value: '{{ $val }}'