Skip to content

Commit

Permalink
updated ssl settings for redis, added default derby db type when mysq…
Browse files Browse the repository at this point in the history
…l is disabled
  • Loading branch information
Gazza7205 committed Jul 29, 2024
1 parent d55468e commit 002d685
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/gateway/templates/node-properties-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ stringData:
{{- end }}
node.db.config.main.user={{ .Values.database.username }}
node.db.config.main.pass={{ .Values.database.password }}
{{- else }}
node.db.type=derby
node.db.config.main.user={{ default "gateway" .Values.database.username }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/gateway/templates/shared-state-client-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ stringData:
{{- end }}
ssl:
enabled: {{ .Values.config.redis.tls.enabled }}
{{- if .Values.config.redis.tls.enabled }}
cert: redis.crt
verifyPeer: {{ .Values.config.redis.tls.verifyPeer }}
{{- end }}
{{- if .Values.config.redis.additionalProviders }}
{{- range .Values.config.redis.additionalProviders }}
{{- toYaml .config | nindent 6 }}
Expand Down

0 comments on commit 002d685

Please sign in to comment.