Skip to content
Snippets Groups Projects
Commit 9944a548 authored by Yordan Kinkov's avatar Yordan Kinkov
Browse files

Add NATS env variables to helm chart

parent 241f4f8a
Branches
Tags
1 merge request!7Add NATS env variables to helm chart
Pipeline #68433 passed
...@@ -62,6 +62,10 @@ spec: ...@@ -62,6 +62,10 @@ spec:
value: {{ .Values.addresses.cache | quote }} value: {{ .Values.addresses.cache | quote }}
- name: POLICY_ADDR - name: POLICY_ADDR
value: {{ .Values.addresses.policy | quote }} value: {{ .Values.addresses.policy | quote }}
- name: NATS_ADDR
value: {{ .Values.task.nats.url | quote }}
- name: NATS_SUBJECT
value: {{ .Values.task.nats.subject | quote }}
{{- if .Values.extraVars }} {{- if .Values.extraVars }}
{{ toYaml .Values.extraVars | indent 8 }} {{ toYaml .Values.extraVars | indent 8 }}
{{- end }} {{- end }}
......
...@@ -94,6 +94,9 @@ task: ...@@ -94,6 +94,9 @@ task:
idle: 120s idle: 120s
read: 10s read: 10s
write: 10s write: 10s
nats:
url: nats.ocm-ui:4222
subject: external_cache_events
mongo: mongo:
addr: "mongodb://mongodb-mongodb-replicaset.infra:27017/task?replicaSet=rs0&authSource=admin" addr: "mongodb://mongodb-mongodb-replicaset.infra:27017/task?replicaSet=rs0&authSource=admin"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment