mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-02-01 01:26:45 +00:00
69048b5c96
* Changed: avoid latest image
* Changed: version bump
* Fixed: pull policy
* Removed: specific ci for glue since now it's on by default
* Fixed: don't refresh dependencies
* Changed: testing chart action version update
* Fixed: action
* Changed: dependency updates required
* Fixed: lint and install
* Revert "Changed: dependency updates required"
This reverts commit 34ee22d7d0
.
* Changed: use copy of dep charts because ththey may become unavailable
* Changed: updated readme
54 lines
1.9 KiB
YAML
Executable File
54 lines
1.9 KiB
YAML
Executable File
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ template "redis.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
app: {{ template "redis.name" . }}
|
|
chart: {{ template "redis.chart" . }}
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
data:
|
|
redis.conf: |-
|
|
{{- if .Values.configmap }}
|
|
# User-supplied configuration:
|
|
{{- tpl .Values.configmap . | nindent 4 }}
|
|
{{- end }}
|
|
master.conf: |-
|
|
dir {{ .Values.master.persistence.path }}
|
|
{{- if .Values.master.configmap }}
|
|
# User-supplied master configuration:
|
|
{{- tpl .Values.master.configmap . | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.master.disableCommands }}
|
|
{{- range .Values.master.disableCommands }}
|
|
rename-command {{ . }} ""
|
|
{{- end }}
|
|
{{- end }}
|
|
replica.conf: |-
|
|
dir {{ .Values.slave.persistence.path }}
|
|
slave-read-only yes
|
|
{{- if .Values.slave.configmap }}
|
|
# User-supplied slave configuration:
|
|
{{- tpl .Values.slave.configmap . | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.slave.disableCommands }}
|
|
{{- range .Values.slave.disableCommands }}
|
|
rename-command {{ . }} ""
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- if .Values.sentinel.enabled }}
|
|
sentinel.conf: |-
|
|
dir "/tmp"
|
|
bind 0.0.0.0
|
|
port {{ .Values.sentinel.port }}
|
|
sentinel monitor {{ .Values.sentinel.masterSet }} {{ template "redis.fullname" . }}-master-0.{{ template "redis.fullname" . }}-headless.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }} {{ .Values.redisPort }} {{ .Values.sentinel.quorum }}
|
|
sentinel down-after-milliseconds {{ .Values.sentinel.masterSet }} {{ .Values.sentinel.downAfterMilliseconds }}
|
|
sentinel failover-timeout {{ .Values.sentinel.masterSet }} {{ .Values.sentinel.failoverTimeout }}
|
|
sentinel parallel-syncs {{ .Values.sentinel.masterSet }} {{ .Values.sentinel.parallelSyncs }}
|
|
{{- if .Values.sentinel.configmap }}
|
|
# User-supplied sentinel configuration:
|
|
{{- tpl .Values.sentinel.configmap . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|