File tree 4 files changed +13
-8
lines changed
assets/helm-chart/katafygio
4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: katafygio
5
5
home : https://github.com/bpineau/katafygio
6
6
sources :
7
7
- https://github.com/bpineau/katafygio
8
- version : 0.4.2
8
+ version : 0.4.3
9
9
keywords :
10
10
- backup
11
11
- dump
Original file line number Diff line number Diff line change @@ -47,11 +47,12 @@ The following table lists the configurable parameters of the Katafygio chart and
47
47
48
48
| Parameter | Description | Default |
49
49
| -------------------------| -------------------------------------------------------------| --------------------------------------|
50
- | ` replicaCount ` | Desired number of pods | ` 1 ` |
50
+ | ` replicaCount ` | Desired number of pods (leave to ` 1 ` when using local PV) | ` 1 ` |
51
51
| ` image.repository ` | Katafygio container image name | ` bpineau/katafygio ` |
52
52
| ` image.tag ` | Katafygio container image tag | ` v0.7.3 ` |
53
53
| ` image.pullPolicy ` | Katafygio container image pull policy | ` IfNotPresent ` |
54
54
| ` localDir ` | Container's local path where Katafygio will dump and commit | ` /tmp/kf-dump ` |
55
+ | ` gitTimeout ` | Deadline for all git commands | ` 300s ` |
55
56
| ` gitUrl ` | Optional remote repository where changes will be pushed | ` nil ` |
56
57
| ` noGit ` | Disable git versioning | ` false ` |
57
58
| ` filter ` | Label selector to dump only matched objects | ` nil ` |
Original file line number Diff line number Diff line change 1
- apiVersion : apps/v1beta2
1
+ apiVersion : apps/v1
2
2
kind : Deployment
3
3
metadata :
4
4
name : {{ template "katafygio.fullname" . }}
@@ -7,6 +7,8 @@ metadata:
7
7
{{ include "katafygio.labels.standard" . | indent 4 }}
8
8
spec :
9
9
replicas : {{ .Values.replicaCount }}
10
+ strategy :
11
+ type : Recreate
10
12
selector :
11
13
matchLabels :
12
14
app : {{ template "katafygio.name" . }}
74
76
httpGet :
75
77
path : /health
76
78
port : http
77
- {{- if and .Values.gitSshKey .Values.gitUrl }}
78
79
volumeMounts :
80
+ - name : {{ template "katafygio.fullname" . }}-data
81
+ mountPath : {{ .Values.localDir }}
82
+ {{- if and .Values.gitSshKey .Values.gitUrl }}
79
83
- name : katafygio-gitssh
80
84
mountPath : " /.ssh"
81
85
readOnly : true
89
93
secretName : {{ template "katafygio.fullname" . }}
90
94
defaultMode : 256
91
95
{{- end }}
92
- - name : katafygio-data
96
+ - name : {{ template " katafygio.fullname" . }} -data
93
97
{{- if .Values.persistence.enabled }}
94
98
persistentVolumeClaim :
95
99
claimName : {{ .Values.persistence.existingClaim | default (include "katafygio.fullname" .) }}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ gitSshConfig: |
27
27
healthcheckPort : 8080
28
28
29
29
# logLevel can be info, warning, error, or fatal.
30
- logLevel : warning
30
+ logLevel : info
31
31
# logOutput can be stdout, stderr, or syslog.
32
32
logOutput : stdout
33
33
# logServer (optional) provide the address of a remote syslog server.
@@ -55,7 +55,7 @@ resyncInterval: 300
55
55
localDir : " /var/lib/katafygio/data"
56
56
57
57
# persistence for the localDir dump directory. Note that configuring gitUrl
58
- # is an other way to achieve persistence.
58
+ # is an other way to achieve persistence (to a remote git repository) .
59
59
persistence :
60
60
enabled : true
61
61
# # If defined, storageClassName: <storageClass>
@@ -87,7 +87,7 @@ serviceAccount:
87
87
88
88
image :
89
89
repository : bpineau/katafygio
90
- tag : v0.7.3
90
+ tag : v0.7.4
91
91
pullPolicy : IfNotPresent
92
92
93
93
# resources define the deployment's cpu and memory resources.
You can’t perform that action at this time.
0 commit comments