-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
204 lines (178 loc) · 5.53 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
204
# Default values for redisinsight.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Replica count
# https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
replicaCount: 1
# Container Image Parameters
# https://kubernetes.io/docs/concepts/containers/images/
image:
repository: redis/redisinsight
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# Pull an Image from a Private Registry
# https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
# String for overrides release name whose default is the redisinsight.fullname
nameOverride: "redisinsight"
fullnameOverride: ""
# Update strategy whose default is the RollingUpdate.
# https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/
strategyUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
# Service Accounts
# https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount:
# Specifies whether a service account should be created
create: false
# Automatically mount a ServiceAccount's API credentials?
automount: 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: ""
# Custom pod annotations
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations:
prometheus.io/path: /api/health
prometheus.io/port: "5540"
prometheus.io/scrape: "true"
podLabels: {}
# Configure a Security Context for a Pod or Container
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
podSecurityContext:
runAsUser: 1000
runAsNonRoot: true
runAsGroup: 1000
fsGroup: 1000
# Configure a Security Context for a Pod or Container
# https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# Custom commands and arguments
containersSpec:
command: []
args: []
# Add extra environments variables from ConfigMap and Secret
extraEnv: []
# - secretRef:
# name: redisinsight-secret
# - configMapRef:
# name: redisinsight-configmap
# Environment variables
env:
- name: TZ
value: "Europe/Moscow"
- name: RI_APP_PORT
value: "5540"
- name: RI_APP_HOST
value: "0.0.0.0"
- name: RI_SERVER_TLS_KEY
value: ""
- name: RI_SERVER_TLS_CERT
value: ""
- name: RI_ENCRYPTION_KEY
value: ""
- name: RI_LOG_LEVEL
value: "info"
- name: RI_FILES_LOGGER
value: "false"
- name: RI_STDOUT_LOGGER
value: "true"
# Add extra molume mounts
extraVolumeMounts:
- name: redisinsight-data
mountPath: /data
# Add extra volume
extraVolume:
- name: redisinsight-data
persistentVolumeClaim:
# Persistent Volume Claim name whose default is the {{ .Chart.Name }}
claimName: "redisinsight-pvc"
# Ports and Protocols
# https://kubernetes.io/docs/reference/networking/ports-and-protocols/
ports:
- name: http
containerPort: 5540
protocol: TCP
# Configure Liveness, Readiness and Startup Probes
# https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
probe:
enabled: true
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
failureThreshold: 5
httpGet:
path: /
port: http
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
initialDelaySeconds: 60
# Configuration service
service:
type: ClusterIP
port: 8080
# Configuration ingress
ingress:
enabled: true
className: ""
annotations: {}
# nginx.ingress.kubernetes.io/auth-type: basic
# nginx.ingress.kubernetes.io/auth-realm: Authentication Required
# nginx.ingress.kubernetes.io/auth-secret: redisinsight-basic-auth-secret
hosts:
- host: redisinsight.example.com
paths:
- path: /
pathType: Prefix
# If use SSL connection
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# Resource definition
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: 500m
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
# Persistent Volume Claim
# https://kubernetes.io/docs/concepts/storage/persistent-volumes/
persistentVolumeClaim:
enabled: true
name: redisinsight-pvc
storageClass: ""
accessModes:
- ReadWriteOnce
storage: 100Mi
# NodeSelector is the simplest recommended form of node selection constraint.
# You can add the nodeSelector field to your Pod specification and specify the node labels you want the target node to have.
# Kubernetes only schedules the Pod onto nodes that have each of the labels you specify.
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
nodeSelector: {}
# Taints and Tolerations
# https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations: []
# Affinity and Anti-Affinity
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
affinity: {}