-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathvalues.yaml
280 lines (239 loc) · 8.71 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
# Default values for LocalStack
# Declare variables to be passed into your templates
replicaCount: 1
## @param updateStrategy.type deployment strategy type
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
## NOTE: Set it to `Recreate` if you use a PV that cannot be mounted on multiple pods
##
updateStrategy:
type: RollingUpdate
image:
repository: localstack/localstack
tag: "latest"
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
## @param extraDeploy Extra objects to deploy (value evaluated as a template)
##
extraDeploy: []
## @param extraAnnotations Add additional annotations to every resource (value evaluated as a template)
extraAnnotations: {}
## @param extraLabels Add additional labels to every resource (value evaluated as a template)
extraLabels: {}
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: ""
role:
# Specifies whether a role & rolebinding with pods / * permissions should be created for the service account
# Necessary for kubernetes lambda executor
create: true
# Annotations to add to the role and rolebinding
annotations: {}
# The name of the role and rolebinding to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podLabels: {}
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
debug: false
## @param command Allows you to set an arbitrary command on startup (instead of the default entrypoint script)
##
command: []
## @param dnsPolicy Allows you to set the Pod dnsPolicy.
## The default is actually ClusterFirst. Uncomment this to avoid a circular DNS path that will
## cause the LocalStack instance to crash.
## Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
# dnsPolicy: "Default"
startServices: ""
# Comma-separated list of AWS CLI service names which are the only ones allowed to be used (other services will then by default be prevented from being loaded).
# kinesisErrorProbability: 0.0
# lambdaExecutor: ""
# This will enable the Docker daemon binding and allow
# Localstack to provide Lambdas and other AWS services
# who got container runtime dependencies
mountDind:
enabled: false
forceTLS: true
image: "docker:20.10-dind"
## All the parameters from the configuatioan can be added using extraEnvVars.
## Ref. https://docs.localstack.cloud/references/configuration/
## extraEnvVars:
## - name: DEFAULT_REGION
## value: "us-east-1"
## - name: SERVICES
## value: "serverless,sqs,es"
extraEnvVars: []
## envFrom Allows you to set additional environment variables from a ConfigMap or Secret
## - configMapRef:
## name: configmap-name
envFrom: []
livenessProbe:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 5
readinessProbe:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 5
service:
type: NodePort
annotations: {}
ipFamilies: []
ipFamilyPolicy: ""
externalTrafficPolicy: ""
edgeService:
name: edge
targetPort: 4566
nodePort: 31566
externalServicePorts:
start: 4510
end: 4560
## @param service.externalServicePorts.nodePortStart specifies the starting node ports the serviceports are mapped to
## has to be in the node port range configured. See https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
# nodePortStart: 31510
## @param service.dnsService Enables or disables the exposure of the LocalStack DNS
##
dnsService: false
## @param service.clusterIP sets a static clusterIP. This is useful alongside the LocalStack DNS setup
## see https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#configuration-of-stub-domain-and-upstream-nameserver-using-coredns for an example of DNS delegation in Coredns
##
clusterIP: ""
ingress:
enabled: false
annotations: {}
## @param ingress.ingressClassName Set the name of the class to use
##
ingressClassName: ""
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
persistence:
## @param persistence.enabled Enable persistence using Persistent Volume Claims
##
enabled: false
## @param persistence.storageClass Persistent Volume storage class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
##
storageClass: ""
## @param persistence.accessModes [array] Persistent Volume access modes
##
accessModes:
- ReadWriteOnce
## @param persistence.size Persistent Volume size
##
size: 8Gi
## @param persistence.dataSource Custom PVC data source
##
dataSource: {}
## @param persistence.existingClaim The name of an existing PVC to use for persistence
##
existingClaim: ""
## @param persistence.subPath The name of a volume's sub path to mount for persistence
##
subPath: ""
## @param persistence.annotations Annotations to be added to PVC
##
annotations: {}
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
# All settings inside the lambda values section are only applicable to the new v2 lambda provider
lambda:
# The lambda runtime executor.
# Depending on the value, LocalStack will execute lambdas either in docker containers or in kubernetes pods
# The value "kubernetes" depends on the service account and pod role being activated
executor: "docker"
# Image prefix for the kubernetes lambda images. The images will have to be pushed to that repository.
# Only applicable when executor is set to "kubernetes"
# Example: python3.9 runtime -> localstack/lambda-python:3.9
image_prefix: "localstack/lambda-"
# Timeout for spawning new lambda execution environments.
# After that timeout, the environment (in essence pod/docker container) will be killed and restarted
# Increase if spawning pods / docker containers takes longer in your environment
environment_timeout: 60
# Labels which will be assigned to the kubernetes pods spawned by the kubernetes executor.
# They will be set on all spawned pods.
# Only applicable when executor is set to "kubernetes"
labels: {}
# labels:
# label1: value1
# label2: value2
# label3: value3
#
# Security context to be set on the kubernetes pods spawned by the kubernetes executor.
# It will be set on all spawned pods.
# Only applicable when executor is set to "kubernetes"
security_context: {}
# security_context:
# runAsUser: 1000
# fsGroup: 1000
# label3: value3
nodeSelector: {}
tolerations: []
affinity: {}
# Mount /etc/localstack/init/ready.d to run startup scripts with
# {{ template "localstack.fullname" . }}-init-scripts-config configMap
enableStartupScripts: false
# Add startup scripts content used by {{ template "localstack.fullname" . }}-init-scripts-config configMap
# to run at localstack startup
# startupScriptContent: |
# awslocal s3 mb s3://testbucket
# awslocal sqs create-queue --queue-name test-queue
startupScriptContent: ""
# @param volumes Extra volumes to mount
volumes: []
# - hostPath:
# path: <HOST_PATH>
# name: <VOLUME_NAME>
# Helm test controls
tests:
# An option to enable/disable helm tests from values (useful if subcharting localstack
# as other chart tests may make this test redundant)
enabled: true
# Amazon's aws-cli image is used for all tests. Update this if specific repository
# or tag is needed for an environment
image:
repository: amazon/aws-cli
tag: latest
# @param volumeMounts Extra volumes to mount
volumeMounts: []
# - name: <VOLUME_NAME>
# mountPath: <CONTAINER_PATH>
# readOnly: true
## @param priorityClassName Allows you to set the priorityClassName for the pod
## The default is not to set any priorityClassName
# priorityClassName: ""