Moving chart from glitchtip-frontend to here

This commit is contained in:
David Burke 2020-05-15 16:53:29 -04:00
parent 308366ca60
commit 0d5033171a
15 changed files with 87 additions and 27 deletions

View file

@ -96,7 +96,7 @@ Set redis host
*/}}
{{- define "glitchtip.redis.host" -}}
{{- if .Values.redis.enabled -}}
{{- template "glitchtip.redis.fullname" . -}}-master
{{- template "glitchtip.redis.fullname" . -}}-redis-master
{{- else -}}
{{- .Values.redis.host | quote -}}
{{- end -}}
@ -109,4 +109,15 @@ Set redis url
{{- if .Values.redis.enabled -}}
redis://{{- template "glitchtip.redis.password" -}}{{- template "glitchtip.redis.fullname" . -}}-master
{{- end -}}
{{- end -}}
{{- end -}}
{{/*
Set redis port
*/}}
{{- define "glitchtip.redis.port" -}}
{{- if .Values.redis.enabled -}}
"6379"
{{- else -}}
{{- default "6379" .Values.redis.port | quote -}}
{{- end -}}
{{- end -}}