Add SQS params to Helm chart.
This commit is contained in:
parent
be24a70024
commit
03a7dd2b59
3 changed files with 33 additions and 0 deletions
|
@ -42,6 +42,14 @@ spec:
|
||||||
{{ else }}
|
{{ else }}
|
||||||
value: http://{{ .Release.Name }}-svc-couchdb:{{ .Values.services.couchdb.port }}
|
value: http://{{ .Release.Name }}-svc-couchdb:{{ .Values.services.couchdb.port }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if .Values.globals.sqs.enabled }}
|
||||||
|
- name: COUCH_DB_SQL_URL
|
||||||
|
{{ if .Values.globals.sqs.url }}
|
||||||
|
value: {{ .Values.globals.sqs.url }}
|
||||||
|
{{ else }}
|
||||||
|
value: http://{{ .Release.Name }}-svc-couchdb:{{ .Values.globals.sqs.port }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
{{ if .Values.services.couchdb.enabled }}
|
{{ if .Values.services.couchdb.enabled }}
|
||||||
- name: COUCH_DB_USER
|
- name: COUCH_DB_USER
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -198,6 +206,10 @@ spec:
|
||||||
- name: APP_FEATURES
|
- name: APP_FEATURES
|
||||||
value: "api"
|
value: "api"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.globals.sqs.enabled }}
|
||||||
|
- name: SQS_SEARCH_ENABLE
|
||||||
|
value: "true"
|
||||||
|
{{- end }}
|
||||||
{{- range .Values.services.apps.extraEnv }}
|
{{- range .Values.services.apps.extraEnv }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
value: {{ .value | quote }}
|
value: {{ .value | quote }}
|
||||||
|
|
|
@ -56,6 +56,14 @@ spec:
|
||||||
{{ else }}
|
{{ else }}
|
||||||
value: http://{{ .Release.Name }}-svc-couchdb:{{ .Values.services.couchdb.port }}
|
value: http://{{ .Release.Name }}-svc-couchdb:{{ .Values.services.couchdb.port }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if .Values.globals.sqs.enabled }}
|
||||||
|
- name: COUCH_DB_SQL_URL
|
||||||
|
{{ if .Values.globals.sqs.url }}
|
||||||
|
value: {{ .Values.globals.sqs.url }}
|
||||||
|
{{ else }}
|
||||||
|
value: http://{{ .Release.Name }}-svc-couchdb:{{ .Values.globals.sqs.port }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
- name: API_ENCRYPTION_KEY
|
- name: API_ENCRYPTION_KEY
|
||||||
value: {{ .Values.globals.apiEncryptionKey | quote }}
|
value: {{ .Values.globals.apiEncryptionKey | quote }}
|
||||||
- name: HTTP_LOGGING
|
- name: HTTP_LOGGING
|
||||||
|
@ -184,6 +192,10 @@ spec:
|
||||||
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
||||||
value: {{ .Values.services.tlsRejectUnauthorized }}
|
value: {{ .Values.services.tlsRejectUnauthorized }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{- if .Values.globals.sqs.enabled }}
|
||||||
|
- name: SQS_SEARCH_ENABLE
|
||||||
|
value: "true"
|
||||||
|
{{- end }}
|
||||||
{{- range .Values.services.worker.extraEnv }}
|
{{- range .Values.services.worker.extraEnv }}
|
||||||
- name: {{ .name }}
|
- name: {{ .name }}
|
||||||
value: {{ .value | quote }}
|
value: {{ .value | quote }}
|
||||||
|
|
|
@ -138,6 +138,15 @@ globals:
|
||||||
# -- The password to use when authenticating with your SMTP server.
|
# -- The password to use when authenticating with your SMTP server.
|
||||||
password: ""
|
password: ""
|
||||||
|
|
||||||
|
sqs:
|
||||||
|
# -- Whether to use the CouchDB "structure query service" or not. This is disabled by
|
||||||
|
# default for now, but will become the default in a future release.
|
||||||
|
enabled: false
|
||||||
|
# @ignore
|
||||||
|
url: ""
|
||||||
|
# @ignore
|
||||||
|
port: "4984"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# -- The DNS suffix to use for service discovery. You only need to change this
|
# -- The DNS suffix to use for service discovery. You only need to change this
|
||||||
# if you've configured your cluster to use a different DNS suffix.
|
# if you've configured your cluster to use a different DNS suffix.
|
||||||
|
|
Loading…
Reference in a new issue