chore(helm): clickhouse backup
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
5bfe1caf4b
commit
5fe056071c
2 changed files with 23 additions and 0 deletions
|
|
@ -27,6 +27,24 @@ spec:
|
|||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}-backup
|
||||
env:
|
||||
{{- range $key, $value := .Values.env }}
|
||||
- name: "{{ $key }}"
|
||||
value: "{{ $value }}"
|
||||
{{- end }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.backupImage.repository }}:{{ .Values.backupImage.tag }}"
|
||||
imagePullPolicy: {{ .Values.backupImage.pullPolicy }}
|
||||
args:
|
||||
- server
|
||||
ports:
|
||||
- containerPort: 7171
|
||||
name: backup-web
|
||||
volumeMounts:
|
||||
- name: default-chi-openreplay-clickhouse-replicated-0-0-0
|
||||
mountPath: /var/lib/clickhouse
|
||||
- name: {{ .Chart.Name }}
|
||||
env:
|
||||
{{- range $key, $value := .Values.env }}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,11 @@ image:
|
|||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "22.2.2.1"
|
||||
|
||||
backupImage:
|
||||
repository: alexakulov/clickhouse-backup
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "latest"
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue