-
Notifications
You must be signed in to change notification settings - Fork 880
/
values.yaml
203 lines (175 loc) · 5.13 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
# Default values for dragonfly.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- Number of replicas to deploy
replicaCount: 1
image:
# -- Container Image Registry to pull the image from
repository: docker.dragonflydb.io/dragonflydb/dragonfly
# -- Dragonfly image pull policy
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
# -- Container Registry Secret names in an array
imagePullSecrets: []
# -- String to partially override dragonfly.fullname
nameOverride: ""
# -- String to fully override dragonfly.fullname
fullnameOverride: ""
serviceAccount:
# -- Specifies whether a service account should be created
create: true
# -- Annotations to add to the service account
annotations: {}
# -- The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# -- Annotations for pods
podAnnotations: {}
# -- Set securityContext for pod itself
podSecurityContext: {}
# fsGroup: 2000
# -- Set securityContext for containers
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
# -- Service type to provision. Can be NodePort, ClusterIP or LoadBalancer
type: ClusterIP
# -- Load balancer static ip to use when service type is set to LoadBalancer
loadBalancerIP: ""
# -- Dragonfly service port
port: 6379
# -- Extra annotations for the service
annotations: {}
# -- Extra labels for the service
lablels: {}
metrics:
# -- name for the metrics port
portName: metrics
# -- serviceType for the metrics service
serviceType: ClusterIP
serviceMonitor:
# -- If true, a ServiceMonitor CRD is created for a prometheus operator
enabled: false
# -- namespace in which to deploy the ServiceMonitor CR. defaults to the application namespace
namespace: ""
# -- additional labels to apply to the metrics
labels: {}
# -- additional annotations to apply to the metrics
annotations: {}
# -- scrape interval
interval: 10s
# -- scrape timeout
scrapeTimeout: 10s
prometheusRule:
# -- Deploy a PrometheusRule
enabled: false
# -- PrometheusRule.Spec
# https://awesome-prometheus-alerts.grep.to/rules
spec: []
storage:
# -- If /data should persist. This will provision a StatefulSet instead.
enabled: false
# -- Global StorageClass for Persistent Volume(s)
storageClassName: ""
# -- Volume size to request for the PVC
requests: 128Mi
tls:
# -- enable TLS
enabled: false
# -- use cert-manager to automatically create the certificate
createCerts: false
# -- duration or ttl of the validity of the created certificate
duration: 87600h0m0s
issuer:
# -- cert-manager issuer kind. Usually Issuer or ClusterIssuer
kind: ClusterIssuer
# -- name of the referenced issuer
name: selfsigned
# -- use TLS certificates from existing secret
existing_secret: ""
# -- TLS certificate
cert: ""
# cert: |
# -----BEGIN CERTIFICATE-----
# MIIDazCCAlOgAwIBAgIUfV3ygaaVW3+yzK5Dq6Aw6TsZ494wDQYJKoZIhvcNAQEL
# ...
# BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
# zJAL4hNw4Tr6E52fqdmX
# -----END CERTIFICATE-----
# -- TLS private key
key: ""
# key: |
# -----BEGIN RSA PRIVATE KEY-----
# MIIEpAIBAAKCAQEAxeD5iQGQpCUlksFvjzzAxPTw6DMJd3MpifV+HoBY4LiTyDer
# ...
# HLunol88AeTOcKfD6hBYGvcRfu5NV29jJxZCOBfbFQXjnNlnrhRCag==
# -----END RSA PRIVATE KEY-----
# If enabled will set DFLY_PASSOWRD environment variable with the specified existing secret value
# Note that if enabled and the secret does not exist pods will not start
passwordFromSecret:
enable: false
existingSecret:
name: ""
key: ""
probes:
livenessProbe:
exec:
command:
- /bin/sh
- /usr/local/bin/healthcheck.sh
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
readinessProbe:
exec:
command:
- /bin/sh
- /usr/local/bin/healthcheck.sh
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
# -- Allow overriding the container's command
command: []
# -- Extra arguments to pass to the dragonfly binary
extraArgs: []
# -- Extra volumes to mount into the pods
extraVolumes: []
# -- Extra volume mounts corresponding to the volumes mounted above
extraVolumeMounts: []
# -- A list of initContainers to run before each pod starts
initContainers: []
# -- Additional sidecar containers
extraContainers: []
# -- extra K8s manifests to deploy
extraObjects: []
# - apiVersion: cert-manager.io/v1
# kind: ClusterIssuer
# metadata:
# name: selfsigned
# spec:
# selfSigned: {}
resources:
# -- The requested resources for the containers
requests: {}
# cpu: 100m
# memory: 128Mi
# -- The resource limits for the containers
limits: {}
# cpu: 100m
# memory: 128Mi
# -- Node labels for pod assignment
nodeSelector: {}
# -- Tolerations for pod assignment
tolerations: []
# -- Affinity for pod assignment
affinity: {}