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

Nats env var added

parent a5f76def
Branches
Tags
No related merge requests found
apiVersion: v1
appVersion: 0.0.2
appVersion: v0.0.4
description: cache deployment
name: cache
version: 0.0.2
version: 0.0.4
icon: "https://www.vereign.com/wp-content/themes/vereign2020/images/vereign-logo.svg"
# 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
......@@ -18,6 +18,8 @@ cache deployment
| cache.http.timeout.idle | string | `"120s"` | |
| cache.http.timeout.read | 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.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.pullSecrets | string | `"deployment-key-light"` | Image pull secret when internal image is used |
......
......@@ -60,6 +60,10 @@ spec:
value: {{ .Values.redis.db | quote }}
- name: REDIS_EXPIRATION
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 }}
{{ toYaml .Values.extraVars | indent 8 }}
{{- end }}
......
......@@ -94,6 +94,9 @@ cache:
idle: 120s
read: 10s
write: 10s
nats:
url: nats.ocm:4222
subject: external_cache_events
redis:
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