DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
seaweedfs logoHELM

seaweedfs

Helm chart
iamguarded
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# This file has been modified by Chainguard, Inc.
2
#
3
# Copyright Chainguard, Inc. All Rights Reserved.
4
# Chainguard, Inc. modifications are subject to the license
5
# available at: https://www.chainguard.dev/legal/software-license-agreement
6
#
7
# Copyright Broadcom, Inc. All Rights Reserved.
8
# SPDX-License-Identifier: APACHE-2.0
9
10
## @section Global parameters
11
## Global Docker image parameters
12
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
14
##
15
16
## @param global.imageRegistry Global Docker image registry
17
## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
18
## @param global.imagePullSecrets Global Docker registry secret names as an array
19
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
20
##
21
global:
22
imageRegistry: ""
23
useImageTags: false
24
## e.g:
25
## imagePullSecrets:
26
## - myRegistryKeySecretName
27
##
28
imagePullSecrets: []
29
defaultStorageClass: ""
30
## Security parameters
31
##
32
security:
33
## @param global.security.allowInsecureImages Allows skipping image verification
34
allowInsecureImages: false
35
## Compatibility adaptations for Kubernetes platforms
36
##
37
compatibility:
38
## Compatibility adaptations for Openshift
39
##
40
openshift:
41
## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
42
##
43
adaptSecurityContext: auto
44
org: ""
45
## @section Common parameters
46
##
47
48
## @param kubeVersion Override Kubernetes version
49
##
50
kubeVersion: ""
51
## @param nameOverride String to partially override common.names.name
52
##
53
nameOverride: ""
54
## @param fullnameOverride String to fully override common.names.fullname
55
##
56
fullnameOverride: ""
57
## @param namespaceOverride String to fully override common.names.namespace
58
##
59
namespaceOverride: ""
60
## @param commonLabels Labels to add to all deployed objects
61
##
62
commonLabels: {}
63
## @param commonAnnotations Annotations to add to all deployed objects
64
##
65
commonAnnotations: {}
66
## @param clusterDomain Kubernetes cluster domain name
67
##
68
clusterDomain: cluster.local
69
## @param extraDeploy Array of extra objects to deploy with the release
70
##
71
extraDeploy: []
72
## Diagnostic mode
73
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
74
## @param diagnosticMode.command Command to override all containers in the chart release
75
## @param diagnosticMode.args Args to override all containers in the chart release
76
##
77
diagnosticMode:
78
enabled: false
79
command:
80
- sleep
81
args:
82
- infinity
83
## Iamguarded SeaweedFS image
84
## @param image.registry [default: REGISTRY_NAME] SeaweedFS image registry
85
## @param image.repository [default: REPOSITORY_NAME/seaweedfs] SeaweedFS image repository
86
## @skip image.tag SeaweedFS image tag (immutable tags are recommended)
87
## @param image.digest SeaweedFS image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
88
## @param image.pullPolicy SeaweedFS image pull policy
89
## @param image.pullSecrets SeaweedFS image pull secrets
90
## @param image.debug Enable SeaweedFS image debug mode
91
##
92
image:
93
registry: cgr.dev
94
repository: chainguard-private/seaweedfs-iamguarded
95
tag: 4.56-r0
96
digest: ""
97
## Specify a imagePullPolicy
98
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
99
##
100
pullPolicy: IfNotPresent
101
## Optionally specify an array of imagePullSecrets.
102
## Secrets must be manually created in the namespace.
103
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
104
## e.g:
105
## pullSecrets:
106
## - myRegistryKeySecretName
107
##
108
pullSecrets: []
109
debug: false
110
## Security parameters
111
##
112
security:
113
## @param security.enabled Enable Security settings
114
##
115
enabled: false
116
## @param security.corsAllowedOrigins CORS allowed origins
117
##
118
corsAllowedOrigins: "*"
119
## JWT authz parameters
120
## ref: https://github.com/seaweedfs/seaweedfs/wiki/Security-Overview#securing-volume-servers
121
## ref: https://github.com/seaweedfs/seaweedfs/wiki/Security-Overview#securing-filer-http-with-jwt
122
## @param security.jwtSigning.volumeWrite Enable JWT signing for volume write operations
123
## @param security.jwtSigning.volumeRead Enable JWT signing for volume read operations
124
## @param security.jwtSigning.filerWrite Enable JWT signing for filer write operations
125
## @param security.jwtSigning.filerRead Enable JWT signing for filer read operations
126
##
127
jwtSigning:
128
volumeWrite: true
129
volumeRead: false
130
filerWrite: false
131
filerRead: false
132
## Mutual TLS for gRPC communications
133
## ref: https://github.com/seaweedfs/seaweedfs/wiki/Security-Overview#securing-grpc-operations
134
##
135
mTLS:
136
## @param security.mTLS.enabled Enable mTLS for gRPC communications
137
##
138
enabled: false
139
## @param security.mTLS.autoGenerated.enabled Enable automatic generation of certificates for mTLS
140
## @param security.mTLS.autoGenerated.engine Mechanism to generate the certificates (allowed values: helm, cert-manager)
141
autoGenerated:
142
enabled: false
143
engine: helm
144
## @param security.mTLS.autoGenerated.certManager.existingIssuer The name of an existing Issuer to use for generating the certificates (only for `cert-manager` engine)
145
## @param security.mTLS.autoGenerated.certManager.existingIssuerKind Existing Issuer kind, defaults to Issuer (only for `cert-manager` engine)
146
## @param security.mTLS.autoGenerated.certManager.keyAlgorithm Key algorithm for the certificates (only for `cert-manager` engine)
147
## @param security.mTLS.autoGenerated.certManager.keySize Key size for the certificates (only for `cert-manager` engine)
148
## @param security.mTLS.autoGenerated.certManager.duration Duration for the certificates (only for `cert-manager` engine)
149
## @param security.mTLS.autoGenerated.certManager.renewBefore Renewal period for the certificates (only for `cert-manager` engine)
150
certManager:
151
existingIssuer: ""
152
existingIssuerKind: ""
153
keySize: 2048
154
keyAlgorithm: RSA
155
duration: 2160h
156
renewBefore: 360h
157
## @param security.mTLS.ca CA certificate for mTLS. Ignored if `security.mTLS.existingCASecret` is set
158
## @param security.mTLS.existingCASecret The name of an existing Secret containing the CA certificate for mTLS
159
## @param security.mTLS.master.cert Master Server certificate for mTLS. Ignored if `security.mTLS.master.existingSecret` is set
160
## @param security.mTLS.master.key Master Server key for mTLS. Ignored if `security.mTLS.master.existingSecret` is set
161
## @param security.mTLS.master.existingSecret The name of an existing Secret containing the Master Server certificates for mTLS
162
## @param security.mTLS.volume.cert Volume Server certificate for mTLS. Ignored if `security.mTLS.volume.existingSecret` is set
163
## @param security.mTLS.volume.key Volume Server key for mTLS. Ignored if `security.mTLS.volume.existingSecret` is set
164
## @param security.mTLS.volume.existingSecret The name of an existing Secret containing the Volume Server certificates for mTLS
165
## @param security.mTLS.filer.cert Filer certificate for mTLS. Ignored if `security.mTLS.filer.existingSecret` is set
166
## @param security.mTLS.filer.key Filer key for mTLS. Ignored if `security.mTLS.filer.existingSecret` is set
167
## @param security.mTLS.filer.existingSecret The name of an existing Secret containing the Filer certificates for mTLS
168
## @param security.mTLS.client.cert Client certificate for mTLS. Ignored if `security.mTLS.client.existingSecret` is set
169
## @param security.mTLS.client.key Client key for mTLS. Ignored if `security.mTLS.client.existingSecret` is set
170
## @param security.mTLS.client.existingSecret The name of an existing Secret containing the Client certificates for mTLS
171
ca: ""
172
existingCASecret: ""
173
master:
174
cert: ""
175
key: ""
176
existingSecret: ""
177
volume:
178
cert: ""
179
key: ""
180
existingSecret: ""
181
filer:
182
cert: ""
183
key: ""
184
existingSecret: ""
185
client:
186
cert: ""
187
key: ""
188
existingSecret: ""
189
## @param clusterDefault Default SeaweedFS cluster name
190
##
191
clusterDefault: sw
192
## @section Master Server Parameters
193
##
194
master:
195
## @param master.replicaCount Number of Master Server replicas to deploy
196
##
197
replicaCount: 1
198
## @param master.containerPorts.http Master Server HTTP container port
199
## @param master.containerPorts.grpc Master Server GRPC container port
200
## @param master.containerPorts.metrics Master Server metrics container port
201
##
202
containerPorts:
203
http: 9333
204
grpc: 19333
205
metrics: 9327
206
## @param master.extraContainerPorts Optionally specify extra list of additional ports for Master Server containers
207
## e.g:
208
## extraContainerPorts:
209
## - name: myservice
210
## containerPort: 9090
211
##
212
extraContainerPorts: []
213
## Configure extra options for Master Server containers' liveness and readiness probes
214
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
215
## @param master.livenessProbe.enabled Enable livenessProbe on Master Server containers
216
## @param master.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
217
## @param master.livenessProbe.periodSeconds Period seconds for livenessProbe
218
## @param master.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
219
## @param master.livenessProbe.failureThreshold Failure threshold for livenessProbe
220
## @param master.livenessProbe.successThreshold Success threshold for livenessProbe
221
##
222
livenessProbe:
223
enabled: true
224
initialDelaySeconds: 30
225
timeoutSeconds: 30
226
periodSeconds: 10
227
successThreshold: 1
228
failureThreshold: 6
229
## @param master.readinessProbe.enabled Enable readinessProbe on Master Server containers
230
## @param master.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
231
## @param master.readinessProbe.periodSeconds Period seconds for readinessProbe
232
## @param master.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
233
## @param master.readinessProbe.failureThreshold Failure threshold for readinessProbe
234
## @param master.readinessProbe.successThreshold Success threshold for readinessProbe
235
##
236
readinessProbe:
237
enabled: true
238
initialDelaySeconds: 30
239
timeoutSeconds: 30
240
periodSeconds: 10
241
successThreshold: 1
242
failureThreshold: 6
243
## @param master.startupProbe.enabled Enable startupProbe on Master Server containers
244
## @param master.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
245
## @param master.startupProbe.periodSeconds Period seconds for startupProbe
246
## @param master.startupProbe.timeoutSeconds Timeout seconds for startupProbe
247
## @param master.startupProbe.failureThreshold Failure threshold for startupProbe
248
## @param master.startupProbe.successThreshold Success threshold for startupProbe
249
##
250
startupProbe:
251
enabled: false
252
initialDelaySeconds: 5
253
periodSeconds: 5
254
timeoutSeconds: 1
255
failureThreshold: 15
256
successThreshold: 1
257
## @param master.customLivenessProbe Custom livenessProbe that overrides the default one
258
##
259
customLivenessProbe: {}
260
## @param master.customReadinessProbe Custom readinessProbe that overrides the default one
261
##
262
customReadinessProbe: {}
263
## @param master.customStartupProbe Custom startupProbe that overrides the default one
264
##
265
customStartupProbe: {}
266
## Master Server resource requests and limits
267
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
268
## @param master.resourcesPreset Set Master Server container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if master.resources is set (master.resources is recommended for production).
269
##
270
resourcesPreset: "nano"
271
## @param master.resources Set Master Server container requests and limits for different resources like CPU or memory (essential for production workloads)
272
## Example:
273
## resources:
274
## requests:
275
## cpu: 2
276
## memory: 512Mi
277
## limits:
278
## cpu: 3
279
## memory: 1024Mi
280
##
281
resources: {}
282
## Configure Pods Security Context
283
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
284
## @param master.podSecurityContext.enabled Enable Master Server pods' Security Context
285
## @param master.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Master Server pods
286
## @param master.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Master Server pods
287
## @param master.podSecurityContext.supplementalGroups Set filesystem extra groups for Master Server pods
288
## @param master.podSecurityContext.fsGroup Set fsGroup in Master Server pods' Security Context
289
##
290
podSecurityContext:
291
enabled: true
292
fsGroupChangePolicy: Always
293
sysctls: []
294
supplementalGroups: []
295
fsGroup: 1001
296
## Configure Container Security Context
297
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
298
## @param master.containerSecurityContext.enabled Enabled Master Server container' Security Context
299
## @param master.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Master Server container
300
## @param master.containerSecurityContext.runAsUser Set runAsUser in Master Server container' Security Context
301
## @param master.containerSecurityContext.runAsGroup Set runAsGroup in Master Server container' Security Context
302
## @param master.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Master Server container' Security Context
303
## @param master.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Master Server container' Security Context
304
## @param master.containerSecurityContext.privileged Set privileged in Master Server container' Security Context
305
## @param master.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Master Server container' Security Context
306
## @param master.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Master Server container
307
## @param master.containerSecurityContext.seccompProfile.type Set seccomp profile in Master Server container
308
##
309
containerSecurityContext:
310
enabled: true
311
seLinuxOptions: {}
312
runAsUser: 1001
313
runAsGroup: 1001
314
runAsNonRoot: true
315
readOnlyRootFilesystem: true
316
privileged: false
317
allowPrivilegeEscalation: false
318
capabilities:
319
drop: ["ALL"]
320
seccompProfile:
321
type: "RuntimeDefault"
322
## @param master.logLevel Master Server log level (0, 1, 2, 3, or 4)
323
##
324
logLevel: 1
325
## @param master.bindAddress Master Server bind address
326
##
327
bindAddress: 0.0.0.0
328
## @param master.volumeSizeLimitMB Limit (in MB) to stop directing writes to oversized volumes
329
##
330
volumeSizeLimitMB: 1000
331
## @param master.config Master Server configuration
332
## Specify content for master.toml
333
##
334
config: ""
335
## @param master.existingConfigmap The name of an existing ConfigMap with your custom configuration for Master Server
336
##
337
existingConfigmap: ""
338
## @param master.command Override default Master Server container command (useful when using custom images)
339
##
340
command: []
341
## @param master.args Override default Master Server container args (useful when using custom images)
342
##
343
args: []
344
## @param master.automountServiceAccountToken Mount Service Account token in Master Server pods
345
##
346
automountServiceAccountToken: false
347
## @param master.hostAliases Master Server pods host aliases
348
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
349
##
350
hostAliases: []
351
## @param master.statefulsetAnnotations Annotations for Master Server StatefulSet
352
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
353
##
354
statefulsetAnnotations: {}
355
## @param master.podLabels Extra labels for Master Server pods
356
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
357
##
358
podLabels: {}
359
## @param master.podAnnotations Annotations for Master Server pods
360
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
361
##
362
podAnnotations: {}
363
## @param master.podAffinityPreset Pod affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
364
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
365
##
366
podAffinityPreset: ""
367
## @param master.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
368
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
369
##
370
podAntiAffinityPreset: soft
371
## Node master.affinity preset
372
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
373
##
374
nodeAffinityPreset:
375
## @param master.nodeAffinityPreset.type Node affinity preset type. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
376
##
377
type: ""
378
## @param master.nodeAffinityPreset.key Node label key to match. Ignored if `master.affinity` is set
379
##
380
key: ""
381
## @param master.nodeAffinityPreset.values Node label values to match. Ignored if `master.affinity` is set
382
## E.g.
383
## values:
384
## - e2e-az1
385
## - e2e-az2
386
##
387
values: []
388
## @param master.affinity Affinity for Master Server pods assignment
389
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
390
## NOTE: `master.podAffinityPreset`, `master.podAntiAffinityPreset`, and `master.nodeAffinityPreset` will be ignored when it's set
391
##
392
affinity: {}
393
## @param master.nodeSelector Node labels for Master Server pods assignment
394
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
395
##
396
nodeSelector: {}
397
## @param master.tolerations Tolerations for Master Server pods assignment
398
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
399
##
400
tolerations: []
401
## @param master.updateStrategy.type Master Server StatefulSet strategy type
402
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
403
##
404
updateStrategy:
405
## Can be set to RollingUpdate or OnDelete
406
##
407
type: RollingUpdate
408
## @param master.podManagementPolicy Pod management policy for Master Server StatefulSet
409
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
410
##
411
podManagementPolicy: Parallel
412
## @param master.priorityClassName Master Server pods' priorityClassName
413
##
414
priorityClassName: ""
415
## @param master.topologySpreadConstraints Topology Spread Constraints for Master Server pod assignment spread across your cluster among failure-domains
416
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
417
##
418
topologySpreadConstraints: []
419
## @param master.schedulerName Name of the k8s scheduler (other than default) for Master Server pods
420
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
421
##
422
schedulerName: ""
423
## @param master.terminationGracePeriodSeconds Seconds Master Server pods need to terminate gracefully
424
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
425
##
426
terminationGracePeriodSeconds: ""
427
## @param master.lifecycleHooks for Master Server containers to automate configuration before or after startup
428
##
429
lifecycleHooks: {}
430
## @param master.extraEnvVars Array with extra environment variables to add to Master Server containers
431
## e.g:
432
## extraEnvVars:
433
## - name: FOO
434
## value: "bar"
435
##
436
extraEnvVars: []
437
## @param master.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Master Server containers
438
##
439
extraEnvVarsCM: ""
440
## @param master.extraEnvVarsSecret Name of existing Secret containing extra env vars for Master Server containers
441
##
442
extraEnvVarsSecret: ""
443
## @param master.extraVolumes Optionally specify extra list of additional volumes for the Master Server pods
444
##
445
extraVolumes: []
446
## @param master.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Master Server containers
447
##
448
extraVolumeMounts: []
449
## @param master.sidecars Add additional sidecar containers to the Master Server pods
450
## e.g:
451
## sidecars:
452
## - name: your-image-name
453
## image: your-image
454
## imagePullPolicy: Always
455
## ports:
456
## - name: portname
457
## containerPort: 1234
458
##
459
sidecars: []
460
## @param master.initContainers Add additional init containers to the Master Server pods
461
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
462
## e.g:
463
## initContainers:
464
## - name: your-image-name
465
## image: your-image
466
## imagePullPolicy: Always
467
## command: ['sh', '-c', 'echo "hello world"']
468
##
469
initContainers: []
470
## Pod Disruption Budget configuration
471
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
472
## @param master.pdb.create Enable/disable a Pod Disruption Budget creation
473
## @param master.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
474
## @param master.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `master.pdb.minAvailable` and `master.pdb.maxUnavailable` are empty.
475
##
476
pdb:
477
create: true
478
minAvailable: ""
479
maxUnavailable: ""
480
## Autoscaling configuration
481
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
482
## @param master.autoscaling.enabled Enable autoscaling for master
483
## @param master.autoscaling.minReplicas Minimum number of master replicas
484
## @param master.autoscaling.maxReplicas Maximum number of master replicas
485
## @param master.autoscaling.targetCPU Target CPU utilization percentage
486
## @param master.autoscaling.targetMemory Target Memory utilization percentage
487
##
488
autoscaling:
489
enabled: false
490
minReplicas: ""
491
maxReplicas: ""
492
targetCPU: ""
493
targetMemory: ""
494
## @section Master Server Traffic Exposure Parameters
495
##
496
497
## Master Server service parameters
498
##
499
service:
500
## @param master.service.type Master Server service type
501
##
502
type: ClusterIP
503
## @param master.service.ports.http Master Server service HTTP port
504
## @param master.service.ports.grpc Master Server service GRPC port
505
##
506
ports:
507
http: 9333
508
grpc: 19333
509
## Node ports to expose
510
## @param master.service.nodePorts.http Node port for HTTP
511
## @param master.service.nodePorts.grpc Node port for GRPC
512
## NOTE: choose port between <30000-32767>
513
##
514
nodePorts:
515
http: ""
516
grpc: ""
517
## @param master.service.clusterIP Master Server service Cluster IP
518
## e.g.:
519
## clusterIP: None
520
##
521
clusterIP: ""
522
## @param master.service.loadBalancerIP Master Server service Load Balancer IP
523
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
524
##
525
loadBalancerIP: ""
526
## @param master.service.loadBalancerSourceRanges Master Server service Load Balancer sources
527
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
528
## e.g:
529
## loadBalancerSourceRanges:
530
## - 10.10.10.0/24
531
##
532
loadBalancerSourceRanges: []
533
## @param master.service.externalTrafficPolicy Master Server service external traffic policy
534
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
535
##
536
externalTrafficPolicy: Cluster
537
## @param master.service.annotations Additional custom annotations for Master Server service
538
##
539
annotations: {}
540
## @param master.service.extraPorts Extra ports to expose in Master Server service (normally used with the `sidecars` value)
541
##
542
extraPorts: []
543
## @param master.service.sessionAffinity Control where client requests go, to the same pod or round-robin
544
## Values: ClientIP or None
545
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
546
##
547
sessionAffinity: None
548
## @param master.service.sessionAffinityConfig Additional settings for the sessionAffinity
549
## sessionAffinityConfig:
550
## clientIP:
551
## timeoutSeconds: 300
552
##
553
sessionAffinityConfig: {}
554
## Headless service properties
555
##
556
headless:
557
## @param master.service.headless.annotations Annotations for the headless service.
558
##
559
annotations: {}
560
## Network Policies for Master Server
561
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
562
##
563
networkPolicy:
564
## @param master.networkPolicy.enabled Specifies whether a NetworkPolicy should be created for Master Server
565
##
566
enabled: true
567
## @param master.networkPolicy.allowExternal Don't require server label for connections
568
## The Policy model to apply. When set to false, only pods with the correct
569
## server label will have network access to the ports server is listening
570
## on. When true, server will accept connections from any source
571
## (with the correct destination port).
572
##
573
allowExternal: true
574
## @param master.networkPolicy.allowExternalEgress Allow the Master Server pods to access any range of port and all destinations.
575
##
576
allowExternalEgress: true
577
## @param master.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
578
## e.g:
579
## extraIngress:
580
## - ports:
581
## - port: 1234
582
## from:
583
## - podSelector:
584
## - matchLabels:
585
## - role: frontend
586
## - podSelector:
587
## - matchExpressions:
588
## - key: role
589
## operator: In
590
## values:
591
## - frontend
592
extraIngress: []
593
## @param master.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
594
## e.g:
595
## extraEgress:
596
## - ports:
597
## - port: 1234
598
## to:
599
## - podSelector:
600
## - matchLabels:
601
## - role: frontend
602
## - podSelector:
603
## - matchExpressions:
604
## - key: role
605
## operator: In
606
## values:
607
## - frontend
608
##
609
extraEgress: []
610
## @param master.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
611
## @param master.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
612
##
613
ingressNSMatchLabels: {}
614
ingressNSPodMatchLabels: {}
615
## Master Server ingress parameters
616
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
617
##
618
ingress:
619
## @param master.ingress.enabled Enable ingress record generation for Master Server
620
##
621
enabled: false
622
## @param master.ingress.pathType Ingress path type
623
##
624
pathType: ImplementationSpecific
625
## @param master.ingress.apiVersion Force Ingress API version (automatically detected if not set)
626
##
627
apiVersion: ""
628
## @param master.ingress.hostname Default host for the ingress record
629
##
630
hostname: master.seaweedfs.local
631
## @param master.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
632
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
633
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
634
##
635
ingressClassName: ""
636
## @param master.ingress.path Default path for the ingress record
637
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
638
##
639
path: /
640
## @param master.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
641
## Use this parameter to set the required annotations for cert-manager, see
642
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
643
## e.g:
644
## annotations:
645
## kubernetes.io/ingress.class: nginx
646
## cert-manager.io/cluster-issuer: cluster-issuer-name
647
##
648
annotations: {}
649
## @param master.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
650
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
651
## You can:
652
## - Use the `ingress.secrets` parameter to create this TLS secret
653
## - Rely on cert-manager to create it by setting the corresponding annotations
654
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
655
##
656
tls: false
657
## @param master.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
658
##
659
selfSigned: false
660
## @param master.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
661
## e.g:
662
## extraHosts:
663
## - name: master.seaweedfs.local
664
## path: /
665
##
666
extraHosts: []
667
## @param master.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
668
## e.g:
669
## extraPaths:
670
## - path: /*
671
## backend:
672
## serviceName: ssl-redirect
673
## servicePort: use-annotation
674
##
675
extraPaths: []
676
## @param master.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
677
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
678
## e.g:
679
## extraTls:
680
## - hosts:
681
## - master.seaweedfs.local
682
## secretName: master.seaweedfs.local-tls
683
##
684
extraTls: []
685
## @param master.ingress.secrets Custom TLS certificates as secrets
686
## NOTE: 'key' and 'certificate' are expected in PEM format
687
## NOTE: 'name' should line up with a 'secretName' set further up
688
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
689
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
690
## It is also possible to create and manage the certificates outside of this helm chart
691
## Please see README.md for more information
692
## e.g:
693
## secrets:
694
## - name: master.seaweedfs.local-tls
695
## key: |-
696
## -----BEGIN RSA PRIVATE KEY-----
697
## ...
698
## -----END RSA PRIVATE KEY-----
699
## certificate: |-
700
## -----BEGIN CERTIFICATE-----
701
## ...
702
## -----END CERTIFICATE-----
703
##
704
secrets: []
705
## @param master.ingress.extraRules Additional rules to be covered with this ingress record
706
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
707
## e.g:
708
## extraRules:
709
## - host: example.local
710
## http:
711
## path: /
712
## backend:
713
## service:
714
## name: example-svc
715
## port:
716
## name: http
717
##
718
extraRules: []
719
## @section Master Server Persistence Parameters
720
##
721
722
## Enable Master data persistence using Persistent Volume Claims
723
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
724
##
725
persistence:
726
## @param master.persistence.enabled Enable data persistence on Master Server using Persistent Volume Claims
727
##
728
enabled: true
729
## @param master.persistence.mountPath Path to mount the volume at.
730
##
731
mountPath: /data
732
## @param master.persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
733
##
734
subPath: ""
735
## @param master.persistence.storageClass Storage class of backing PVC
736
## If defined, storageClassName: <storageClass>
737
## If set to "-", storageClassName: "", which disables dynamic provisioning
738
## If undefined (the default) or set to null, no storageClassName spec is
739
## set, choosing the default provisioner. (gp2 on AWS, standard on
740
## GKE, AWS & OpenStack)
741
##
742
storageClass: ""
743
## @param master.persistence.annotations Persistent Volume Claim annotations
744
##
745
annotations: {}
746
## @param master.persistence.accessModes Persistent Volume Access Modes
747
##
748
accessModes:
749
- ReadWriteOnce
750
## @param master.persistence.size Size of data volume
751
##
752
size: 8Gi
753
## @param master.persistence.existingClaim The name of an existing PVC to use for data persistence
754
##
755
existingClaim: ""
756
## @param master.persistence.selector Selector to match an existing Persistent Volume for data PVC
757
## If set, the PVC can't have a PV dynamically provisioned for it
758
## E.g.
759
## selector:
760
## matchLabels:
761
## app: my-app
762
##
763
selector: {}
764
## @param master.persistence.dataSource Custom PVC data source
765
##
766
dataSource: {}
767
## Enable Master logs persistence using Persistent Volume Claims
768
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
769
##
770
logPersistence:
771
## @param master.logPersistence.enabled Enable logs persistence on Master Server using Persistent Volume Claims
772
##
773
enabled: false
774
## @param master.logPersistence.mountPath Path to mount the volume at.
775
##
776
mountPath: /logs
777
## @param master.logPersistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
778
##
779
subPath: ""
780
## @param master.logPersistence.storageClass Storage class of backing PVC
781
## If defined, storageClassName: <storageClass>
782
## If set to "-", storageClassName: "", which disables dynamic provisioning
783
## If undefined (the default) or set to null, no storageClassName spec is
784
## set, choosing the default provisioner. (gp2 on AWS, standard on
785
## GKE, AWS & OpenStack)
786
##
787
storageClass: ""
788
## @param master.logPersistence.annotations Persistent Volume Claim annotations
789
##
790
annotations: {}
791
## @param master.logPersistence.accessModes Persistent Volume Access Modes
792
##
793
accessModes:
794
- ReadWriteOnce
795
## @param master.logPersistence.size Size of logs volume
796
##
797
size: 8Gi
798
## @param master.logPersistence.existingClaim The name of an existing PVC to use for logs persistence
799
##
800
existingClaim: ""
801
## @param master.logPersistence.selector Selector to match an existing Persistent Volume for logs PVC
802
## If set, the PVC can't have a PV dynamically provisioned for it
803
## E.g.
804
## selector:
805
## matchLabels:
806
## app: my-app
807
##
808
selector: {}
809
## @param master.logPersistence.dataSource Custom PVC data source
810
##
811
dataSource: {}
812
## persistentVolumeClaimRetentionPolicy
813
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
814
## @param master.persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of the Master Server StatefulSet
815
## @param master.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
816
## @param master.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
817
##
818
persistentVolumeClaimRetentionPolicy:
819
enabled: false
820
whenScaled: Retain
821
whenDeleted: Retain
822
## @section Master Server Metrics Parameters
823
##
824
metrics:
825
## @param master.metrics.enabled Enable the export of Prometheus metrics
826
##
827
enabled: false
828
## Metrics service properties
829
##
830
service:
831
## @param master.metrics.service.port Metrics service port
832
##
833
port: 9327
834
## @param master.metrics.service.annotations Annotations for the metrics service.
835
##
836
annotations: {}
837
## Prometheus Operator ServiceMonitor configuration
838
##
839
serviceMonitor:
840
## @param master.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
841
##
842
enabled: false
843
## @param master.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
844
##
845
namespace: ""
846
## @param master.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
847
##
848
annotations: {}
849
## @param master.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
850
##
851
labels: {}
852
## @param master.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
853
##
854
jobLabel: ""
855
## @param master.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
856
##
857
honorLabels: false
858
## @param master.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
859
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
860
## e.g:
861
## interval: 10s
862
##
863
interval: ""
864
## @param master.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
865
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
866
## e.g:
867
## scrapeTimeout: 10s
868
##
869
scrapeTimeout: ""
870
## @param master.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
871
##
872
metricRelabelings: []
873
## @param master.metrics.serviceMonitor.relabelings Specify general relabeling
874
##
875
relabelings: []
876
## @param master.metrics.serviceMonitor.selector Prometheus instance selector labels
877
## selector:
878
## prometheus: my-prometheus
879
##
880
selector: {}
881
## @section Volume Server Parameters
882
##
883
volume:
884
## @param volume.replicaCount Number of Volume Server replicas to deploy
885
##
886
replicaCount: 1
887
## @param volume.containerPorts.http Volume Server HTTP container port
888
## @param volume.containerPorts.grpc Volume Server GRPC container port
889
## @param volume.containerPorts.metrics Volume Server metrics container port
890
##
891
containerPorts:
892
http: 8080
893
grpc: 18080
894
metrics: 9327
895
## @param volume.extraContainerPorts Optionally specify extra list of additional ports for Volume Server containers
896
## e.g:
897
## extraContainerPorts:
898
## - name: myservice
899
## containerPort: 9090
900
##
901
extraContainerPorts: []
902
## Configure extra options for Volume Server containers' liveness and readiness probes
903
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
904
## @param volume.livenessProbe.enabled Enable livenessProbe on Volume Server containers
905
## @param volume.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
906
## @param volume.livenessProbe.periodSeconds Period seconds for livenessProbe
907
## @param volume.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
908
## @param volume.livenessProbe.failureThreshold Failure threshold for livenessProbe
909
## @param volume.livenessProbe.successThreshold Success threshold for livenessProbe
910
##
911
livenessProbe:
912
enabled: true
913
initialDelaySeconds: 30
914
timeoutSeconds: 30
915
periodSeconds: 10
916
successThreshold: 1
917
failureThreshold: 6
918
## @param volume.readinessProbe.enabled Enable readinessProbe on Volume Server containers
919
## @param volume.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
920
## @param volume.readinessProbe.periodSeconds Period seconds for readinessProbe
921
## @param volume.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
922
## @param volume.readinessProbe.failureThreshold Failure threshold for readinessProbe
923
## @param volume.readinessProbe.successThreshold Success threshold for readinessProbe
924
##
925
readinessProbe:
926
enabled: true
927
initialDelaySeconds: 30
928
timeoutSeconds: 30
929
periodSeconds: 10
930
successThreshold: 1
931
failureThreshold: 6
932
## @param volume.startupProbe.enabled Enable startupProbe on Volume Server containers
933
## @param volume.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
934
## @param volume.startupProbe.periodSeconds Period seconds for startupProbe
935
## @param volume.startupProbe.timeoutSeconds Timeout seconds for startupProbe
936
## @param volume.startupProbe.failureThreshold Failure threshold for startupProbe
937
## @param volume.startupProbe.successThreshold Success threshold for startupProbe
938
##
939
startupProbe:
940
enabled: false
941
initialDelaySeconds: 5
942
periodSeconds: 5
943
timeoutSeconds: 1
944
failureThreshold: 15
945
successThreshold: 1
946
## @param volume.customLivenessProbe Custom livenessProbe that overrides the default one
947
##
948
customLivenessProbe: {}
949
## @param volume.customReadinessProbe Custom readinessProbe that overrides the default one
950
##
951
customReadinessProbe: {}
952
## @param volume.customStartupProbe Custom startupProbe that overrides the default one
953
##
954
customStartupProbe: {}
955
## Volume Server resource requests and limits
956
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
957
## @param volume.resourcesPreset Set Volume Server container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if volume.resources is set (volume.resources is recommended for production).
958
##
959
resourcesPreset: "nano"
960
## @param volume.resources Set Volume Server container requests and limits for different resources like CPU or memory (essential for production workloads)
961
## Example:
962
## resources:
963
## requests:
964
## cpu: 2
965
## memory: 512Mi
966
## limits:
967
## cpu: 3
968
## memory: 1024Mi
969
##
970
resources: {}
971
## Configure Pods Security Context
972
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
973
## @param volume.podSecurityContext.enabled Enable Volume Server pods' Security Context
974
## @param volume.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Volume Server pods
975
## @param volume.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Volume Server pods
976
## @param volume.podSecurityContext.supplementalGroups Set filesystem extra groups for Volume Server pods
977
## @param volume.podSecurityContext.fsGroup Set fsGroup in Volume Server pods' Security Context
978
##
979
podSecurityContext:
980
enabled: true
981
fsGroupChangePolicy: Always
982
sysctls: []
983
supplementalGroups: []
984
fsGroup: 1001
985
## Configure Container Security Context
986
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
987
## @param volume.containerSecurityContext.enabled Enabled Volume Server container' Security Context
988
## @param volume.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Volume Server container
989
## @param volume.containerSecurityContext.runAsUser Set runAsUser in Volume Server container' Security Context
990
## @param volume.containerSecurityContext.runAsGroup Set runAsGroup in Volume Server container' Security Context
991
## @param volume.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Volume Server container' Security Context
992
## @param volume.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Volume Server container' Security Context
993
## @param volume.containerSecurityContext.privileged Set privileged in Volume Server container' Security Context
994
## @param volume.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Volume Server container' Security Context
995
## @param volume.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Volume Server container
996
## @param volume.containerSecurityContext.seccompProfile.type Set seccomp profile in Volume Server container
997
##
998
containerSecurityContext:
999
enabled: true
1000
seLinuxOptions: {}
1001
runAsUser: 1001
1002
runAsGroup: 1001
1003
runAsNonRoot: true
1004
readOnlyRootFilesystem: true
1005
privileged: false
1006
allowPrivilegeEscalation: false
1007
capabilities:
1008
drop: ["ALL"]
1009
seccompProfile:
1010
type: "RuntimeDefault"
1011
## @param volume.logLevel Volume Server log level (0, 1, 2, 3, or 4)
1012
##
1013
logLevel: 1
1014
## @param volume.bindAddress Volume Server bind address
1015
##
1016
bindAddress: 0.0.0.0
1017
## @param volume.publicUrl Volume Server public URL
1018
##
1019
publicUrl: ""
1020
## @param volume.config Volume Server configuration
1021
## Specify content for volume.toml
1022
##
1023
config: ""
1024
## @param volume.existingConfigmap The name of an existing ConfigMap with your custom configuration for Volume Server
1025
##
1026
existingConfigmap: ""
1027
## @param volume.command Override default Volume Server container command (useful when using custom images)
1028
##
1029
command: []
1030
## @param volume.args Override default Volume Server container args (useful when using custom images)
1031
##
1032
args: []
1033
## @param volume.automountServiceAccountToken Mount Service Account token in Volume Server pods
1034
##
1035
automountServiceAccountToken: false
1036
## @param volume.hostAliases Volume Server pods host aliases
1037
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1038
##
1039
hostAliases: []
1040
## @param volume.statefulsetAnnotations Annotations for Volume Server StatefulSet
1041
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1042
##
1043
statefulsetAnnotations: {}
1044
## @param volume.podLabels Extra labels for Volume Server pods
1045
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1046
##
1047
podLabels: {}
1048
## @param volume.podAnnotations Annotations for Volume Server pods
1049
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1050
##
1051
podAnnotations: {}
1052
## @param volume.podAffinityPreset Pod affinity preset. Ignored if `volume.affinity` is set. Allowed values: `soft` or `hard`
1053
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1054
##
1055
podAffinityPreset: ""
1056
## @param volume.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `volume.affinity` is set. Allowed values: `soft` or `hard`
1057
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1058
##
1059
podAntiAffinityPreset: soft
1060
## Node volume.affinity preset
1061
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1062
##
1063
nodeAffinityPreset:
1064
## @param volume.nodeAffinityPreset.type Node affinity preset type. Ignored if `volume.affinity` is set. Allowed values: `soft` or `hard`
1065
##
1066
type: ""
1067
## @param volume.nodeAffinityPreset.key Node label key to match. Ignored if `volume.affinity` is set
1068
##
1069
key: ""
1070
## @param volume.nodeAffinityPreset.values Node label values to match. Ignored if `volume.affinity` is set
1071
## E.g.
1072
## values:
1073
## - e2e-az1
1074
## - e2e-az2
1075
##
1076
values: []
1077
## @param volume.affinity Affinity for Volume Server pods assignment
1078
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1079
## NOTE: `volume.podAffinityPreset`, `volume.podAntiAffinityPreset`, and `volume.nodeAffinityPreset` will be ignored when it's set
1080
##
1081
affinity: {}
1082
## @param volume.nodeSelector Node labels for Volume Server pods assignment
1083
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1084
##
1085
nodeSelector: {}
1086
## @param volume.tolerations Tolerations for Volume Server pods assignment
1087
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1088
##
1089
tolerations: []
1090
## @param volume.updateStrategy.type Volume Server StatefulSet strategy type
1091
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1092
##
1093
updateStrategy:
1094
## Can be set to RollingUpdate or OnDelete
1095
##
1096
type: RollingUpdate
1097
## @param volume.podManagementPolicy Pod management policy for Volume Server StatefulSet
1098
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1099
##
1100
podManagementPolicy: Parallel
1101
## @param volume.priorityClassName Volume Server pods' priorityClassName
1102
##
1103
priorityClassName: ""
1104
## @param volume.topologySpreadConstraints Topology Spread Constraints for Volume Server pod assignment spread across your cluster among failure-domains
1105
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1106
##
1107
topologySpreadConstraints: []
1108
## @param volume.schedulerName Name of the k8s scheduler (other than default) for Volume Server pods
1109
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1110
##
1111
schedulerName: ""
1112
## @param volume.terminationGracePeriodSeconds Seconds Volume Server pods need to terminate gracefully
1113
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1114
##
1115
terminationGracePeriodSeconds: ""
1116
## @param volume.lifecycleHooks for Volume Server containers to automate configuration before or after startup
1117
##
1118
lifecycleHooks: {}
1119
## @param volume.extraEnvVars Array with extra environment variables to add to Volume Server containers
1120
## e.g:
1121
## extraEnvVars:
1122
## - name: FOO
1123
## value: "bar"
1124
##
1125
extraEnvVars: []
1126
## @param volume.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Volume Server containers
1127
##
1128
extraEnvVarsCM: ""
1129
## @param volume.extraEnvVarsSecret Name of existing Secret containing extra env vars for Volume Server containers
1130
##
1131
extraEnvVarsSecret: ""
1132
## @param volume.extraVolumes Optionally specify extra list of additional volumes for the Volume Server pods
1133
##
1134
extraVolumes: []
1135
## @param volume.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Volume Server containers
1136
##
1137
extraVolumeMounts: []
1138
## @param volume.sidecars Add additional sidecar containers to the Volume Server pods
1139
## e.g:
1140
## sidecars:
1141
## - name: your-image-name
1142
## image: your-image
1143
## imagePullPolicy: Always
1144
## ports:
1145
## - name: portname
1146
## containerPort: 1234
1147
##
1148
sidecars: []
1149
## @param volume.initContainers Add additional init containers to the Volume Server pods
1150
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1151
## e.g:
1152
## initContainers:
1153
## - name: your-image-name
1154
## image: your-image
1155
## imagePullPolicy: Always
1156
## command: ['sh', '-c', 'echo "hello world"']
1157
##
1158
initContainers: []
1159
## Pod Disruption Budget configuration
1160
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1161
## @param volume.pdb.create Enable/disable a Pod Disruption Budget creation
1162
## @param volume.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1163
## @param volume.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `volume.pdb.minAvailable` and `volume.pdb.maxUnavailable` are empty.
1164
##
1165
pdb:
1166
create: true
1167
minAvailable: ""
1168
maxUnavailable: ""
1169
## Autoscaling configuration
1170
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1171
## @param volume.autoscaling.enabled Enable autoscaling for volume
1172
## @param volume.autoscaling.minReplicas Minimum number of volume replicas
1173
## @param volume.autoscaling.maxReplicas Maximum number of volume replicas
1174
## @param volume.autoscaling.targetCPU Target CPU utilization percentage
1175
## @param volume.autoscaling.targetMemory Target Memory utilization percentage
1176
##
1177
autoscaling:
1178
enabled: false
1179
minReplicas: ""
1180
maxReplicas: ""
1181
targetCPU: ""
1182
targetMemory: ""
1183
## @section Volume Server Traffic Exposure Parameters
1184
##
1185
1186
## Volume Server service parameters
1187
##
1188
service:
1189
## @param volume.service.type Volume Server service type
1190
##
1191
type: ClusterIP
1192
## @param volume.service.ports.http Volume Server service HTTP port
1193
## @param volume.service.ports.grpc Volume Server service GRPC port
1194
##
1195
ports:
1196
http: 8080
1197
grpc: 18080
1198
## Node ports to expose
1199
## @param volume.service.nodePorts.http Node port for HTTP
1200
## @param volume.service.nodePorts.grpc Node port for GRPC
1201
## NOTE: choose port between <30000-32767>
1202
##
1203
nodePorts:
1204
http: ""
1205
grpc: ""
1206
## @param volume.service.clusterIP Volume Server service Cluster IP
1207
## e.g.:
1208
## clusterIP: None
1209
##
1210
clusterIP: ""
1211
## @param volume.service.loadBalancerIP Volume Server service Load Balancer IP
1212
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1213
##
1214
loadBalancerIP: ""
1215
## @param volume.service.loadBalancerSourceRanges Volume Server service Load Balancer sources
1216
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1217
## e.g:
1218
## loadBalancerSourceRanges:
1219
## - 10.10.10.0/24
1220
##
1221
loadBalancerSourceRanges: []
1222
## @param volume.service.externalTrafficPolicy Volume Server service external traffic policy
1223
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1224
##
1225
externalTrafficPolicy: Cluster
1226
## @param volume.service.annotations Additional custom annotations for Volume Server service
1227
##
1228
annotations: {}
1229
## @param volume.service.extraPorts Extra ports to expose in Volume Server service (normally used with the `sidecars` value)
1230
##
1231
extraPorts: []
1232
## @param volume.service.sessionAffinity Control where client requests go, to the same pod or round-robin
1233
## Values: ClientIP or None
1234
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1235
##
1236
sessionAffinity: None
1237
## @param volume.service.sessionAffinityConfig Additional settings for the sessionAffinity
1238
## sessionAffinityConfig:
1239
## clientIP:
1240
## timeoutSeconds: 300
1241
##
1242
sessionAffinityConfig: {}
1243
## Headless service properties
1244
##
1245
headless:
1246
## @param volume.service.headless.annotations Annotations for the headless service.
1247
##
1248
annotations: {}
1249
## Network Policies for Volume Server
1250
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1251
##
1252
networkPolicy:
1253
## @param volume.networkPolicy.enabled Specifies whether a NetworkPolicy should be created for Volume Server
1254
##
1255
enabled: true
1256
## @param volume.networkPolicy.allowExternal Don't require server label for connections
1257
## The Policy model to apply. When set to false, only pods with the correct
1258
## server label will have network access to the ports server is listening
1259
## on. When true, server will accept connections from any source
1260
## (with the correct destination port).
1261
##
1262
allowExternal: true
1263
## @param volume.networkPolicy.allowExternalEgress Allow the Volume Server pods to access any range of port and all destinations.
1264
##
1265
allowExternalEgress: true
1266
## @param volume.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1267
## e.g:
1268
## extraIngress:
1269
## - ports:
1270
## - port: 1234
1271
## from:
1272
## - podSelector:
1273
## - matchLabels:
1274
## - role: frontend
1275
## - podSelector:
1276
## - matchExpressions:
1277
## - key: role
1278
## operator: In
1279
## values:
1280
## - frontend
1281
extraIngress: []
1282
## @param volume.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
1283
## e.g:
1284
## extraEgress:
1285
## - ports:
1286
## - port: 1234
1287
## to:
1288
## - podSelector:
1289
## - matchLabels:
1290
## - role: frontend
1291
## - podSelector:
1292
## - matchExpressions:
1293
## - key: role
1294
## operator: In
1295
## values:
1296
## - frontend
1297
##
1298
extraEgress: []
1299
## @param volume.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1300
## @param volume.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1301
##
1302
ingressNSMatchLabels: {}
1303
ingressNSPodMatchLabels: {}
1304
## Volume Server ingress parameters
1305
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
1306
##
1307
ingress:
1308
## @param volume.ingress.enabled Enable ingress record generation for Volume Server
1309
##
1310
enabled: false
1311
## @param volume.ingress.pathType Ingress path type
1312
##
1313
pathType: ImplementationSpecific
1314
## @param volume.ingress.apiVersion Force Ingress API version (automatically detected if not set)
1315
##
1316
apiVersion: ""
1317
## @param volume.ingress.hostname Default host for the ingress record
1318
##
1319
hostname: volume.seaweedfs.local
1320
## @param volume.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
1321
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
1322
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
1323
##
1324
ingressClassName: ""
1325
## @param volume.ingress.path Default path for the ingress record
1326
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
1327
##
1328
path: /
1329
## @param volume.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
1330
## Use this parameter to set the required annotations for cert-manager, see
1331
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
1332
## e.g:
1333
## annotations:
1334
## kubernetes.io/ingress.class: nginx
1335
## cert-manager.io/cluster-issuer: cluster-issuer-name
1336
##
1337
annotations: {}
1338
## @param volume.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
1339
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
1340
## You can:
1341
## - Use the `ingress.secrets` parameter to create this TLS secret
1342
## - Rely on cert-manager to create it by setting the corresponding annotations
1343
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
1344
##
1345
tls: false
1346
## @param volume.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
1347
##
1348
selfSigned: false
1349
## @param volume.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
1350
## e.g:
1351
## extraHosts:
1352
## - name: volume.seaweedfs.local
1353
## path: /
1354
##
1355
extraHosts: []
1356
## @param volume.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
1357
## e.g:
1358
## extraPaths:
1359
## - path: /*
1360
## backend:
1361
## serviceName: ssl-redirect
1362
## servicePort: use-annotation
1363
##
1364
extraPaths: []
1365
## @param volume.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
1366
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
1367
## e.g:
1368
## extraTls:
1369
## - hosts:
1370
## - volume.seaweedfs.local
1371
## secretName: volume.seaweedfs.local-tls
1372
##
1373
extraTls: []
1374
## @param volume.ingress.secrets Custom TLS certificates as secrets
1375
## NOTE: 'key' and 'certificate' are expected in PEM format
1376
## NOTE: 'name' should line up with a 'secretName' set further up
1377
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
1378
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
1379
## It is also possible to create and manage the certificates outside of this helm chart
1380
## Please see README.md for more information
1381
## e.g:
1382
## secrets:
1383
## - name: volume.seaweedfs.local-tls
1384
## key: |-
1385
## -----BEGIN RSA PRIVATE KEY-----
1386
## ...
1387
## -----END RSA PRIVATE KEY-----
1388
## certificate: |-
1389
## -----BEGIN CERTIFICATE-----
1390
## ...
1391
## -----END CERTIFICATE-----
1392
##
1393
secrets: []
1394
## @param volume.ingress.extraRules Additional rules to be covered with this ingress record
1395
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
1396
## e.g:
1397
## extraRules:
1398
## - host: example.local
1399
## http:
1400
## path: /
1401
## backend:
1402
## service:
1403
## name: example-svc
1404
## port:
1405
## name: http
1406
##
1407
extraRules: []
1408
## @section Volume Server Persistence Parameters
1409
##
1410
dataVolumes:
1411
- ## @param volume.dataVolumes[0].name Name of the data volume
1412
##
1413
name: data-0
1414
## @param volume.dataVolumes[0].mountPath Path to mount the volume at.
1415
##
1416
mountPath: /data-0
1417
## @param volume.dataVolumes[0].subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
1418
##
1419
subPath: ""
1420
## @param volume.dataVolumes[0].maxVolumes Max number of SeaweedFS volumes this data volume can be divided into. If set to 0, the limit will be auto configured as free disk space divided by default volume size (30GB)
1421
## ref: https://github.com/seaweedfs/seaweedfs/wiki/FAQ#how-many-volumes-do-i-need
1422
## ref: https://github.com/seaweedfs/seaweedfs/blob/master/weed/util/constants_4bytes.go#L8
1423
##
1424
maxVolumes: 8
1425
## Enable persistence using Persistent Volume Claims
1426
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1427
##
1428
persistence:
1429
## @param volume.dataVolumes[0].persistence.enabled Enable persistence on Volume Server using Persistent Volume Claims
1430
##
1431
enabled: true
1432
## @param volume.dataVolumes[0].persistence.storageClass Storage class of backing PVC
1433
## If defined, storageClassName: <storageClass>
1434
## If set to "-", storageClassName: "", which disables dynamic provisioning
1435
## If undefined (the default) or set to null, no storageClassName spec is
1436
## set, choosing the default provisioner. (gp2 on AWS, standard on
1437
## GKE, AWS & OpenStack)
1438
##
1439
storageClass: ""
1440
## @param volume.dataVolumes[0].persistence.annotations Persistent Volume Claim annotations
1441
##
1442
annotations: {}
1443
## @param volume.dataVolumes[0].persistence.accessModes Persistent Volume Access Modes
1444
##
1445
accessModes:
1446
- ReadWriteOnce
1447
## @param volume.dataVolumes[0].persistence.size Size of data volume
1448
##
1449
size: 8Gi
1450
## @param volume.dataVolumes[0].persistence.existingClaim The name of an existing PVC to use for persistence
1451
##
1452
existingClaim: ""
1453
## @param volume.dataVolumes[0].persistence.selector Selector to match an existing Persistent Volume for data PVC
1454
## If set, the PVC can't have a PV dynamically provisioned for it
1455
## E.g.
1456
## selector:
1457
## matchLabels:
1458
## app: my-app
1459
##
1460
selector: {}
1461
## @param volume.dataVolumes[0].persistence.dataSource Custom PVC data source
1462
##
1463
dataSource: {}
1464
## Enable Volume logs persistence using Persistent Volume Claims
1465
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1466
##
1467
logPersistence:
1468
## @param volume.logPersistence.enabled Enable logs persistence on Volume Server using Persistent Volume Claims
1469
##
1470
enabled: false
1471
## @param volume.logPersistence.mountPath Path to mount the volume at.
1472
##
1473
mountPath: /logs
1474
## @param volume.logPersistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
1475
##
1476
subPath: ""
1477
## @param volume.logPersistence.storageClass Storage class of backing PVC
1478
## If defined, storageClassName: <storageClass>
1479
## If set to "-", storageClassName: "", which disables dynamic provisioning
1480
## If undefined (the default) or set to null, no storageClassName spec is
1481
## set, choosing the default provisioner. (gp2 on AWS, standard on
1482
## GKE, AWS & OpenStack)
1483
##
1484
storageClass: ""
1485
## @param volume.logPersistence.annotations Persistent Volume Claim annotations
1486
##
1487
annotations: {}
1488
## @param volume.logPersistence.accessModes Persistent Volume Access Modes
1489
##
1490
accessModes:
1491
- ReadWriteOnce
1492
## @param volume.logPersistence.size Size of logs volume
1493
##
1494
size: 8Gi
1495
## @param volume.logPersistence.existingClaim The name of an existing PVC to use for logs persistence
1496
##
1497
existingClaim: ""
1498
## @param volume.logPersistence.selector Selector to match an existing Persistent Volume for logs PVC
1499
## If set, the PVC can't have a PV dynamically provisioned for it
1500
## E.g.
1501
## selector:
1502
## matchLabels:
1503
## app: my-app
1504
##
1505
selector: {}
1506
## @param volume.logPersistence.dataSource Custom PVC data source
1507
##
1508
dataSource: {}
1509
## persistentVolumeClaimRetentionPolicy
1510
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
1511
## @param volume.persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of the Volume Server StatefulSet
1512
## @param volume.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
1513
## @param volume.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
1514
##
1515
persistentVolumeClaimRetentionPolicy:
1516
enabled: false
1517
whenScaled: Retain
1518
whenDeleted: Retain
1519
## @section Volume Server Metrics Parameters
1520
##
1521
metrics:
1522
## @param volume.metrics.enabled Enable the export of Prometheus metrics
1523
##
1524
enabled: false
1525
## Metrics service properties
1526
##
1527
service:
1528
## @param volume.metrics.service.port Metrics service port
1529
##
1530
port: 9327
1531
## @param volume.metrics.service.annotations Annotations for the metrics service.
1532
##
1533
annotations: {}
1534
## Prometheus Operator ServiceMonitor configuration
1535
##
1536
serviceMonitor:
1537
## @param volume.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
1538
##
1539
enabled: false
1540
## @param volume.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
1541
##
1542
namespace: ""
1543
## @param volume.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
1544
##
1545
annotations: {}
1546
## @param volume.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
1547
##
1548
labels: {}
1549
## @param volume.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
1550
##
1551
jobLabel: ""
1552
## @param volume.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
1553
##
1554
honorLabels: false
1555
## @param volume.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
1556
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1557
## e.g:
1558
## interval: 10s
1559
##
1560
interval: ""
1561
## @param volume.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
1562
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
1563
## e.g:
1564
## scrapeTimeout: 10s
1565
##
1566
scrapeTimeout: ""
1567
## @param volume.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
1568
##
1569
metricRelabelings: []
1570
## @param volume.metrics.serviceMonitor.relabelings Specify general relabeling
1571
##
1572
relabelings: []
1573
## @param volume.metrics.serviceMonitor.selector Prometheus instance selector labels
1574
## selector:
1575
## prometheus: my-prometheus
1576
##
1577
selector: {}
1578
## @section Filer Server Parameters
1579
##
1580
filer:
1581
## @param filer.enabled Enable Filer Server deployment
1582
##
1583
enabled: true
1584
## @param filer.replicaCount Number of Filer Server replicas to deploy
1585
##
1586
replicaCount: 1
1587
## @param filer.containerPorts.http Filer Server HTTP container port
1588
## @param filer.containerPorts.grpc Filer Server GRPC container port
1589
## @param filer.containerPorts.metrics Filer Server metrics container port
1590
##
1591
containerPorts:
1592
http: 8888
1593
grpc: 18888
1594
metrics: 9327
1595
## @param filer.extraContainerPorts Optionally specify extra list of additional ports for Filer Server containers
1596
## e.g:
1597
## extraContainerPorts:
1598
## - name: myservice
1599
## containerPort: 9090
1600
##
1601
extraContainerPorts: []
1602
## Configure extra options for Filer Server containers' liveness and readiness probes
1603
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
1604
## @param filer.livenessProbe.enabled Enable livenessProbe on Filer Server containers
1605
## @param filer.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
1606
## @param filer.livenessProbe.periodSeconds Period seconds for livenessProbe
1607
## @param filer.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
1608
## @param filer.livenessProbe.failureThreshold Failure threshold for livenessProbe
1609
## @param filer.livenessProbe.successThreshold Success threshold for livenessProbe
1610
##
1611
livenessProbe:
1612
enabled: true
1613
initialDelaySeconds: 30
1614
timeoutSeconds: 30
1615
periodSeconds: 10
1616
successThreshold: 1
1617
failureThreshold: 6
1618
## @param filer.readinessProbe.enabled Enable readinessProbe on Filer Server containers
1619
## @param filer.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
1620
## @param filer.readinessProbe.periodSeconds Period seconds for readinessProbe
1621
## @param filer.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
1622
## @param filer.readinessProbe.failureThreshold Failure threshold for readinessProbe
1623
## @param filer.readinessProbe.successThreshold Success threshold for readinessProbe
1624
##
1625
readinessProbe:
1626
enabled: true
1627
initialDelaySeconds: 30
1628
timeoutSeconds: 30
1629
periodSeconds: 10
1630
successThreshold: 1
1631
failureThreshold: 6
1632
## @param filer.startupProbe.enabled Enable startupProbe on Filer Server containers
1633
## @param filer.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
1634
## @param filer.startupProbe.periodSeconds Period seconds for startupProbe
1635
## @param filer.startupProbe.timeoutSeconds Timeout seconds for startupProbe
1636
## @param filer.startupProbe.failureThreshold Failure threshold for startupProbe
1637
## @param filer.startupProbe.successThreshold Success threshold for startupProbe
1638
##
1639
startupProbe:
1640
enabled: false
1641
initialDelaySeconds: 5
1642
periodSeconds: 5
1643
timeoutSeconds: 1
1644
failureThreshold: 15
1645
successThreshold: 1
1646
## @param filer.customLivenessProbe Custom livenessProbe that overrides the default one
1647
##
1648
customLivenessProbe: {}
1649
## @param filer.customReadinessProbe Custom readinessProbe that overrides the default one
1650
##
1651
customReadinessProbe: {}
1652
## @param filer.customStartupProbe Custom startupProbe that overrides the default one
1653
##
1654
customStartupProbe: {}
1655
## Filer Server resource requests and limits
1656
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1657
## @param filer.resourcesPreset Set Filer Server container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if filer.resources is set (filer.resources is recommended for production).
1658
##
1659
resourcesPreset: "nano"
1660
## @param filer.resources Set Filer Server container requests and limits for different resources like CPU or memory (essential for production workloads)
1661
## Example:
1662
## resources:
1663
## requests:
1664
## cpu: 2
1665
## memory: 512Mi
1666
## limits:
1667
## cpu: 3
1668
## memory: 1024Mi
1669
##
1670
resources: {}
1671
## Filer Server 'wait-for-db' init container configuration
1672
##
1673
waitForDatabase:
1674
## 'wait-for-db' init container resource requests and limits
1675
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
1676
## @param filer.waitForDatabase.resourcesPreset Set 'wait-for-db' init container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if filer.waitForDatabase.resources is set (filer.waitForDatabase.resources is recommended for production).
1677
##
1678
resourcesPreset: "nano"
1679
## @param filer.waitForDatabase.resources Set 'wait-for-db' init container requests and limits for different resources like CPU or memory (essential for production workloads)
1680
## Example:
1681
## resources:
1682
## requests:
1683
## cpu: 2
1684
## memory: 512Mi
1685
## limits:
1686
## cpu: 3
1687
## memory: 1024Mi
1688
##
1689
resources: {}
1690
## Configure Pods Security Context
1691
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
1692
## @param filer.podSecurityContext.enabled Enable Filer Server pods' Security Context
1693
## @param filer.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Filer Server pods
1694
## @param filer.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Filer Server pods
1695
## @param filer.podSecurityContext.supplementalGroups Set filesystem extra groups for Filer Server pods
1696
## @param filer.podSecurityContext.fsGroup Set fsGroup in Filer Server pods' Security Context
1697
##
1698
podSecurityContext:
1699
enabled: true
1700
fsGroupChangePolicy: Always
1701
sysctls: []
1702
supplementalGroups: []
1703
fsGroup: 1001
1704
## Configure Container Security Context
1705
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1706
## @param filer.containerSecurityContext.enabled Enabled Filer Server container' Security Context
1707
## @param filer.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Filer Server container
1708
## @param filer.containerSecurityContext.runAsUser Set runAsUser in Filer Server container' Security Context
1709
## @param filer.containerSecurityContext.runAsGroup Set runAsGroup in Filer Server container' Security Context
1710
## @param filer.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Filer Server container' Security Context
1711
## @param filer.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Filer Server container' Security Context
1712
## @param filer.containerSecurityContext.privileged Set privileged in Filer Server container' Security Context
1713
## @param filer.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Filer Server container' Security Context
1714
## @param filer.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Filer Server container
1715
## @param filer.containerSecurityContext.seccompProfile.type Set seccomp profile in Filer Server container
1716
##
1717
containerSecurityContext:
1718
enabled: true
1719
seLinuxOptions: {}
1720
runAsUser: 1001
1721
runAsGroup: 1001
1722
runAsNonRoot: true
1723
readOnlyRootFilesystem: true
1724
privileged: false
1725
allowPrivilegeEscalation: false
1726
capabilities:
1727
drop: ["ALL"]
1728
seccompProfile:
1729
type: "RuntimeDefault"
1730
## @param filer.logLevel Filer Server log level (0, 1, 2, 3, or 4)
1731
##
1732
logLevel: 1
1733
## @param filer.bindAddress Filer Server bind address
1734
##
1735
bindAddress: 0.0.0.0
1736
## @param filer.config Filer Server configuration
1737
## Specify content for filer.toml
1738
##
1739
config: |
1740
[leveldb2]
1741
enabled = false
1742
## @param filer.existingConfigmap The name of an existing ConfigMap with your custom configuration for Filer Server
1743
##
1744
existingConfigmap: ""
1745
## @param filer.notificationConfig Filer Server notification configuration
1746
## Specify content for custom notification.toml
1747
##
1748
notificationConfig: ""
1749
## @param filer.existingNotificationConfigmap The name of an existing ConfigMap with your custom notification configuration for Filer Server
1750
##
1751
existingNotificationConfigmap: ""
1752
## @param filer.command Override default Filer Server container command (useful when using custom images)
1753
##
1754
command: []
1755
## @param filer.args Override default Filer Server container args (useful when using custom images)
1756
##
1757
args: []
1758
## @param filer.automountServiceAccountToken Mount Service Account token in Filer Server pods
1759
##
1760
automountServiceAccountToken: false
1761
## @param filer.hostAliases Filer Server pods host aliases
1762
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
1763
##
1764
hostAliases: []
1765
## @param filer.statefulsetAnnotations Annotations for Filer Server StatefulSet
1766
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1767
##
1768
statefulsetAnnotations: {}
1769
## @param filer.podLabels Extra labels for Filer Server pods
1770
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1771
##
1772
podLabels: {}
1773
## @param filer.podAnnotations Annotations for Filer Server pods
1774
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1775
##
1776
podAnnotations: {}
1777
## @param filer.podAffinityPreset Pod affinity preset. Ignored if `filer.affinity` is set. Allowed values: `soft` or `hard`
1778
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1779
##
1780
podAffinityPreset: ""
1781
## @param filer.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `filer.affinity` is set. Allowed values: `soft` or `hard`
1782
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
1783
##
1784
podAntiAffinityPreset: soft
1785
## Node filer.affinity preset
1786
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1787
##
1788
nodeAffinityPreset:
1789
## @param filer.nodeAffinityPreset.type Node affinity preset type. Ignored if `filer.affinity` is set. Allowed values: `soft` or `hard`
1790
##
1791
type: ""
1792
## @param filer.nodeAffinityPreset.key Node label key to match. Ignored if `filer.affinity` is set
1793
##
1794
key: ""
1795
## @param filer.nodeAffinityPreset.values Node label values to match. Ignored if `filer.affinity` is set
1796
## E.g.
1797
## values:
1798
## - e2e-az1
1799
## - e2e-az2
1800
##
1801
values: []
1802
## @param filer.affinity Affinity for Filer Server pods assignment
1803
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1804
## NOTE: `filer.podAffinityPreset`, `filer.podAntiAffinityPreset`, and `filer.nodeAffinityPreset` will be ignored when it's set
1805
##
1806
affinity: {}
1807
## @param filer.nodeSelector Node labels for Filer Server pods assignment
1808
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1809
##
1810
nodeSelector: {}
1811
## @param filer.tolerations Tolerations for Filer Server pods assignment
1812
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1813
##
1814
tolerations: []
1815
## @param filer.updateStrategy.type Filer Server StatefulSet strategy type
1816
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1817
##
1818
updateStrategy:
1819
## Can be set to RollingUpdate or OnDelete
1820
##
1821
type: RollingUpdate
1822
## @param filer.podManagementPolicy Pod management policy for Filer Server StatefulSet
1823
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
1824
##
1825
podManagementPolicy: Parallel
1826
## @param filer.priorityClassName Filer Server pods' priorityClassName
1827
##
1828
priorityClassName: ""
1829
## @param filer.topologySpreadConstraints Topology Spread Constraints for Filer Server pod assignment spread across your cluster among failure-domains
1830
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1831
##
1832
topologySpreadConstraints: []
1833
## @param filer.schedulerName Name of the k8s scheduler (other than default) for Filer Server pods
1834
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1835
##
1836
schedulerName: ""
1837
## @param filer.terminationGracePeriodSeconds Seconds Filer Server pods need to terminate gracefully
1838
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
1839
##
1840
terminationGracePeriodSeconds: ""
1841
## @param filer.lifecycleHooks for Filer Server containers to automate configuration before or after startup
1842
##
1843
lifecycleHooks: {}
1844
## @param filer.extraEnvVars Array with extra environment variables to add to Filer Server containers
1845
## e.g:
1846
## extraEnvVars:
1847
## - name: FOO
1848
## value: "bar"
1849
##
1850
extraEnvVars: []
1851
## @param filer.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Filer Server containers
1852
##
1853
extraEnvVarsCM: ""
1854
## @param filer.extraEnvVarsSecret Name of existing Secret containing extra env vars for Filer Server containers
1855
##
1856
extraEnvVarsSecret: ""
1857
## @param filer.extraVolumes Optionally specify extra list of additional volumes for the Filer Server pods
1858
##
1859
extraVolumes: []
1860
## @param filer.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Filer Server containers
1861
##
1862
extraVolumeMounts: []
1863
## @param filer.sidecars Add additional sidecar containers to the Filer Server pods
1864
## e.g:
1865
## sidecars:
1866
## - name: your-image-name
1867
## image: your-image
1868
## imagePullPolicy: Always
1869
## ports:
1870
## - name: portname
1871
## containerPort: 1234
1872
##
1873
sidecars: []
1874
## @param filer.initContainers Add additional init containers to the Filer Server pods
1875
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1876
## e.g:
1877
## initContainers:
1878
## - name: your-image-name
1879
## image: your-image
1880
## imagePullPolicy: Always
1881
## command: ['sh', '-c', 'echo "hello world"']
1882
##
1883
initContainers: []
1884
## Pod Disruption Budget configuration
1885
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
1886
## @param filer.pdb.create Enable/disable a Pod Disruption Budget creation
1887
## @param filer.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
1888
## @param filer.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `filer.pdb.minAvailable` and `filer.pdb.maxUnavailable` are empty.
1889
##
1890
pdb:
1891
create: true
1892
minAvailable: ""
1893
maxUnavailable: ""
1894
## Autoscaling configuration
1895
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
1896
## @param filer.autoscaling.enabled Enable autoscaling for filer
1897
## @param filer.autoscaling.minReplicas Minimum number of filer replicas
1898
## @param filer.autoscaling.maxReplicas Maximum number of filer replicas
1899
## @param filer.autoscaling.targetCPU Target CPU utilization percentage
1900
## @param filer.autoscaling.targetMemory Target Memory utilization percentage
1901
##
1902
autoscaling:
1903
enabled: false
1904
minReplicas: ""
1905
maxReplicas: ""
1906
targetCPU: ""
1907
targetMemory: ""
1908
## @section Filer Server Traffic Exposure Parameters
1909
##
1910
1911
## Filer Server service parameters
1912
##
1913
service:
1914
## @param filer.service.type Filer Server service type
1915
##
1916
type: ClusterIP
1917
## @param filer.service.ports.http Filer Server service HTTP port
1918
## @param filer.service.ports.grpc Filer Server service GRPC port
1919
##
1920
ports:
1921
http: 8888
1922
grpc: 18888
1923
## Node ports to expose
1924
## @param filer.service.nodePorts.http Node port for HTTP
1925
## @param filer.service.nodePorts.grpc Node port for GRPC
1926
## NOTE: choose port between <30000-32767>
1927
##
1928
nodePorts:
1929
http: ""
1930
grpc: ""
1931
## @param filer.service.clusterIP Filer Server service Cluster IP
1932
## e.g.:
1933
## clusterIP: None
1934
##
1935
clusterIP: ""
1936
## @param filer.service.loadBalancerIP Filer Server service Load Balancer IP
1937
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
1938
##
1939
loadBalancerIP: ""
1940
## @param filer.service.loadBalancerSourceRanges Filer Server service Load Balancer sources
1941
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
1942
## e.g:
1943
## loadBalancerSourceRanges:
1944
## - 10.10.10.0/24
1945
##
1946
loadBalancerSourceRanges: []
1947
## @param filer.service.externalTrafficPolicy Filer Server service external traffic policy
1948
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
1949
##
1950
externalTrafficPolicy: Cluster
1951
## @param filer.service.annotations Additional custom annotations for Filer Server service
1952
##
1953
annotations: {}
1954
## @param filer.service.extraPorts Extra ports to expose in Filer Server service (normally used with the `sidecars` value)
1955
##
1956
extraPorts: []
1957
## @param filer.service.sessionAffinity Control where client requests go, to the same pod or round-robin
1958
## Values: ClientIP or None
1959
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
1960
##
1961
sessionAffinity: None
1962
## @param filer.service.sessionAffinityConfig Additional settings for the sessionAffinity
1963
## sessionAffinityConfig:
1964
## clientIP:
1965
## timeoutSeconds: 300
1966
##
1967
sessionAffinityConfig: {}
1968
## Headless service properties
1969
##
1970
headless:
1971
## @param filer.service.headless.annotations Annotations for the headless service.
1972
##
1973
annotations: {}
1974
## Network Policies for Filer Server
1975
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1976
##
1977
networkPolicy:
1978
## @param filer.networkPolicy.enabled Specifies whether a NetworkPolicy should be created for Filer Server
1979
##
1980
enabled: true
1981
## @param filer.networkPolicy.allowExternal Don't require server label for connections
1982
## The Policy model to apply. When set to false, only pods with the correct
1983
## server label will have network access to the ports server is listening
1984
## on. When true, server will accept connections from any source
1985
## (with the correct destination port).
1986
##
1987
allowExternal: true
1988
## @param filer.networkPolicy.allowExternalEgress Allow the Filer Server pods to access any range of port and all destinations.
1989
##
1990
allowExternalEgress: true
1991
## @param filer.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1992
## e.g:
1993
## extraIngress:
1994
## - ports:
1995
## - port: 1234
1996
## from:
1997
## - podSelector:
1998
## - matchLabels:
1999
## - role: frontend
2000
## - podSelector:
2001
## - matchExpressions:
2002
## - key: role
2003
## operator: In
2004
## values:
2005
## - frontend
2006
extraIngress: []
2007
## @param filer.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
2008
## e.g:
2009
## extraEgress:
2010
## - ports:
2011
## - port: 1234
2012
## to:
2013
## - podSelector:
2014
## - matchLabels:
2015
## - role: frontend
2016
## - podSelector:
2017
## - matchExpressions:
2018
## - key: role
2019
## operator: In
2020
## values:
2021
## - frontend
2022
##
2023
extraEgress: []
2024
## @param filer.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2025
## @param filer.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2026
##
2027
ingressNSMatchLabels: {}
2028
ingressNSPodMatchLabels: {}
2029
## Filer Server ingress parameters
2030
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
2031
##
2032
ingress:
2033
## @param filer.ingress.enabled Enable ingress record generation for Filer Server
2034
##
2035
enabled: false
2036
## @param filer.ingress.pathType Ingress path type
2037
##
2038
pathType: ImplementationSpecific
2039
## @param filer.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2040
##
2041
apiVersion: ""
2042
## @param filer.ingress.hostname Default host for the ingress record
2043
##
2044
hostname: filer.seaweedfs.local
2045
## @param filer.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
2046
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
2047
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
2048
##
2049
ingressClassName: ""
2050
## @param filer.ingress.path Default path for the ingress record
2051
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
2052
##
2053
path: /
2054
## @param filer.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
2055
## Use this parameter to set the required annotations for cert-manager, see
2056
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
2057
## e.g:
2058
## annotations:
2059
## kubernetes.io/ingress.class: nginx
2060
## cert-manager.io/cluster-issuer: cluster-issuer-name
2061
##
2062
annotations: {}
2063
## @param filer.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
2064
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
2065
## You can:
2066
## - Use the `ingress.secrets` parameter to create this TLS secret
2067
## - Rely on cert-manager to create it by setting the corresponding annotations
2068
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
2069
##
2070
tls: false
2071
## @param filer.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2072
##
2073
selfSigned: false
2074
## @param filer.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
2075
## e.g:
2076
## extraHosts:
2077
## - name: filer.seaweedfs.local
2078
## path: /
2079
##
2080
extraHosts: []
2081
## @param filer.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
2082
## e.g:
2083
## extraPaths:
2084
## - path: /*
2085
## backend:
2086
## serviceName: ssl-redirect
2087
## servicePort: use-annotation
2088
##
2089
extraPaths: []
2090
## @param filer.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
2091
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
2092
## e.g:
2093
## extraTls:
2094
## - hosts:
2095
## - filer.seaweedfs.local
2096
## secretName: filer.seaweedfs.local-tls
2097
##
2098
extraTls: []
2099
## @param filer.ingress.secrets Custom TLS certificates as secrets
2100
## NOTE: 'key' and 'certificate' are expected in PEM format
2101
## NOTE: 'name' should line up with a 'secretName' set further up
2102
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
2103
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
2104
## It is also possible to create and manage the certificates outside of this helm chart
2105
## Please see README.md for more information
2106
## e.g:
2107
## secrets:
2108
## - name: filer.seaweedfs.local-tls
2109
## key: |-
2110
## -----BEGIN RSA PRIVATE KEY-----
2111
## ...
2112
## -----END RSA PRIVATE KEY-----
2113
## certificate: |-
2114
## -----BEGIN CERTIFICATE-----
2115
## ...
2116
## -----END CERTIFICATE-----
2117
##
2118
secrets: []
2119
## @param filer.ingress.extraRules Additional rules to be covered with this ingress record
2120
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
2121
## e.g:
2122
## extraRules:
2123
## - host: example.local
2124
## http:
2125
## path: /
2126
## backend:
2127
## service:
2128
## name: example-svc
2129
## port:
2130
## name: http
2131
##
2132
extraRules: []
2133
## @section Filer Server Persistence Parameters
2134
##
2135
2136
## Enable Filer logs persistence using Persistent Volume Claims
2137
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
2138
##
2139
logPersistence:
2140
## @param filer.logPersistence.enabled Enable logs persistence on Filer Server using Persistent Volume Claims
2141
##
2142
enabled: false
2143
## @param filer.logPersistence.mountPath Path to mount the volume at.
2144
##
2145
mountPath: /logs
2146
## @param filer.logPersistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
2147
##
2148
subPath: ""
2149
## @param filer.logPersistence.storageClass Storage class of backing PVC
2150
## If defined, storageClassName: <storageClass>
2151
## If set to "-", storageClassName: "", which disables dynamic provisioning
2152
## If undefined (the default) or set to null, no storageClassName spec is
2153
## set, choosing the default provisioner. (gp2 on AWS, standard on
2154
## GKE, AWS & OpenStack)
2155
##
2156
storageClass: ""
2157
## @param filer.logPersistence.annotations Persistent Volume Claim annotations
2158
##
2159
annotations: {}
2160
## @param filer.logPersistence.accessModes Persistent Volume Access Modes
2161
##
2162
accessModes:
2163
- ReadWriteOnce
2164
## @param filer.logPersistence.size Size of logs volume
2165
##
2166
size: 8Gi
2167
## @param filer.logPersistence.existingClaim The name of an existing PVC to use for logs persistence
2168
##
2169
existingClaim: ""
2170
## @param filer.logPersistence.selector Selector to match an existing Persistent Volume for logs PVC
2171
## If set, the PVC can't have a PV dynamically provisioned for it
2172
## E.g.
2173
## selector:
2174
## matchLabels:
2175
## app: my-app
2176
##
2177
selector: {}
2178
## @param filer.logPersistence.dataSource Custom PVC data source
2179
##
2180
dataSource: {}
2181
## persistentVolumeClaimRetentionPolicy
2182
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
2183
## @param filer.persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of the Master Server StatefulSet
2184
## @param filer.persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
2185
## @param filer.persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
2186
##
2187
persistentVolumeClaimRetentionPolicy:
2188
enabled: false
2189
whenScaled: Retain
2190
whenDeleted: Retain
2191
## @section Filer Server Metrics Parameters
2192
##
2193
metrics:
2194
## @param filer.metrics.enabled Enable the export of Prometheus metrics
2195
##
2196
enabled: false
2197
## Metrics service properties
2198
##
2199
service:
2200
## @param filer.metrics.service.port Metrics service port
2201
##
2202
port: 9327
2203
## @param filer.metrics.service.annotations Annotations for the metrics service.
2204
##
2205
annotations: {}
2206
## Prometheus Operator ServiceMonitor configuration
2207
##
2208
serviceMonitor:
2209
## @param filer.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
2210
##
2211
enabled: false
2212
## @param filer.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
2213
##
2214
namespace: ""
2215
## @param filer.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
2216
##
2217
annotations: {}
2218
## @param filer.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
2219
##
2220
labels: {}
2221
## @param filer.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
2222
##
2223
jobLabel: ""
2224
## @param filer.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2225
##
2226
honorLabels: false
2227
## @param filer.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
2228
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2229
## e.g:
2230
## interval: 10s
2231
##
2232
interval: ""
2233
## @param filer.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2234
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2235
## e.g:
2236
## scrapeTimeout: 10s
2237
##
2238
scrapeTimeout: ""
2239
## @param filer.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
2240
##
2241
metricRelabelings: []
2242
## @param filer.metrics.serviceMonitor.relabelings Specify general relabeling
2243
##
2244
relabelings: []
2245
## @param filer.metrics.serviceMonitor.selector Prometheus instance selector labels
2246
## selector:
2247
## prometheus: my-prometheus
2248
##
2249
selector: {}
2250
## @section Amazon S3 API Parameters
2251
##
2252
s3:
2253
## @param s3.enabled Enable Amazon S3 API deployment
2254
##
2255
enabled: false
2256
## @param s3.replicaCount Number of Amazon S3 API replicas to deploy
2257
##
2258
replicaCount: 1
2259
## @param s3.containerPorts.http Amazon S3 API HTTP container port
2260
## @param s3.containerPorts.grpc Amazon S3 API GRPC container port
2261
## @param s3.containerPorts.metrics Amazon S3 API metrics container port
2262
##
2263
containerPorts:
2264
http: 8333
2265
grpc: 18333
2266
metrics: 9327
2267
## @param s3.extraContainerPorts Optionally specify extra list of additional ports for Amazon S3 API containers
2268
## e.g:
2269
## extraContainerPorts:
2270
## - name: myservice
2271
## containerPort: 9090
2272
##
2273
extraContainerPorts: []
2274
## Configure extra options for Amazon S3 API containers' liveness and readiness probes
2275
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2276
## @param s3.livenessProbe.enabled Enable livenessProbe on Amazon S3 API containers
2277
## @param s3.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
2278
## @param s3.livenessProbe.periodSeconds Period seconds for livenessProbe
2279
## @param s3.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
2280
## @param s3.livenessProbe.failureThreshold Failure threshold for livenessProbe
2281
## @param s3.livenessProbe.successThreshold Success threshold for livenessProbe
2282
##
2283
livenessProbe:
2284
enabled: true
2285
initialDelaySeconds: 30
2286
timeoutSeconds: 30
2287
periodSeconds: 10
2288
successThreshold: 1
2289
failureThreshold: 6
2290
## @param s3.readinessProbe.enabled Enable readinessProbe on Amazon S3 API containers
2291
## @param s3.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
2292
## @param s3.readinessProbe.periodSeconds Period seconds for readinessProbe
2293
## @param s3.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
2294
## @param s3.readinessProbe.failureThreshold Failure threshold for readinessProbe
2295
## @param s3.readinessProbe.successThreshold Success threshold for readinessProbe
2296
##
2297
readinessProbe:
2298
enabled: true
2299
initialDelaySeconds: 30
2300
timeoutSeconds: 30
2301
periodSeconds: 10
2302
successThreshold: 1
2303
failureThreshold: 6
2304
## @param s3.startupProbe.enabled Enable startupProbe on Amazon S3 API containers
2305
## @param s3.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
2306
## @param s3.startupProbe.periodSeconds Period seconds for startupProbe
2307
## @param s3.startupProbe.timeoutSeconds Timeout seconds for startupProbe
2308
## @param s3.startupProbe.failureThreshold Failure threshold for startupProbe
2309
## @param s3.startupProbe.successThreshold Success threshold for startupProbe
2310
##
2311
startupProbe:
2312
enabled: false
2313
initialDelaySeconds: 5
2314
periodSeconds: 5
2315
timeoutSeconds: 1
2316
failureThreshold: 15
2317
successThreshold: 1
2318
## @param s3.customLivenessProbe Custom livenessProbe that overrides the default one
2319
##
2320
customLivenessProbe: {}
2321
## @param s3.customReadinessProbe Custom readinessProbe that overrides the default one
2322
##
2323
customReadinessProbe: {}
2324
## @param s3.customStartupProbe Custom startupProbe that overrides the default one
2325
##
2326
customStartupProbe: {}
2327
## Amazon S3 API resource requests and limits
2328
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2329
## @param s3.resourcesPreset Set Amazon S3 API container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if s3.resources is set (s3.resources is recommended for production).
2330
##
2331
resourcesPreset: "nano"
2332
## @param s3.resources Set Amazon S3 API container requests and limits for different resources like CPU or memory (essential for production workloads)
2333
## Example:
2334
## resources:
2335
## requests:
2336
## cpu: 2
2337
## memory: 512Mi
2338
## limits:
2339
## cpu: 3
2340
## memory: 1024Mi
2341
##
2342
resources: {}
2343
## Configure Pods Security Context
2344
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2345
## @param s3.podSecurityContext.enabled Enable Amazon S3 API pods' Security Context
2346
## @param s3.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for Amazon S3 API pods
2347
## @param s3.podSecurityContext.sysctls Set kernel settings using the sysctl interface for Amazon S3 API pods
2348
## @param s3.podSecurityContext.supplementalGroups Set filesystem extra groups for Amazon S3 API pods
2349
## @param s3.podSecurityContext.fsGroup Set fsGroup in Amazon S3 API pods' Security Context
2350
##
2351
podSecurityContext:
2352
enabled: true
2353
fsGroupChangePolicy: Always
2354
sysctls: []
2355
supplementalGroups: []
2356
fsGroup: 1001
2357
## Configure Container Security Context
2358
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
2359
## @param s3.containerSecurityContext.enabled Enabled Amazon S3 API container' Security Context
2360
## @param s3.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in Amazon S3 API container
2361
## @param s3.containerSecurityContext.runAsUser Set runAsUser in Amazon S3 API container' Security Context
2362
## @param s3.containerSecurityContext.runAsGroup Set runAsGroup in Amazon S3 API container' Security Context
2363
## @param s3.containerSecurityContext.runAsNonRoot Set runAsNonRoot in Amazon S3 API container' Security Context
2364
## @param s3.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in Amazon S3 API container' Security Context
2365
## @param s3.containerSecurityContext.privileged Set privileged in Amazon S3 API container' Security Context
2366
## @param s3.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in Amazon S3 API container' Security Context
2367
## @param s3.containerSecurityContext.capabilities.drop List of capabilities to be dropped in Amazon S3 API container
2368
## @param s3.containerSecurityContext.seccompProfile.type Set seccomp profile in Amazon S3 API container
2369
##
2370
containerSecurityContext:
2371
enabled: true
2372
seLinuxOptions: {}
2373
runAsUser: 1001
2374
runAsGroup: 1001
2375
runAsNonRoot: true
2376
readOnlyRootFilesystem: true
2377
privileged: false
2378
allowPrivilegeEscalation: false
2379
capabilities:
2380
drop: ["ALL"]
2381
seccompProfile:
2382
type: "RuntimeDefault"
2383
## @param s3.logLevel Amazon S3 API log level (0, 1, 2, 3, or 4)
2384
##
2385
logLevel: 1
2386
## @param s3.bindAddress Amazon S3 API bind address
2387
##
2388
bindAddress: 0.0.0.0
2389
## @param s3.allowEmptyFolder Allow empty folders in Amazon S3 API
2390
allowEmptyFolder: true
2391
## S3 Authentication
2392
## ref: https://github.com/seaweedfs/seaweedfs/wiki/Amazon-S3-API#s3-authentication
2393
## @param s3.auth.enabled Enable Amazon S3 API authentication
2394
## @param s3.auth.existingSecret Existing secret with Amazon S3 API authentication configuration
2395
## @param s3.auth.existingSecretConfigKey Key of the above existing secret with S3 API authentication configuration, defaults to `config.json`
2396
## @param s3.auth.adminAccessKeyId Amazon S3 API access key with admin privileges. Ignored if `s3.auth.existingSecret` is set
2397
## @param s3.auth.adminSecretAccessKey Amazon S3 API secret key with admin privileges. Ignored if `s3.auth.existingSecret` is set
2398
## @param s3.auth.readAccessKeyId Amazon S3 API read access key with read-only privileges. Ignored if `s3.auth.existingSecret` is set
2399
## @param s3.auth.readSecretAccessKey Amazon S3 API read secret key with read-only privileges. Ignored if `s3.auth.existingSecret` is set
2400
##
2401
auth:
2402
enabled: false
2403
existingSecret: ""
2404
existingSecretConfigKey: ""
2405
adminAccessKeyId: ""
2406
adminSecretAccessKey: ""
2407
readAccessKeyId: ""
2408
readSecretAccessKey: ""
2409
## @param s3.command Override default Amazon S3 API container command (useful when using custom images)
2410
##
2411
command: []
2412
## @param s3.args Override default Amazon S3 API container args (useful when using custom images)
2413
##
2414
args: []
2415
## @param s3.automountServiceAccountToken Mount Service Account token in Amazon S3 API pods
2416
##
2417
automountServiceAccountToken: false
2418
## @param s3.hostAliases Amazon S3 API pods host aliases
2419
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
2420
##
2421
hostAliases: []
2422
## @param s3.statefulsetAnnotations Annotations for Amazon S3 API statefulset
2423
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2424
##
2425
statefulsetAnnotations: {}
2426
## @param s3.podLabels Extra labels for Amazon S3 API pods
2427
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2428
##
2429
podLabels: {}
2430
## @param s3.podAnnotations Annotations for Amazon S3 API pods
2431
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
2432
##
2433
podAnnotations: {}
2434
## @param s3.podAffinityPreset Pod affinity preset. Ignored if `s3.affinity` is set. Allowed values: `soft` or `hard`
2435
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2436
##
2437
podAffinityPreset: ""
2438
## @param s3.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `s3.affinity` is set. Allowed values: `soft` or `hard`
2439
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
2440
##
2441
podAntiAffinityPreset: soft
2442
## Node s3.affinity preset
2443
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2444
##
2445
nodeAffinityPreset:
2446
## @param s3.nodeAffinityPreset.type Node affinity preset type. Ignored if `s3.affinity` is set. Allowed values: `soft` or `hard`
2447
##
2448
type: ""
2449
## @param s3.nodeAffinityPreset.key Node label key to match. Ignored if `s3.affinity` is set
2450
##
2451
key: ""
2452
## @param s3.nodeAffinityPreset.values Node label values to match. Ignored if `s3.affinity` is set
2453
## E.g.
2454
## values:
2455
## - e2e-az1
2456
## - e2e-az2
2457
##
2458
values: []
2459
## @param s3.affinity Affinity for Amazon S3 API pods assignment
2460
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
2461
## NOTE: `s3.podAffinityPreset`, `s3.podAntiAffinityPreset`, and `s3.nodeAffinityPreset` will be ignored when it's set
2462
##
2463
affinity: {}
2464
## @param s3.nodeSelector Node labels for Amazon S3 API pods assignment
2465
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2466
##
2467
nodeSelector: {}
2468
## @param s3.tolerations Tolerations for Amazon S3 API pods assignment
2469
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2470
##
2471
tolerations: []
2472
## @param s3.updateStrategy.type Amazon S3 API deployment strategy type
2473
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
2474
##
2475
updateStrategy:
2476
## Can be set to RollingUpdate or Recreate
2477
##
2478
type: RollingUpdate
2479
## @param s3.priorityClassName Amazon S3 API pods' priorityClassName
2480
##
2481
priorityClassName: ""
2482
## @param s3.topologySpreadConstraints Topology Spread Constraints for Amazon S3 API pod assignment spread across your cluster among failure-domains
2483
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
2484
##
2485
topologySpreadConstraints: []
2486
## @param s3.schedulerName Name of the k8s scheduler (other than default) for Amazon S3 API pods
2487
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
2488
##
2489
schedulerName: ""
2490
## @param s3.terminationGracePeriodSeconds Seconds Amazon S3 API pods need to terminate gracefully
2491
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
2492
##
2493
terminationGracePeriodSeconds: ""
2494
## @param s3.lifecycleHooks for Amazon S3 API containers to automate configuration before or after startup
2495
##
2496
lifecycleHooks: {}
2497
## @param s3.extraEnvVars Array with extra environment variables to add to Amazon S3 API containers
2498
## e.g:
2499
## extraEnvVars:
2500
## - name: FOO
2501
## value: "bar"
2502
##
2503
extraEnvVars: []
2504
## @param s3.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Amazon S3 API containers
2505
##
2506
extraEnvVarsCM: ""
2507
## @param s3.extraEnvVarsSecret Name of existing Secret containing extra env vars for Amazon S3 API containers
2508
##
2509
extraEnvVarsSecret: ""
2510
## @param s3.extraVolumes Optionally specify extra list of additional volumes for the Amazon S3 API pods
2511
##
2512
extraVolumes: []
2513
## @param s3.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Amazon S3 API containers
2514
##
2515
extraVolumeMounts: []
2516
## @param s3.sidecars Add additional sidecar containers to the Amazon S3 API pods
2517
## e.g:
2518
## sidecars:
2519
## - name: your-image-name
2520
## image: your-image
2521
## imagePullPolicy: Always
2522
## ports:
2523
## - name: portname
2524
## containerPort: 1234
2525
##
2526
sidecars: []
2527
## @param s3.initContainers Add additional init containers to the Amazon S3 API pods
2528
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
2529
## e.g:
2530
## initContainers:
2531
## - name: your-image-name
2532
## image: your-image
2533
## imagePullPolicy: Always
2534
## command: ['sh', '-c', 'echo "hello world"']
2535
##
2536
initContainers: []
2537
## Pod Disruption Budget configuration
2538
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
2539
## @param s3.pdb.create Enable/disable a Pod Disruption Budget creation
2540
## @param s3.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
2541
## @param s3.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `s3.pdb.minAvailable` and `s3.pdb.maxUnavailable` are empty.
2542
##
2543
pdb:
2544
create: true
2545
minAvailable: ""
2546
maxUnavailable: ""
2547
## Autoscaling configuration
2548
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
2549
## @param s3.autoscaling.enabled Enable autoscaling for s3
2550
## @param s3.autoscaling.minReplicas Minimum number of s3 replicas
2551
## @param s3.autoscaling.maxReplicas Maximum number of s3 replicas
2552
## @param s3.autoscaling.targetCPU Target CPU utilization percentage
2553
## @param s3.autoscaling.targetMemory Target Memory utilization percentage
2554
##
2555
autoscaling:
2556
enabled: false
2557
minReplicas: ""
2558
maxReplicas: ""
2559
targetCPU: ""
2560
targetMemory: ""
2561
## @section Amazon S3 API Traffic Exposure Parameters
2562
##
2563
2564
## Amazon S3 API service parameters
2565
##
2566
service:
2567
## @param s3.service.type Amazon S3 API service type
2568
##
2569
type: ClusterIP
2570
## @param s3.service.ports.http Amazon S3 API service HTTP port
2571
## @param s3.service.ports.grpc Amazon S3 API service GRPC port
2572
##
2573
ports:
2574
http: 8333
2575
grpc: 18333
2576
## Node ports to expose
2577
## @param s3.service.nodePorts.http Node port for HTTP
2578
## @param s3.service.nodePorts.grpc Node port for GRPC
2579
## NOTE: choose port between <30000-32767>
2580
##
2581
nodePorts:
2582
http: ""
2583
grpc: ""
2584
## @param s3.service.clusterIP Amazon S3 API service Cluster IP
2585
## e.g.:
2586
## clusterIP: None
2587
##
2588
clusterIP: ""
2589
## @param s3.service.loadBalancerIP Amazon S3 API service Load Balancer IP
2590
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
2591
##
2592
loadBalancerIP: ""
2593
## @param s3.service.loadBalancerSourceRanges Amazon S3 API service Load Balancer sources
2594
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
2595
## e.g:
2596
## loadBalancerSourceRanges:
2597
## - 10.10.10.0/24
2598
##
2599
loadBalancerSourceRanges: []
2600
## @param s3.service.externalTrafficPolicy Amazon S3 API service external traffic policy
2601
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2602
##
2603
externalTrafficPolicy: Cluster
2604
## @param s3.service.annotations Additional custom annotations for Amazon S3 API service
2605
##
2606
annotations: {}
2607
## @param s3.service.extraPorts Extra ports to expose in Amazon S3 API service (normally used with the `sidecars` value)
2608
##
2609
extraPorts: []
2610
## @param s3.service.sessionAffinity Control where client requests go, to the same pod or round-robin
2611
## Values: ClientIP or None
2612
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
2613
##
2614
sessionAffinity: None
2615
## @param s3.service.sessionAffinityConfig Additional settings for the sessionAffinity
2616
## sessionAffinityConfig:
2617
## clientIP:
2618
## timeoutSeconds: 300
2619
##
2620
sessionAffinityConfig: {}
2621
## Headless service properties
2622
##
2623
headless:
2624
## @param s3.service.headless.annotations Annotations for the headless service.
2625
##
2626
annotations: {}
2627
## Network Policies for Amazon S3 API
2628
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2629
##
2630
networkPolicy:
2631
## @param s3.networkPolicy.enabled Specifies whether a NetworkPolicy should be created for Amazon S3 API
2632
##
2633
enabled: true
2634
## @param s3.networkPolicy.allowExternal Don't require server label for connections
2635
## The Policy model to apply. When set to false, only pods with the correct
2636
## server label will have network access to the ports server is listening
2637
## on. When true, server will accept connections from any source
2638
## (with the correct destination port).
2639
##
2640
allowExternal: true
2641
## @param s3.networkPolicy.allowExternalEgress Allow the Amazon S3 API pods to access any range of port and all destinations.
2642
##
2643
allowExternalEgress: true
2644
## @param s3.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2645
## e.g:
2646
## extraIngress:
2647
## - ports:
2648
## - port: 1234
2649
## from:
2650
## - podSelector:
2651
## - matchLabels:
2652
## - role: frontend
2653
## - podSelector:
2654
## - matchExpressions:
2655
## - key: role
2656
## operator: In
2657
## values:
2658
## - frontend
2659
extraIngress: []
2660
## @param s3.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
2661
## e.g:
2662
## extraEgress:
2663
## - ports:
2664
## - port: 1234
2665
## to:
2666
## - podSelector:
2667
## - matchLabels:
2668
## - role: frontend
2669
## - podSelector:
2670
## - matchExpressions:
2671
## - key: role
2672
## operator: In
2673
## values:
2674
## - frontend
2675
##
2676
extraEgress: []
2677
## @param s3.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
2678
## @param s3.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
2679
##
2680
ingressNSMatchLabels: {}
2681
ingressNSPodMatchLabels: {}
2682
## Amazon S3 API ingress parameters
2683
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
2684
##
2685
ingress:
2686
## @param s3.ingress.enabled Enable ingress record generation for Amazon S3 API
2687
##
2688
enabled: false
2689
## @param s3.ingress.pathType Ingress path type
2690
##
2691
pathType: ImplementationSpecific
2692
## @param s3.ingress.apiVersion Force Ingress API version (automatically detected if not set)
2693
##
2694
apiVersion: ""
2695
## @param s3.ingress.hostname Default host for the ingress record
2696
##
2697
hostname: s3.seaweedfs.local
2698
## @param s3.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
2699
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
2700
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
2701
##
2702
ingressClassName: ""
2703
## @param s3.ingress.path Default path for the ingress record
2704
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
2705
##
2706
path: /
2707
## @param s3.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
2708
## Use this parameter to set the required annotations for cert-manager, see
2709
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
2710
## e.g:
2711
## annotations:
2712
## kubernetes.io/ingress.class: nginx
2713
## cert-manager.io/cluster-issuer: cluster-issuer-name
2714
##
2715
annotations: {}
2716
## @param s3.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
2717
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
2718
## You can:
2719
## - Use the `ingress.secrets` parameter to create this TLS secret
2720
## - Rely on cert-manager to create it by setting the corresponding annotations
2721
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
2722
##
2723
tls: false
2724
## @param s3.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
2725
##
2726
selfSigned: false
2727
## @param s3.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
2728
## e.g:
2729
## extraHosts:
2730
## - name: s3.seaweedfs.local
2731
## path: /
2732
##
2733
extraHosts: []
2734
## @param s3.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
2735
## e.g:
2736
## extraPaths:
2737
## - path: /*
2738
## backend:
2739
## serviceName: ssl-redirect
2740
## servicePort: use-annotation
2741
##
2742
extraPaths: []
2743
## @param s3.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
2744
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
2745
## e.g:
2746
## extraTls:
2747
## - hosts:
2748
## - s3.seaweedfs.local
2749
## secretName: s3.seaweedfs.local-tls
2750
##
2751
extraTls: []
2752
## @param s3.ingress.secrets Custom TLS certificates as secrets
2753
## NOTE: 'key' and 'certificate' are expected in PEM format
2754
## NOTE: 'name' should line up with a 'secretName' set further up
2755
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
2756
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
2757
## It is also possible to create and manage the certificates outside of this helm chart
2758
## Please see README.md for more information
2759
## e.g:
2760
## secrets:
2761
## - name: s3.seaweedfs.local-tls
2762
## key: |-
2763
## -----BEGIN RSA PRIVATE KEY-----
2764
## ...
2765
## -----END RSA PRIVATE KEY-----
2766
## certificate: |-
2767
## -----BEGIN CERTIFICATE-----
2768
## ...
2769
## -----END CERTIFICATE-----
2770
##
2771
secrets: []
2772
## @param s3.ingress.extraRules Additional rules to be covered with this ingress record
2773
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
2774
## e.g:
2775
## extraRules:
2776
## - host: example.local
2777
## http:
2778
## path: /
2779
## backend:
2780
## service:
2781
## name: example-svc
2782
## port:
2783
## name: http
2784
##
2785
extraRules: []
2786
## @section Amazon S3 API Metrics Parameters
2787
##
2788
metrics:
2789
## @param s3.metrics.enabled Enable the export of Prometheus metrics
2790
##
2791
enabled: false
2792
## Metrics service properties
2793
##
2794
service:
2795
## @param s3.metrics.service.port Metrics service port
2796
##
2797
port: 9327
2798
## @param s3.metrics.service.annotations Annotations for the metrics service.
2799
##
2800
annotations: {}
2801
## Prometheus Operator ServiceMonitor configuration
2802
##
2803
serviceMonitor:
2804
## @param s3.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
2805
##
2806
enabled: false
2807
## @param s3.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
2808
##
2809
namespace: ""
2810
## @param s3.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
2811
##
2812
annotations: {}
2813
## @param s3.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
2814
##
2815
labels: {}
2816
## @param s3.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
2817
##
2818
jobLabel: ""
2819
## @param s3.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
2820
##
2821
honorLabels: false
2822
## @param s3.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
2823
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2824
## e.g:
2825
## interval: 10s
2826
##
2827
interval: ""
2828
## @param s3.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
2829
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
2830
## e.g:
2831
## scrapeTimeout: 10s
2832
##
2833
scrapeTimeout: ""
2834
## @param s3.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
2835
##
2836
metricRelabelings: []
2837
## @param s3.metrics.serviceMonitor.relabelings Specify general relabeling
2838
##
2839
relabelings: []
2840
## @param s3.metrics.serviceMonitor.selector Prometheus instance selector labels
2841
## selector:
2842
## prometheus: my-prometheus
2843
##
2844
selector: {}
2845
## @section WebDAV Parameters
2846
##
2847
webdav:
2848
## @param webdav.enabled Enable WebDAV deployment
2849
##
2850
enabled: false
2851
## @param webdav.replicaCount Number of WebDAV replicas to deploy
2852
##
2853
replicaCount: 1
2854
## @param webdav.containerPorts.http WebDAV HTTP container port (HTTPS if `webdav.tls.enabled` is `true`)
2855
##
2856
containerPorts:
2857
http: 7333
2858
## @param webdav.extraContainerPorts Optionally specify extra list of additional ports for WebDAV containers
2859
## e.g:
2860
## extraContainerPorts:
2861
## - name: myservice
2862
## containerPort: 9090
2863
##
2864
extraContainerPorts: []
2865
## Configure extra options for WebDAV containers' liveness and readiness probes
2866
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
2867
## @param webdav.livenessProbe.enabled Enable livenessProbe on WebDAV containers
2868
## @param webdav.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
2869
## @param webdav.livenessProbe.periodSeconds Period seconds for livenessProbe
2870
## @param webdav.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
2871
## @param webdav.livenessProbe.failureThreshold Failure threshold for livenessProbe
2872
## @param webdav.livenessProbe.successThreshold Success threshold for livenessProbe
2873
##
2874
livenessProbe:
2875
enabled: true
2876
initialDelaySeconds: 30
2877
timeoutSeconds: 30
2878
periodSeconds: 10
2879
successThreshold: 1
2880
failureThreshold: 6
2881
## @param webdav.readinessProbe.enabled Enable readinessProbe on WebDAV containers
2882
## @param webdav.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
2883
## @param webdav.readinessProbe.periodSeconds Period seconds for readinessProbe
2884
## @param webdav.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
2885
## @param webdav.readinessProbe.failureThreshold Failure threshold for readinessProbe
2886
## @param webdav.readinessProbe.successThreshold Success threshold for readinessProbe
2887
##
2888
readinessProbe:
2889
enabled: true
2890
initialDelaySeconds: 30
2891
timeoutSeconds: 30
2892
periodSeconds: 10
2893
successThreshold: 1
2894
failureThreshold: 6
2895
## @param webdav.startupProbe.enabled Enable startupProbe on WebDAV containers
2896
## @param webdav.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
2897
## @param webdav.startupProbe.periodSeconds Period seconds for startupProbe
2898
## @param webdav.startupProbe.timeoutSeconds Timeout seconds for startupProbe
2899
## @param webdav.startupProbe.failureThreshold Failure threshold for startupProbe
2900
## @param webdav.startupProbe.successThreshold Success threshold for startupProbe
2901
##
2902
startupProbe:
2903
enabled: false
2904
initialDelaySeconds: 5
2905
periodSeconds: 5
2906
timeoutSeconds: 1
2907
failureThreshold: 15
2908
successThreshold: 1
2909
## @param webdav.customLivenessProbe Custom livenessProbe that overrides the default one
2910
##
2911
customLivenessProbe: {}
2912
## @param webdav.customReadinessProbe Custom readinessProbe that overrides the default one
2913
##
2914
customReadinessProbe: {}
2915
## @param webdav.customStartupProbe Custom startupProbe that overrides the default one
2916
##
2917
customStartupProbe: {}
2918
## WebDAV resource requests and limits
2919
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
2920
## @param webdav.resourcesPreset Set WebDAV container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if webdav.resources is set (webdav.resources is recommended for production).
2921
##
2922
resourcesPreset: "nano"
2923
## @param webdav.resources Set WebDAV container requests and limits for different resources like CPU or memory (essential for production workloads)
2924
## Example:
2925
## resources:
2926
## requests:
2927
## cpu: 2
2928
## memory: 512Mi
2929
## limits:
2930
## cpu: 3
2931
## memory: 1024Mi
2932
##
2933
resources: {}
2934
## Configure Pods Security Context
2935
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
2936
## @param webdav.podSecurityContext.enabled Enable WebDAV pods' Security Context
2937
## @param webdav.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for WebDAV pods
2938
## @param webdav.podSecurityContext.sysctls Set kernel settings using the sysctl interface for WebDAV pods
2939
## @param webdav.podSecurityContext.supplementalGroups Set filesystem extra groups for WebDAV pods
2940
## @param webdav.podSecurityContext.fsGroup Set fsGroup in WebDAV pods' Security Context
2941
##
2942
podSecurityContext:
2943
enabled: true
2944
fsGroupChangePolicy: Always
2945
sysctls: []
2946
supplementalGroups: []
2947
fsGroup: 1001
2948
## Configure Container Security Context
2949
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
2950
## @param webdav.containerSecurityContext.enabled Enabled WebDAV container' Security Context
2951
## @param webdav.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in WebDAV container
2952
## @param webdav.containerSecurityContext.runAsUser Set runAsUser in WebDAV container' Security Context
2953
## @param webdav.containerSecurityContext.runAsGroup Set runAsGroup in WebDAV container' Security Context
2954
## @param webdav.containerSecurityContext.runAsNonRoot Set runAsNonRoot in WebDAV container' Security Context
2955
## @param webdav.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in WebDAV container' Security Context
2956
## @param webdav.containerSecurityContext.privileged Set privileged in WebDAV container' Security Context
2957
## @param webdav.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in WebDAV container' Security Context
2958
## @param webdav.containerSecurityContext.capabilities.drop List of capabilities to be dropped in WebDAV container
2959
## @param webdav.containerSecurityContext.seccompProfile.type Set seccomp profile in WebDAV container
2960
##
2961
containerSecurityContext:
2962
enabled: true
2963
seLinuxOptions: {}
2964
runAsUser: 1001
2965
runAsGroup: 1001
2966
runAsNonRoot: true
2967
readOnlyRootFilesystem: true
2968
privileged: false
2969
allowPrivilegeEscalation: false
2970
capabilities:
2971
drop: ["ALL"]
2972
seccompProfile:
2973
type: "RuntimeDefault"
2974
## @param webdav.logLevel WebDAV log level (0, 1, 2, 3, or 4)
2975
##
2976
logLevel: 1
2977
## TLS configuration for WebDAV
2978
##
2979
tls:
2980
## @param webdav.tls.enabled Enable TLS transport for WebDAV
2981
##
2982
enabled: false
2983
## @param webdav.tls.autoGenerated.enabled Enable automatic generation of certificates for TLS
2984
## @param webdav.tls.autoGenerated.engine Mechanism to generate the certificates (allowed values: helm, cert-manager)
2985
autoGenerated:
2986
enabled: false
2987
engine: helm
2988
## @param webdav.tls.autoGenerated.certManager.existingIssuer The name of an existing Issuer to use for generating the certificates (only for `cert-manager` engine)
2989
## @param webdav.tls.autoGenerated.certManager.existingIssuerKind Existing Issuer kind, defaults to Issuer (only for `cert-manager` engine)
2990
## @param webdav.tls.autoGenerated.certManager.keyAlgorithm Key algorithm for the certificates (only for `cert-manager` engine)
2991
## @param webdav.tls.autoGenerated.certManager.keySize Key size for the certificates (only for `cert-manager` engine)
2992
## @param webdav.tls.autoGenerated.certManager.duration Duration for the certificates (only for `cert-manager` engine)
2993
## @param webdav.tls.autoGenerated.certManager.renewBefore Renewal period for the certificates (only for `cert-manager` engine)
2994
certManager:
2995
existingIssuer: ""
2996
existingIssuerKind: ""
2997
keySize: 2048
2998
keyAlgorithm: RSA
2999
duration: 2160h
3000
renewBefore: 360h
3001
## @param webdav.tls.existingSecret The name of an existing Secret containing the certificates for TLS
3002
## @param webdav.tls.cert Volume Server certificate for TLS. Ignored if `webdav.tls.existingSecret` is set
3003
## @param webdav.tls.key Volume Server key for TLS. Ignored if `webdav.tls.existingSecret` is set
3004
##
3005
existingSecret: ""
3006
cert: ""
3007
key: ""
3008
## @param webdav.command Override default WebDAV container command (useful when using custom images)
3009
##
3010
command: []
3011
## @param webdav.args Override default WebDAV container args (useful when using custom images)
3012
##
3013
args: []
3014
## @param webdav.automountServiceAccountToken Mount Service Account token in WebDAV pods
3015
##
3016
automountServiceAccountToken: false
3017
## @param webdav.hostAliases WebDAV pods host aliases
3018
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
3019
##
3020
hostAliases: []
3021
## @param webdav.statefulsetAnnotations Annotations for WebDAV statefulset
3022
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3023
##
3024
statefulsetAnnotations: {}
3025
## @param webdav.podLabels Extra labels for WebDAV pods
3026
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3027
##
3028
podLabels: {}
3029
## @param webdav.podAnnotations Annotations for WebDAV pods
3030
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3031
##
3032
podAnnotations: {}
3033
## @param webdav.podAffinityPreset Pod affinity preset. Ignored if `webdav.affinity` is set. Allowed values: `soft` or `hard`
3034
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3035
##
3036
podAffinityPreset: ""
3037
## @param webdav.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `webdav.affinity` is set. Allowed values: `soft` or `hard`
3038
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3039
##
3040
podAntiAffinityPreset: soft
3041
## Node webdav.affinity preset
3042
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3043
##
3044
nodeAffinityPreset:
3045
## @param webdav.nodeAffinityPreset.type Node affinity preset type. Ignored if `webdav.affinity` is set. Allowed values: `soft` or `hard`
3046
##
3047
type: ""
3048
## @param webdav.nodeAffinityPreset.key Node label key to match. Ignored if `webdav.affinity` is set
3049
##
3050
key: ""
3051
## @param webdav.nodeAffinityPreset.values Node label values to match. Ignored if `webdav.affinity` is set
3052
## E.g.
3053
## values:
3054
## - e2e-az1
3055
## - e2e-az2
3056
##
3057
values: []
3058
## @param webdav.affinity Affinity for WebDAV pods assignment
3059
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
3060
## NOTE: `webdav.podAffinityPreset`, `webdav.podAntiAffinityPreset`, and `webdav.nodeAffinityPreset` will be ignored when it's set
3061
##
3062
affinity: {}
3063
## @param webdav.nodeSelector Node labels for WebDAV pods assignment
3064
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3065
##
3066
nodeSelector: {}
3067
## @param webdav.tolerations Tolerations for WebDAV pods assignment
3068
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3069
##
3070
tolerations: []
3071
## @param webdav.updateStrategy.type WebDAV deployment strategy type
3072
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
3073
##
3074
updateStrategy:
3075
## Can be set to RollingUpdate or Recreate
3076
##
3077
type: RollingUpdate
3078
## @param webdav.priorityClassName WebDAV pods' priorityClassName
3079
##
3080
priorityClassName: ""
3081
## @param webdav.topologySpreadConstraints Topology Spread Constraints for WebDAV pod assignment spread across your cluster among failure-domains
3082
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
3083
##
3084
topologySpreadConstraints: []
3085
## @param webdav.schedulerName Name of the k8s scheduler (other than default) for WebDAV pods
3086
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
3087
##
3088
schedulerName: ""
3089
## @param webdav.terminationGracePeriodSeconds Seconds WebDAV pods need to terminate gracefully
3090
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
3091
##
3092
terminationGracePeriodSeconds: ""
3093
## @param webdav.lifecycleHooks for WebDAV containers to automate configuration before or after startup
3094
##
3095
lifecycleHooks: {}
3096
## @param webdav.extraEnvVars Array with extra environment variables to add to WebDAV containers
3097
## e.g:
3098
## extraEnvVars:
3099
## - name: FOO
3100
## value: "bar"
3101
##
3102
extraEnvVars: []
3103
## @param webdav.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for WebDAV containers
3104
##
3105
extraEnvVarsCM: ""
3106
## @param webdav.extraEnvVarsSecret Name of existing Secret containing extra env vars for WebDAV containers
3107
##
3108
extraEnvVarsSecret: ""
3109
## @param webdav.extraVolumes Optionally specify extra list of additional volumes for the WebDAV pods
3110
##
3111
extraVolumes: []
3112
## @param webdav.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the WebDAV containers
3113
##
3114
extraVolumeMounts: []
3115
## @param webdav.sidecars Add additional sidecar containers to the WebDAV pods
3116
## e.g:
3117
## sidecars:
3118
## - name: your-image-name
3119
## image: your-image
3120
## imagePullPolicy: Always
3121
## ports:
3122
## - name: portname
3123
## containerPort: 1234
3124
##
3125
sidecars: []
3126
## @param webdav.initContainers Add additional init containers to the WebDAV pods
3127
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
3128
## e.g:
3129
## initContainers:
3130
## - name: your-image-name
3131
## image: your-image
3132
## imagePullPolicy: Always
3133
## command: ['sh', '-c', 'echo "hello world"']
3134
##
3135
initContainers: []
3136
## Pod Disruption Budget configuration
3137
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
3138
## @param webdav.pdb.create Enable/disable a Pod Disruption Budget creation
3139
## @param webdav.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
3140
## @param webdav.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `webdav.pdb.minAvailable` and `webdav.pdb.maxUnavailable` are empty.
3141
##
3142
pdb:
3143
create: true
3144
minAvailable: ""
3145
maxUnavailable: ""
3146
## Autoscaling configuration
3147
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
3148
## @param webdav.autoscaling.enabled Enable autoscaling for webdav
3149
## @param webdav.autoscaling.minReplicas Minimum number of webdav replicas
3150
## @param webdav.autoscaling.maxReplicas Maximum number of webdav replicas
3151
## @param webdav.autoscaling.targetCPU Target CPU utilization percentage
3152
## @param webdav.autoscaling.targetMemory Target Memory utilization percentage
3153
##
3154
autoscaling:
3155
enabled: false
3156
minReplicas: ""
3157
maxReplicas: ""
3158
targetCPU: ""
3159
targetMemory: ""
3160
## @section WebDAV Traffic Exposure Parameters
3161
##
3162
3163
## WebDAV service parameters
3164
##
3165
service:
3166
## @param webdav.service.type WebDAV service type
3167
##
3168
type: ClusterIP
3169
## @param webdav.service.ports.http WebDAV service HTTP port (HTTPS if `webdav.tls.enabled` is `true`)
3170
##
3171
ports:
3172
http: 7333
3173
## Node ports to expose
3174
## @param webdav.service.nodePorts.http Node port for HTTP (HTTPS if `webdav.tls.enabled` is `true`)
3175
## NOTE: choose port between <30000-32767>
3176
##
3177
nodePorts:
3178
http: ""
3179
## @param webdav.service.clusterIP WebDAV service Cluster IP
3180
## e.g.:
3181
## clusterIP: None
3182
##
3183
clusterIP: ""
3184
## @param webdav.service.loadBalancerIP WebDAV service Load Balancer IP
3185
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
3186
##
3187
loadBalancerIP: ""
3188
## @param webdav.service.loadBalancerSourceRanges WebDAV service Load Balancer sources
3189
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
3190
## e.g:
3191
## loadBalancerSourceRanges:
3192
## - 10.10.10.0/24
3193
##
3194
loadBalancerSourceRanges: []
3195
## @param webdav.service.externalTrafficPolicy WebDAV service external traffic policy
3196
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
3197
##
3198
externalTrafficPolicy: Cluster
3199
## @param webdav.service.annotations Additional custom annotations for WebDAV service
3200
##
3201
annotations: {}
3202
## @param webdav.service.extraPorts Extra ports to expose in WebDAV service (normally used with the `sidecars` value)
3203
##
3204
extraPorts: []
3205
## @param webdav.service.sessionAffinity Control where client requests go, to the same pod or round-robin
3206
## Values: ClientIP or None
3207
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
3208
##
3209
sessionAffinity: None
3210
## @param webdav.service.sessionAffinityConfig Additional settings for the sessionAffinity
3211
## sessionAffinityConfig:
3212
## clientIP:
3213
## timeoutSeconds: 300
3214
##
3215
sessionAffinityConfig: {}
3216
## Headless service properties
3217
##
3218
headless:
3219
## @param webdav.service.headless.annotations Annotations for the headless service.
3220
##
3221
annotations: {}
3222
## Network Policies for WebDAV
3223
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
3224
##
3225
networkPolicy:
3226
## @param webdav.networkPolicy.enabled Specifies whether a NetworkPolicy should be created for WebDAV
3227
##
3228
enabled: true
3229
## @param webdav.networkPolicy.allowExternal Don't require server label for connections
3230
## The Policy model to apply. When set to false, only pods with the correct
3231
## server label will have network access to the ports server is listening
3232
## on. When true, server will accept connections from any source
3233
## (with the correct destination port).
3234
##
3235
allowExternal: true
3236
## @param webdav.networkPolicy.allowExternalEgress Allow the WebDAV pods to access any range of port and all destinations.
3237
##
3238
allowExternalEgress: true
3239
## @param webdav.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
3240
## e.g:
3241
## extraIngress:
3242
## - ports:
3243
## - port: 1234
3244
## from:
3245
## - podSelector:
3246
## - matchLabels:
3247
## - role: frontend
3248
## - podSelector:
3249
## - matchExpressions:
3250
## - key: role
3251
## operator: In
3252
## values:
3253
## - frontend
3254
extraIngress: []
3255
## @param webdav.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)
3256
## e.g:
3257
## extraEgress:
3258
## - ports:
3259
## - port: 1234
3260
## to:
3261
## - podSelector:
3262
## - matchLabels:
3263
## - role: frontend
3264
## - podSelector:
3265
## - matchExpressions:
3266
## - key: role
3267
## operator: In
3268
## values:
3269
## - frontend
3270
##
3271
extraEgress: []
3272
## @param webdav.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
3273
## @param webdav.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
3274
##
3275
ingressNSMatchLabels: {}
3276
ingressNSPodMatchLabels: {}
3277
## WebDAV ingress parameters
3278
## ref: http://kubernetes.io/docs/concepts/services-networking/ingress/
3279
##
3280
ingress:
3281
## @param webdav.ingress.enabled Enable ingress record generation for WebDAV
3282
##
3283
enabled: false
3284
## @param webdav.ingress.pathType Ingress path type
3285
##
3286
pathType: ImplementationSpecific
3287
## @param webdav.ingress.apiVersion Force Ingress API version (automatically detected if not set)
3288
##
3289
apiVersion: ""
3290
## @param webdav.ingress.hostname Default host for the ingress record
3291
##
3292
hostname: webdav.seaweedfs.local
3293
## @param webdav.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
3294
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
3295
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
3296
##
3297
ingressClassName: ""
3298
## @param webdav.ingress.path Default path for the ingress record
3299
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
3300
##
3301
path: /
3302
## @param webdav.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
3303
## Use this parameter to set the required annotations for cert-manager, see
3304
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
3305
## e.g:
3306
## annotations:
3307
## kubernetes.io/ingress.class: nginx
3308
## cert-manager.io/cluster-issuer: cluster-issuer-name
3309
##
3310
annotations: {}
3311
## @param webdav.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
3312
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
3313
## You can:
3314
## - Use the `ingress.secrets` parameter to create this TLS secret
3315
## - Rely on cert-manager to create it by setting the corresponding annotations
3316
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
3317
##
3318
tls: false
3319
## @param webdav.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
3320
##
3321
selfSigned: false
3322
## @param webdav.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
3323
## e.g:
3324
## extraHosts:
3325
## - name: webdav.seaweedfs.local
3326
## path: /
3327
##
3328
extraHosts: []
3329
## @param webdav.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
3330
## e.g:
3331
## extraPaths:
3332
## - path: /*
3333
## backend:
3334
## serviceName: ssl-redirect
3335
## servicePort: use-annotation
3336
##
3337
extraPaths: []
3338
## @param webdav.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
3339
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
3340
## e.g:
3341
## extraTls:
3342
## - hosts:
3343
## - webdav.seaweedfs.local
3344
## secretName: webdav.seaweedfs.local-tls
3345
##
3346
extraTls: []
3347
## @param webdav.ingress.secrets Custom TLS certificates as secrets
3348
## NOTE: 'key' and 'certificate' are expected in PEM format
3349
## NOTE: 'name' should line up with a 'secretName' set further up
3350
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
3351
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
3352
## It is also possible to create and manage the certificates outside of this helm chart
3353
## Please see README.md for more information
3354
## e.g:
3355
## secrets:
3356
## - name: webdav.seaweedfs.local-tls
3357
## key: |-
3358
## -----BEGIN RSA PRIVATE KEY-----
3359
## ...
3360
## -----END RSA PRIVATE KEY-----
3361
## certificate: |-
3362
## -----BEGIN CERTIFICATE-----
3363
## ...
3364
## -----END CERTIFICATE-----
3365
##
3366
secrets: []
3367
## @param webdav.ingress.extraRules Additional rules to be covered with this ingress record
3368
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
3369
## e.g:
3370
## extraRules:
3371
## - host: example.local
3372
## http:
3373
## path: /
3374
## backend:
3375
## service:
3376
## name: example-svc
3377
## port:
3378
## name: http
3379
##
3380
extraRules: []
3381
## @section IAM Parameters
3382
##
3383
iam:
3384
## @param iam.enabled Enable IAM deployment (DEPRECATED in SeaweedFS 4.x - IAM is now embedded in filer/s3)
3385
##
3386
enabled: false
3387
## @param iam.replicaCount Number of IAM replicas to deploy
3388
##
3389
replicaCount: 1
3390
## @param iam.containerPorts.http IAM HTTP container port
3391
##
3392
containerPorts:
3393
http: 8111
3394
## Configure extra options for IAM containers' liveness and readiness probes
3395
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
3396
## @param iam.livenessProbe.enabled Enable livenessProbe on IAM containers
3397
## @param iam.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
3398
## @param iam.livenessProbe.periodSeconds Period seconds for livenessProbe
3399
## @param iam.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
3400
## @param iam.livenessProbe.failureThreshold Failure threshold for livenessProbe
3401
## @param iam.livenessProbe.successThreshold Success threshold for livenessProbe
3402
##
3403
livenessProbe:
3404
enabled: true
3405
initialDelaySeconds: 30
3406
timeoutSeconds: 30
3407
periodSeconds: 10
3408
successThreshold: 1
3409
failureThreshold: 6
3410
## @param iam.readinessProbe.enabled Enable readinessProbe on IAM containers
3411
## @param iam.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
3412
## @param iam.readinessProbe.periodSeconds Period seconds for readinessProbe
3413
## @param iam.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
3414
## @param iam.readinessProbe.failureThreshold Failure threshold for readinessProbe
3415
## @param iam.readinessProbe.successThreshold Success threshold for readinessProbe
3416
##
3417
readinessProbe:
3418
enabled: true
3419
initialDelaySeconds: 30
3420
timeoutSeconds: 30
3421
periodSeconds: 10
3422
successThreshold: 1
3423
failureThreshold: 6
3424
## @param iam.startupProbe.enabled Enable startupProbe on IAM containers
3425
## @param iam.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
3426
## @param iam.startupProbe.periodSeconds Period seconds for startupProbe
3427
## @param iam.startupProbe.timeoutSeconds Timeout seconds for startupProbe
3428
## @param iam.startupProbe.failureThreshold Failure threshold for startupProbe
3429
## @param iam.startupProbe.successThreshold Success threshold for startupProbe
3430
##
3431
startupProbe:
3432
enabled: false
3433
initialDelaySeconds: 5
3434
periodSeconds: 5
3435
timeoutSeconds: 1
3436
failureThreshold: 15
3437
successThreshold: 1
3438
## IAM resource requests and limits
3439
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3440
## @param iam.resourcesPreset Set IAM container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if webdav.resources is set (webdav.resources is recommended for production).
3441
##
3442
resourcesPreset: "nano"
3443
## @param iam.resources Set IAM container requests and limits for different resources like CPU or memory (essential for production workloads)
3444
## Example:
3445
## resources:
3446
## requests:
3447
## cpu: 2
3448
## memory: 512Mi
3449
## limits:
3450
## cpu: 3
3451
## memory: 1024Mi
3452
##
3453
resources: {}
3454
## Configure Pods Security Context
3455
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
3456
## @param iam.podSecurityContext.enabled Enable IAM pods' Security Context
3457
## @param iam.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy for IAM pods
3458
## @param iam.podSecurityContext.sysctls Set kernel settings using the sysctl interface for IAM pods
3459
## @param iam.podSecurityContext.supplementalGroups Set filesystem extra groups for IAM pods
3460
## @param iam.podSecurityContext.fsGroup Set fsGroup in IAM pods' Security Context
3461
##
3462
podSecurityContext:
3463
enabled: true
3464
fsGroupChangePolicy: Always
3465
sysctls: []
3466
supplementalGroups: []
3467
fsGroup: 1001
3468
## Configure Container Security Context
3469
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
3470
## @param iam.containerSecurityContext.enabled Enabled IAM container' Security Context
3471
## @param iam.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in IAM container
3472
## @param iam.containerSecurityContext.runAsUser Set runAsUser in IAM container' Security Context
3473
## @param iam.containerSecurityContext.runAsGroup Set runAsGroup in IAM container' Security Context
3474
## @param iam.containerSecurityContext.runAsNonRoot Set runAsNonRoot in IAM container' Security Context
3475
## @param iam.containerSecurityContext.readOnlyRootFilesystem Set readOnlyRootFilesystem in IAM container' Security Context
3476
## @param iam.containerSecurityContext.privileged Set privileged in IAM container' Security Context
3477
## @param iam.containerSecurityContext.allowPrivilegeEscalation Set allowPrivilegeEscalation in IAM container' Security Context
3478
## @param iam.containerSecurityContext.capabilities.drop List of capabilities to be dropped in IAM container
3479
## @param iam.containerSecurityContext.seccompProfile.type Set seccomp profile in IAM container
3480
##
3481
containerSecurityContext:
3482
enabled: true
3483
seLinuxOptions: {}
3484
runAsUser: 1001
3485
runAsGroup: 1001
3486
runAsNonRoot: true
3487
readOnlyRootFilesystem: true
3488
privileged: false
3489
allowPrivilegeEscalation: false
3490
capabilities:
3491
drop: ["ALL"]
3492
seccompProfile:
3493
type: "RuntimeDefault"
3494
## @param iam.logLevel IAM log level (0, 1, 2, 3, or 4)
3495
##
3496
logLevel: 1
3497
## @param iam.command Override default IAM container command (useful when using custom images)
3498
##
3499
command: []
3500
## @param iam.args Override default IAM container args (useful when using custom images)
3501
##
3502
args: []
3503
## @param iam.automountServiceAccountToken Mount Service Account token in IAM pods
3504
##
3505
automountServiceAccountToken: false
3506
## @param iam.hostAliases IAM pods host aliases
3507
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
3508
##
3509
hostAliases: []
3510
## @param iam.statefulsetAnnotations Annotations for IAM statefulset
3511
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3512
##
3513
statefulsetAnnotations: {}
3514
## @param iam.podLabels Extra labels for IAM pods
3515
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3516
##
3517
podLabels: {}
3518
## @param iam.podAnnotations Annotations for IAM pods
3519
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
3520
##
3521
podAnnotations: {}
3522
## @param iam.podAffinityPreset Pod affinity preset. Ignored if `iam.affinity` is set. Allowed values: `soft` or `hard`
3523
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3524
##
3525
podAffinityPreset: ""
3526
## @param iam.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `iam.affinity` is set. Allowed values: `soft` or `hard`
3527
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
3528
##
3529
podAntiAffinityPreset: soft
3530
## Node iam.affinity preset
3531
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3532
##
3533
nodeAffinityPreset:
3534
## @param iam.nodeAffinityPreset.type Node affinity preset type. Ignored if `iam.affinity` is set. Allowed values: `soft` or `hard`
3535
##
3536
type: ""
3537
## @param iam.nodeAffinityPreset.key Node label key to match. Ignored if `iam.affinity` is set
3538
##
3539
key: ""
3540
## @param iam.nodeAffinityPreset.values Node label values to match. Ignored if `iam.affinity` is set
3541
## E.g.
3542
## values:
3543
## - e2e-az1
3544
## - e2e-az2
3545
##
3546
values: []
3547
## @param iam.affinity Affinity for IAM pods assignment
3548
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
3549
## NOTE: `iam.podAffinityPreset`, `iam.podAntiAffinityPreset`, and `iam.nodeAffinityPreset` will be ignored when it's set
3550
##
3551
affinity: {}
3552
## @param iam.nodeSelector Node labels for IAM pods assignment
3553
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3554
##
3555
nodeSelector: {}
3556
## @param iam.tolerations Tolerations for IAM pods assignment
3557
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3558
##
3559
tolerations: []
3560
## @param iam.updateStrategy.type IAM deployment strategy type
3561
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
3562
##
3563
updateStrategy:
3564
## Can be set to RollingUpdate or Recreate
3565
##
3566
type: RollingUpdate
3567
## @param iam.priorityClassName IAM pods' priorityClassName
3568
##
3569
priorityClassName: ""
3570
## @param iam.topologySpreadConstraints Topology Spread Constraints for IAM pod assignment spread across your cluster among failure-domains
3571
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
3572
##
3573
topologySpreadConstraints: []
3574
## @param iam.schedulerName Name of the k8s scheduler (other than default) for IAM pods
3575
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
3576
##
3577
schedulerName: ""
3578
## @param iam.terminationGracePeriodSeconds Seconds IAM pods need to terminate gracefully
3579
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
3580
##
3581
terminationGracePeriodSeconds: ""
3582
## @param iam.lifecycleHooks for IAM containers to automate configuration before or after startup
3583
##
3584
lifecycleHooks: {}
3585
## @param iam.extraEnvVars Array with extra environment variables to add to IAM containers
3586
## e.g:
3587
## extraEnvVars:
3588
## - name: FOO
3589
## value: "bar"
3590
##
3591
extraEnvVars: []
3592
## @param iam.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for IAM containers
3593
##
3594
extraEnvVarsCM: ""
3595
## @param iam.extraEnvVarsSecret Name of existing Secret containing extra env vars for IAM containers
3596
##
3597
extraEnvVarsSecret: ""
3598
## @param iam.extraVolumes Optionally specify extra list of additional volumes for the IAM pods
3599
##
3600
extraVolumes: []
3601
## @param iam.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the IAM containers
3602
##
3603
extraVolumeMounts: []
3604
## @param iam.sidecars Add additional sidecar containers to the IAM pods
3605
## e.g:
3606
## sidecars:
3607
## - name: your-image-name
3608
## image: your-image
3609
## imagePullPolicy: Always
3610
## ports:
3611
## - name: portname
3612
## containerPort: 1234
3613
##
3614
sidecars: []
3615
## @param iam.initContainers Add additional init containers to the IAM pods
3616
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
3617
## e.g:
3618
## initContainers:
3619
## - name: your-image-name
3620
## image: your-image
3621
## imagePullPolicy: Always
3622
## command: ['sh', '-c', 'echo "hello world"']
3623
##
3624
initContainers: []
3625
## Pod Disruption Budget configuration
3626
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
3627
## @param iam.pdb.create Enable/disable a Pod Disruption Budget creation
3628
## @param iam.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
3629
## @param iam.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `iam.pdb.minAvailable` and `iam.pdb.maxUnavailable` are empty.
3630
##
3631
pdb:
3632
create: true
3633
minAvailable: ""
3634
maxUnavailable: ""
3635
## @section IAM Traffic Exposure Parameters
3636
##
3637
3638
## IAM service parameters
3639
##
3640
service:
3641
## @param iam.service.type IAM service type
3642
##
3643
type: ClusterIP
3644
## @param iam.service.ports.http IAM service HTTP port (HTTPS if `iam.tls.enabled` is `true`)
3645
##
3646
ports:
3647
http: 8111
3648
## Node ports to expose
3649
## @param iam.service.nodePorts.http Node port for HTTP (HTTPS if `iam.tls.enabled` is `true`)
3650
## NOTE: choose port between <30000-32767>
3651
##
3652
nodePorts:
3653
http: ""
3654
## @param iam.service.clusterIP IAM service Cluster IP
3655
## e.g.:
3656
## clusterIP: None
3657
##
3658
clusterIP: ""
3659
## @param iam.service.loadBalancerIP IAM service Load Balancer IP
3660
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
3661
##
3662
loadBalancerIP: ""
3663
## @param iam.service.loadBalancerSourceRanges IAM service Load Balancer sources
3664
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
3665
## e.g:
3666
## loadBalancerSourceRanges:
3667
## - 10.10.10.0/24
3668
##
3669
loadBalancerSourceRanges: []
3670
## @param iam.service.externalTrafficPolicy IAM service external traffic policy
3671
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
3672
##
3673
externalTrafficPolicy: Cluster
3674
## @param iam.service.annotations Additional custom annotations for IAM service
3675
##
3676
annotations: {}
3677
## @param iam.service.extraPorts Extra ports to expose in IAM service (normally used with the `sidecars` value)
3678
##
3679
extraPorts: []
3680
## @param iam.service.sessionAffinity Control where client requests go, to the same pod or round-robin
3681
## Values: ClientIP or None
3682
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
3683
##
3684
sessionAffinity: None
3685
## @param iam.service.sessionAffinityConfig Additional settings for the sessionAffinity
3686
## sessionAffinityConfig:
3687
## clientIP:
3688
## timeoutSeconds: 300
3689
##
3690
sessionAffinityConfig: {}
3691
## Headless service properties
3692
##
3693
## Network Policies for IAM
3694
## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
3695
##
3696
## @section Init Container Parameters
3697
##
3698
3699
## 'volumePermissions' init container parameters
3700
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
3701
## based on the *podSecurityContext/*containerSecurityContext parameters
3702
##
3703
volumePermissions:
3704
## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
3705
##
3706
enabled: false
3707
## OS Shell + Utility image
3708
## @param volumePermissions.image.registry [default: REGISTRY_NAME] OS Shell + Utility image registry
3709
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] OS Shell + Utility image repository
3710
## @skip volumePermissions.image.tag OS Shell + Utility image tag (immutable tags are recommended)
3711
## @param volumePermissions.image.pullPolicy OS Shell + Utility image pull policy
3712
## @param volumePermissions.image.pullSecrets OS Shell + Utility image pull secrets
3713
##
3714
image:
3715
registry: cgr.dev
3716
repository: chainguard-private/os-shell-iamguarded
3717
tag: 1.0.0
3718
pullPolicy: IfNotPresent
3719
## Optionally specify an array of imagePullSecrets.
3720
## Secrets must be manually created in the namespace.
3721
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
3722
## e.g:
3723
## pullSecrets:
3724
## - myRegistryKeySecretName
3725
##
3726
pullSecrets: []
3727
## Init container's resource requests and limits
3728
## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3729
## @param volumePermissions.resourcesPreset Set init container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production).
3730
##
3731
resourcesPreset: "nano"
3732
## @param volumePermissions.resources Set init container requests and limits for different resources like CPU or memory (essential for production workloads)
3733
## Example:
3734
## resources:
3735
## requests:
3736
## cpu: 2
3737
## memory: 512Mi
3738
## limits:
3739
## cpu: 3
3740
## memory: 1024Mi
3741
##
3742
resources: {}
3743
## Init container Container Security Context
3744
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
3745
## @param volumePermissions.containerSecurityContext.enabled Enabled init container' Security Context
3746
## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in init container
3747
## @param volumePermissions.containerSecurityContext.runAsUser Set init container's Security Context runAsUser
3748
## NOTE: when runAsUser is set to special value "auto", init container will try to chown the
3749
## data folder to auto-determined user&group, using commands: `id -u`:`id -G | cut -d" " -f2`
3750
## "auto" is especially useful for OpenShift which has scc with dynamic user ids (and 0 is not allowed)
3751
##
3752
containerSecurityContext:
3753
enabled: true
3754
seLinuxOptions: {}
3755
runAsUser: 0
3756
## @section Other Parameters
3757
##
3758
3759
## ServiceAccount configuration
3760
##
3761
serviceAccount:
3762
## @param serviceAccount.create Specifies whether a ServiceAccount should be created
3763
##
3764
create: true
3765
## @param serviceAccount.name The name of the ServiceAccount to use.
3766
## If not set and create is true, a name is generated using the common.names.fullname template
3767
##
3768
name: ""
3769
## @param serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
3770
##
3771
annotations: {}
3772
## @param serviceAccount.automountServiceAccountToken Automount service account token for the server service account
3773
##
3774
automountServiceAccountToken: false
3775
## @section Database Parameters
3776
##
3777
3778
## MariaDB chart configuration
3779
##
3780
mariadb:
3781
## @param mariadb.enabled Deploy a MariaDB server to satisfy the Filer server database requirements
3782
## To use an external database set this to false and configure the `externalDatabase.*` parameters
3783
##
3784
enabled: true
3785
## Iamguarded MariaDB image
3786
## @param mariadb.image.registry [default: REGISTRY_NAME] MariaDB image registry
3787
## @param mariadb.image.repository [default: REPOSITORY_NAME/mariadb] MariaDB image repository
3788
## @skip mariadb.image.tag MariaDB image tag (immutable tags are recommended)
3789
## @param mariadb.image.digest MariaDB image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
3790
## @param mariadb.image.pullPolicy MariaDB image pull policy
3791
## @param mariadb.image.pullSecrets Specify docker-registry secret names as an array
3792
##
3793
image:
3794
registry: cgr.dev
3795
repository: chainguard-private/mariadb-iamguarded
3796
tag: 12.0.2-debian-12-r0
3797
digest: ""
3798
## Specify a imagePullPolicy
3799
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
3800
##
3801
pullPolicy: IfNotPresent
3802
## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
3803
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
3804
## Example:
3805
## pullSecrets:
3806
## - myRegistryKeySecretName
3807
##
3808
pullSecrets: []
3809
## @param mariadb.architecture MariaDB architecture. Allowed values: `standalone` or `replication`
3810
##
3811
architecture: standalone
3812
## MariaDB Authentication parameters
3813
## @param mariadb.auth.rootPassword MariaDB root password
3814
## @param mariadb.auth.database MariaDB custom database
3815
## @param mariadb.auth.username MariaDB custom user name
3816
## @param mariadb.auth.password MariaDB custom user password
3817
##
3818
auth:
3819
rootPassword: ""
3820
database: iamguarded_seaweedfs
3821
username: bn_seaweedfs
3822
password: ""
3823
## @param mariadb.initdbScripts [object] Specify dictionary of scripts to be run at first boot
3824
##
3825
initdbScripts:
3826
create_table.sql: |
3827
USE iamguarded_seaweedfs;
3828
CREATE TABLE IF NOT EXISTS filemeta (
3829
`dirhash` BIGINT NOT NULL COMMENT 'first 64 bits of MD5 hash value of directory field',
3830
`name` VARCHAR(766) NOT NULL COMMENT 'directory or file name',
3831
`directory` TEXT NOT NULL COMMENT 'full path to parent directory',
3832
`meta` LONGBLOB,
3833
PRIMARY KEY (`dirhash`, `name`)
3834
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
3835
## MariaDB Primary configuration
3836
##
3837
primary:
3838
## MariaDB Primary Persistence parameters
3839
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
3840
## @param mariadb.primary.persistence.enabled Enable persistence on MariaDB using PVC(s)
3841
## @param mariadb.primary.persistence.storageClass Persistent Volume storage class
3842
## @param mariadb.primary.persistence.accessModes [array] Persistent Volume access modes
3843
## @param mariadb.primary.persistence.size Persistent Volume size
3844
##
3845
persistence:
3846
enabled: true
3847
storageClass: ""
3848
accessModes:
3849
- ReadWriteOnce
3850
size: 8Gi
3851
## MariaDB primary container's resource requests and limits
3852
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3853
## We usually recommend not to specify default resources and to leave this as a conscious
3854
## choice for the user. This also increases chances charts run on environments with little
3855
## resources, such as Minikube. If you do want to specify resources, uncomment the following
3856
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
3857
## @param mariadb.primary.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if primary.resources is set (primary.resources is recommended for production).
3858
##
3859
resourcesPreset: "micro"
3860
## @param mariadb.primary.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3861
## Example:
3862
## resources:
3863
## requests:
3864
## cpu: 2
3865
## memory: 512Mi
3866
## limits:
3867
## cpu: 3
3868
## memory: 1024Mi
3869
##
3870
resources: {}
3871
## PostgresSQL chart configuration
3872
##
3873
postgresql:
3874
## @param postgresql.enabled Deploy a PostgresSQL server to satisfy the Filer server database requirements
3875
## To use an external database set this to false and configure the `externalDatabase.*` parameters
3876
##
3877
enabled: false
3878
## Iamguarded PostgreSQL image version
3879
## @param postgresql.image.registry [default: REGISTRY_NAME] PostgreSQL image registry
3880
## @param postgresql.image.repository [default: REPOSITORY_NAME/postgresql] PostgreSQL image repository
3881
## @skip postgresql.image.tag PostgreSQL image tag (immutable tags are recommended)
3882
## @param postgresql.image.digest PostgreSQL image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
3883
## @param postgresql.image.pullPolicy PostgreSQL image pull policy
3884
## @param postgresql.image.pullSecrets Specify image pull secrets
3885
##
3886
image:
3887
registry: cgr.dev
3888
repository: chainguard-private/postgres-iamguarded
3889
tag: 19.0-r1
3890
digest: ""
3891
## Specify a imagePullPolicy
3892
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
3893
##
3894
pullPolicy: IfNotPresent
3895
## Optionally specify an array of imagePullSecrets.
3896
## Secrets must be manually created in the namespace.
3897
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
3898
## Example:
3899
## pullSecrets:
3900
## - myRegistryKeySecretName
3901
##
3902
pullSecrets: []
3903
## @param postgresql.architecture PostgreSQL architecture (`standalone` or `replication`)
3904
##
3905
architecture: standalone
3906
## @param postgresql.auth.postgresPassword Password for the "postgres" admin user. Ignored if `auth.existingSecret` with key `postgres-password` is provided
3907
## @param postgresql.auth.database Name for a custom database to create
3908
## @param postgresql.auth.username Name for a custom user to create
3909
## @param postgresql.auth.password Password for the custom user to create
3910
## @param postgresql.auth.existingSecret Name of existing secret to use for PostgreSQL credentials
3911
## @param postgresql.auth.secretKeys.userPasswordKey Name of key in existing secret to use for PostgreSQL credentials. Only used when `auth.existingSecret` is set.
3912
auth:
3913
postgresPassword: ""
3914
database: iamguarded_seaweedfs
3915
username: bn_seaweedfs
3916
password: some-password
3917
existingSecret: ""
3918
secretKeys:
3919
userPasswordKey: password
3920
## PostgreSQL Primary configuration
3921
##
3922
primary:
3923
## PostgreSQL Primary resource requests and limits
3924
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
3925
## @param postgresql.primary.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if postgresql.primary.resources is set (postgresql.primary.resources is recommended for production).
3926
##
3927
resourcesPreset: "nano"
3928
## @param postgresql.primary.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3929
## Example:
3930
## resources:
3931
## requests:
3932
## cpu: 2
3933
## memory: 512Mi
3934
## limits:
3935
## cpu: 3
3936
## memory: 1024Mi
3937
##
3938
resources: {}
3939
## @param postgresql.primary.initdb.scripts [object] Dictionary of initdb scripts
3940
##
3941
initdb:
3942
scripts:
3943
create_table.sql: |
3944
\c iamguarded_seaweedfs;
3945
CREATE TABLE IF NOT EXISTS filemeta (
3946
dirhash BIGINT,
3947
name VARCHAR(65535),
3948
directory VARCHAR(65535),
3949
meta bytea,
3950
PRIMARY KEY (dirhash, name)
3951
);
3952
## PostgreSQL Primary Persistence parameters
3953
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
3954
## @param postgresql.primary.persistence.enabled Enable PostgreSQL Primary data persistence using PVC(s)
3955
## @param postgresql.primary.persistence.storageClass Persistent Volume storage class
3956
## @param postgresql.primary.persistence.accessModes [array] Persistent Volume access modes
3957
## @param postgresql.primary.persistence.size Persistent Volume size
3958
##
3959
persistence:
3960
enabled: true
3961
storageClass: ""
3962
accessModes:
3963
- ReadWriteOnce
3964
size: 8Gi
3965
## External Database Configuration
3966
## All of these values are only used if `mariadb.enabled=false` and `externalDatabase.enabled=true`.
3967
##
3968
externalDatabase:
3969
## @param externalDatabase.enabled Enable external database support
3970
##
3971
enabled: false
3972
## @param externalDatabase.store Database store (mariadb, postgresql)
3973
##
3974
store: mariadb
3975
## @param externalDatabase.host External Database server host
3976
##
3977
host: localhost
3978
## @param externalDatabase.port External Database server port
3979
##
3980
port: 3306
3981
## @param externalDatabase.user External Database username
3982
##
3983
user: bn_seaweedfs
3984
## @param externalDatabase.password External Database user password
3985
##
3986
password: ""
3987
## @param externalDatabase.database External Database database name
3988
##
3989
database: iamguarded_seaweedfs
3990
## @param externalDatabase.existingSecret The name of an existing secret with database credentials. Evaluated as a template
3991
## NOTE: Must contain key `mariadb-password` for mariadb or 'postgres-password' for postgres
3992
## NOTE: When it's set, the `externalDatabase.password` parameter is ignored
3993
##
3994
existingSecret: ""
3995
## @param externalDatabase.waitForDatabaseEnabled Whether to check for external database before starting seaweedfs containers
3996
##
3997
waitForDatabaseEnabled: true
3998
##
3999
## Init external database job
4000
##
4001
initDatabaseJob:
4002
## @param externalDatabase.initDatabaseJob.enabled Enable the init external database job
4003
##
4004
enabled: false
4005
## @param externalDatabase.initDatabaseJob.labels Extra labels for the init external database job
4006
##
4007
labels: {}
4008
## @param externalDatabase.initDatabaseJob.annotations [object] Extra annotations for the init external database job
4009
##
4010
annotations:
4011
helm.sh/hook: post-install
4012
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
4013
## @param externalDatabase.initDatabaseJob.backoffLimit Set backoff limit of the init external database job
4014
##
4015
backoffLimit: 10
4016
## Configure Container Security Context
4017
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
4018
## @param externalDatabase.initDatabaseJob.containerSecurityContext.enabled Enabled init external database job containers' Security Context
4019
## @param externalDatabase.initDatabaseJob.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
4020
## @param externalDatabase.initDatabaseJob.containerSecurityContext.runAsUser Set init external database job containers' Security Context runAsUser
4021
## @param externalDatabase.initDatabaseJob.containerSecurityContext.runAsGroup Set init external database job containers' Security Context runAsGroup
4022
## @param externalDatabase.initDatabaseJob.containerSecurityContext.runAsNonRoot Set init external database job containers' Security Context runAsNonRoot
4023
## @param externalDatabase.initDatabaseJob.containerSecurityContext.privileged Set init external database job containers' Security Context privileged
4024
## @param externalDatabase.initDatabaseJob.containerSecurityContext.readOnlyRootFilesystem Set init external database job containers' Security Context readOnlyRootFilesystem
4025
## @param externalDatabase.initDatabaseJob.containerSecurityContext.allowPrivilegeEscalation Set init external database job containers' Security Context allowPrivilegeEscalation
4026
## @param externalDatabase.initDatabaseJob.containerSecurityContext.capabilities.drop List of capabilities to be dropped
4027
## @param externalDatabase.initDatabaseJob.containerSecurityContext.seccompProfile.type Set init external database job containers' Security Context seccomp profile
4028
##
4029
containerSecurityContext:
4030
enabled: true
4031
seLinuxOptions: {}
4032
runAsUser: 1001
4033
runAsGroup: 1001
4034
runAsNonRoot: true
4035
privileged: false
4036
readOnlyRootFilesystem: true
4037
allowPrivilegeEscalation: false
4038
capabilities:
4039
drop: ["ALL"]
4040
seccompProfile:
4041
type: "RuntimeDefault"
4042
## Configure Pods Security Context
4043
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
4044
## @param externalDatabase.initDatabaseJob.podSecurityContext.enabled Enabled init external database job pods' Security Context
4045
## @param externalDatabase.initDatabaseJob.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
4046
## @param externalDatabase.initDatabaseJob.podSecurityContext.sysctls Set kernel settings using the sysctl interface
4047
## @param externalDatabase.initDatabaseJob.podSecurityContext.supplementalGroups Set filesystem extra groups
4048
## @param externalDatabase.initDatabaseJob.podSecurityContext.fsGroup Set init external database job pod's Security Context fsGroup
4049
##
4050
podSecurityContext:
4051
enabled: true
4052
fsGroupChangePolicy: Always
4053
sysctls: []
4054
supplementalGroups: []
4055
fsGroup: 1001
4056
## Container resource requests and limits
4057
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
4058
## @param externalDatabase.initDatabaseJob.resourcesPreset Set init external database job container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if externalDatabase.initDatabaseJob.resources is set (externalDatabase.initDatabaseJob.resources is recommended for production).
4059
##
4060
resourcesPreset: "micro"
4061
## @param externalDatabase.initDatabaseJob.resources Set init external database job container requests and limits for different resources like CPU or memory (essential for production workloads)
4062
## Example:
4063
## resources:
4064
## requests:
4065
## cpu: 2
4066
## memory: 512Mi
4067
## limits:
4068
## cpu: 3
4069
## memory: 1024Mi
4070
##
4071
resources: {}
4072
## @param externalDatabase.initDatabaseJob.automountServiceAccountToken Mount Service Account token in external database job pod
4073
##
4074
automountServiceAccountToken: false
4075

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.