make rate limit optional

This commit is contained in:
Martin McKeaveney 2022-05-31 13:03:59 +01:00
parent 7a8a2e6244
commit ad6f2e7e6f
1 changed files with 2 additions and 0 deletions

View File

@ -78,8 +78,10 @@ spec:
value: {{ .Values.services.objectStore.url }} value: {{ .Values.services.objectStore.url }}
- name: PORT - name: PORT
value: {{ .Values.services.apps.port | quote }} value: {{ .Values.services.apps.port | quote }}
{{ if .Values.services.worker.publicApiRateLimitPerSecond }}
- name: API_REQ_LIMIT_PER_SEC - name: API_REQ_LIMIT_PER_SEC
value: {{ .Values.globals.apps.publicApiRateLimitPerSecond | quote }} value: {{ .Values.globals.apps.publicApiRateLimitPerSecond | quote }}
{{ end }}
- name: MULTI_TENANCY - name: MULTI_TENANCY
value: {{ .Values.globals.multiTenancy | quote }} value: {{ .Values.globals.multiTenancy | quote }}
- name: LOG_LEVEL - name: LOG_LEVEL