Skip to content
Snippets Groups Projects
Commit d27f481d authored by Tancho Mihov's avatar Tancho Mihov
Browse files

Nats env var added

parent a5f76def
No related branches found
No related tags found
No related merge requests found
apiVersion: v1 apiVersion: v1
appVersion: 0.0.2 appVersion: v0.0.4
description: cache deployment description: cache deployment
name: cache name: cache
version: 0.0.2 version: 0.0.4
icon: "https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg" icon: "https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg"
# cache # cache
![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![AppVersion: 0.0.2](https://img.shields.io/badge/AppVersion-0.0.2-informational?style=flat-square) ![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![AppVersion: v0.0.4](https://img.shields.io/badge/AppVersion-v0.0.4-informational?style=flat-square)
cache deployment cache deployment
...@@ -18,6 +18,8 @@ cache deployment ...@@ -18,6 +18,8 @@ cache deployment
| cache.http.timeout.idle | string | `"120s"` | | | cache.http.timeout.idle | string | `"120s"` | |
| cache.http.timeout.read | string | `"10s"` | | | cache.http.timeout.read | string | `"10s"` | |
| cache.http.timeout.write | string | `"10s"` | | | cache.http.timeout.write | string | `"10s"` | |
| cache.nats.subject | string | `"external_cache_events"` | |
| cache.nats.url | string | `"nats.ocm:4222"` | |
| image.name | string | `"gaiax/cache"` | Image name | | image.name | string | `"gaiax/cache"` | Image name |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.pullSecrets | string | `"deployment-key-light"` | Image pull secret when internal image is used | | image.pullSecrets | string | `"deployment-key-light"` | Image pull secret when internal image is used |
......
...@@ -60,6 +60,10 @@ spec: ...@@ -60,6 +60,10 @@ spec:
value: {{ .Values.redis.db | quote }} value: {{ .Values.redis.db | quote }}
- name: REDIS_EXPIRATION - name: REDIS_EXPIRATION
value: {{ .Values.redis.expiration | quote }} value: {{ .Values.redis.expiration | quote }}
- name: NATS_ADDR
value: {{ .Values.cache.nats.url | quote }}
- name: NATS_SUBJECT
value: {{ .Values.cache.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 @@ cache: ...@@ -94,6 +94,9 @@ cache:
idle: 120s idle: 120s
read: 10s read: 10s
write: 10s write: 10s
nats:
url: nats.ocm:4222
subject: external_cache_events
redis: redis:
addr: "redis-public-master.infra:6379" addr: "redis-public-master.infra:6379"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment