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:
parent
2c975c768e
commit
bace9735df
1 changed files with 11 additions and 1 deletions
|
|
@ -50,7 +50,17 @@ spec:
|
||||||
- name: AWS_DEFAULT_REGION
|
- name: AWS_DEFAULT_REGION
|
||||||
value: "{{ .Values.global.s3.region }}"
|
value: "{{ .Values.global.s3.region }}"
|
||||||
- name: REDIS_URL
|
- 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 }}
|
{{- range $key, $val := .Values.global.env }}
|
||||||
- name: {{ $key }}
|
- name: {{ $key }}
|
||||||
value: '{{ $val }}'
|
value: '{{ $val }}'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue