forked from adfinis/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
86 lines (78 loc) · 2.6 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Default values for kubernetes-etcd-backup.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
backup:
# -- Sub directory path
subdir: "/"
# -- Directory name of single backup
dirname: "+etcd-backup-%FT%T%:z"
# -- expiretype could be days (keep backups newer than backup.keepdays,
# count (keep a number of backups with backup.keepcount),
# never (do not expire backups, keep all of them)
expiretype: "days"
# -- Retention period
keepdays: "30"
# -- Count retention if expiretype set to count
keepcount: "10"
# -- Backup schedule
schedule: "0 0 * * *"
# -- Set umask during the backup
umask: "0027"
etcdConfiguration:
# -- Etcd endpoint ip or hostname without protocol or port
endpoint: "changeme"
etcdCertification:
# -- etcd-peer-tls secret name
etcdPeerTlsName: "changeme"
# -- etcd-server-ca secret name
etcdServerCaName: "changeme"
persistence:
# -- Set reclaim policy (Retain or Delete)
reclaimPolicy: Retain
# -- Define the storage size
capacity: 10Gi
nfs:
# -- Enable nfs backend storage
enabled: false
# -- NFS server name or IP
server: example.com
# -- NFS server path
path: "nfs/example/path"
provisioning:
# -- Enable provisioned backend storage with default or configured storageClass
enabled: false
storageClass: ""
image:
# -- Repository image to use
repository: ghcr.io/adfinis/kubernetes-etcd-backup
# -- Image pull policy configuration
pullPolicy: Always
# -- Overrides the image tag whose default is the chart appVersion.
tag: "latest"
nameOverride: ""
fullnameOverride: ""
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
monitoring:
# -- Deploy PrometheusRule to be alerted in case of backup fails as decribed [here](https://github.com/adfinis/kubernetes-etcd-backup/blob/main/etcd-backup-cronjob-monitor.PrometheusRule.yaml).
enabled: false
rules:
# -- Deploy PrometheusRule to check for cronjob fails.
cronjobMonitor: true
# -- Provide custom recording or alerting rules to be deployed into the cluster.
additionalRules:
# rule-name:
# groups:
# - name: my_group
# rules:
# - record: my_record
# expr: 100 * my_record