Skip to content
Snippets Groups Projects
Commit 350cc169 authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Merge branch 'GONRG-6458-redis-in-tf-refi' into 'master'

Added redis ssl configuration, updated readme

See merge request !338
parents 13844b41 a6e2e285
No related branches found
No related tags found
1 merge request!338Added redis ssl configuration, updated readme
Pipeline #165174 failed
...@@ -36,7 +36,7 @@ First you need to set variables in **values.yaml** file using any code editor. S ...@@ -36,7 +36,7 @@ First you need to set variables in **values.yaml** file using any code editor. S
**entitlementsHost** | entitlements service host address | string | `http://entitlements` | yes **entitlementsHost** | entitlements service host address | string | `http://entitlements` | yes
**registerHost** | register service host address | string | `http://register` | yes **registerHost** | register service host address | string | `http://register` | yes
**partitionHost** | partition service host address | string | `http://partition` | yes **partitionHost** | partition service host address | string | `http://partition` | yes
**redisNotificationHost** | The host for redis instance. If empty, helm installs an internal redis instance | string | `redis-ent-master` | yes **redisNotificationHost** | The host for redis instance. If empty, helm installs an internal redis instance | string | `redis-notification` | yes
**redisNotificationPort** | The port for redis instance | digit | 6379 | yes **redisNotificationPort** | The port for redis instance | digit | 6379 | yes
### Deployment variables ### Deployment variables
...@@ -62,7 +62,7 @@ First you need to set variables in **values.yaml** file using any code editor. S ...@@ -62,7 +62,7 @@ First you need to set variables in **values.yaml** file using any code editor. S
**notificationRedisSecretName** | Notification redis secret | string | `notification-redis-secret` | yes **notificationRedisSecretName** | Notification redis secret | string | `notification-redis-secret` | yes
**onPremEnabled** | whether on-prem is enabled | boolean | false | yes **onPremEnabled** | whether on-prem is enabled | boolean | false | yes
**domain** | your domain, ex `example.com` | string | - | yes **domain** | your domain, ex `example.com` | string | - | yes
**redisSSL** | Redis host ssl config. External redis configuration only if true | string | false | no
### Install the helm chart ### Install the helm chart
Run this command from within this directory: Run this command from within this directory:
......
...@@ -12,6 +12,7 @@ data: ...@@ -12,6 +12,7 @@ data:
REGISTER_HOST: {{ .Values.data.registerHost | quote}} REGISTER_HOST: {{ .Values.data.registerHost | quote}}
PARTITION_HOST: {{ .Values.data.partitionHost | quote}} PARTITION_HOST: {{ .Values.data.partitionHost | quote}}
REDIS_PORT: {{ .Values.data.redisNotificationPort | quote }} REDIS_PORT: {{ .Values.data.redisNotificationPort | quote }}
REDIS_WITH_SSL: {{ .Values.conf.redisSSL | quote }}
{{- if .Values.data.redisNotificationHost }} {{- if .Values.data.redisNotificationHost }}
REDIS_HOST: {{ .Values.data.redisNotificationHost | quote }} REDIS_HOST: {{ .Values.data.redisNotificationHost | quote }}
{{- else }} {{- else }}
......
...@@ -26,8 +26,7 @@ conf: ...@@ -26,8 +26,7 @@ conf:
notificationRedisSecretName: "notification-redis-secret" notificationRedisSecretName: "notification-redis-secret"
onPremEnabled: false onPremEnabled: false
domain: "" domain: ""
#FIXME fix condition with redis ssl configuration redisSSL: false
# redisSSL: false
istio: istio:
proxyCPU: "50m" proxyCPU: "50m"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment