-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
1096 lines (1060 loc) · 36.1 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
nameOverride: ""
fullnameOverride: ""
###
### Global config options
###
config:
### Wallarm node configuration. Many of these parameters in this section can be overwritten individually
### for each pod with pod annotations
###
wallarm:
api:
### Token to authorize in the Wallarm Cloud. Required by default if 'existingSecret.enabled=false'
### As a second option Wallarm API token can be pulled from existing Kubernetes secret, see section 'existingSecret' below
###
token: ""
### Address of Wallarm API service
###
host: api.wallarm.com
### Port of Wallarm API service
###
port: 443
### Use SSL to connect to Wallarm API service: `true` or `false`
###
useSSL: true
### Verify CA during connecting to Wallarm API service: `true` or `false`
###
caVerify: true
## The name of Node group, required if API token is used to register the Node
## https://docs.wallarm.com/user-guides/nodes/nodes/#api-and-node-tokens-for-node-creation
##
nodeGroup: "defaultSidecarGroup"
### Existing secret feature allows to pull Wallarm API token from existing Kubernetes secret
###
existingSecret:
### Enable or disable the feature: 'true' or 'false'.
### If the feature is enabled, the 'config.wallarm.api.token' value will be ignored.
###
enabled: false
### The key in which the Wallarm API token is placed
###
secretKey: token
### The name of Kubernetes secret. The secret must be placed in the same namespace with current Helm chart.
###
secretName: wallarm-api-token
### Fallback mode. With the value set to on, NGINX has the ability to enter an emergency mode; if proton.db
### or custom ruleset cannot be downloaded, this setting disables the Wallarm module for the http, server,
### and location blocks, for which the data fails to download. NGINX keeps functioning.
###
fallback: "on"
### Wallarm mode: `monitoring, `block` or `off`. See details in here:
### https://docs.wallarm.com/admin-en/configure-parameters-en/#wallarm_mode
###
mode: monitoring
### Manages the ability to override the wallarm_mode values via filtering in
### the Cloud (custom ruleset): `on`, `off` or `strict`
###
modeAllowOverride: "on"
### Enables additional validation of the SQL Injection attacks via the libdetection library: `on` or `off`
### https://docs.wallarm.com/admin-en/configure-parameters-en/#wallarm_enable_libdetection
###
enableLibDetection: "on"
### Whether to analyze the application responses for attacks: `on` or `off`
### https://docs.wallarm.com/admin-en/configure-parameters-en/#wallarm_parse_response
###
parseResponse: "on"
### Whether to export statistics on blocked request: `on` or `off`
### https://docs.wallarm.com/admin-en/configure-parameters-en/#wallarm_acl_export_enable
###
aclExportEnable: "on"
### Whether to analyze WebSocket's messages for attacks: `on` or `off`
### https://docs.wallarm.com/admin-en/configure-parameters-en/#wallarm_parse_websocket
###
parseWebsocket: "off"
### Whether to decompress compressed data returned in the application response: `on` or `off`
### https://docs.wallarm.com/admin-en/configure-parameters-en/#wallarm_unpack_response
###
unpackResponse: "on"
### Post-analytics node endpoint configuration
###
upstream:
### Defines the number of immediate reconnects to the Tarantool or Wallarm API
### https://docs.wallarm.com/admin-en/configure-parameters-en/#wallarm_upstream_connect_attempts
###
connectAttempts: 10
### Defines the interval between attempts to reconnect to the Tarantool or Wallarm API
### https://docs.wallarm.com/admin-en/configure-parameters-en/#wallarm_upstream_reconnect_interval
###
reconnectInterval: 15s
apiFirewall:
### Global setting to turn Wallarm API Firewall component on or off
### https://wallarm.github.io/api-firewall/
###
mode: "on"
### Per-connection buffer size (in bytes) for requests' reading. This also limits the maximum header size.
### Increase this buffer if your clients send multi-KB RequestURIs and/or multi-KB headers (for example, BIG cookies)
###
readBufferSize: 8192
### Per-connection buffer size (in bytes) for responses' writing.
###
writeBufferSize: 8192
### Maximum request body size (in bytes). The server rejects requests with bodies exceeding this limit.
###
maxRequestBodySize: 4194304
### Whether to disable keep-alive connections. The server will close all the incoming connections after sending
## the first response to client if this option is set to 'true'
###
disableKeepalive: false
### Maximum number of concurrent client connections allowed per IP. '0' means unlimited
###
maxConnectionsPerIp: 0
### Maximum number of requests served per connection. The server closes connection after the last request.
### 'Connection: close' header is added to the last response. '0' means unlimited
###
maxRequestsPerConnection: 0
### Default Annotation prefix which is used in sidecar template to overwrite default values
annotationPrefix: sidecar.wallarm.io
### Default sidecar injection strategy. Parameters in this section can be overwritten individually
### for each pod with pod annotations
###
injectionStrategy:
### Sidecar injection schema: `single` or `split`. Single schema injects a single container
### (well-known popular sidecar technique, as same as istio or stash) and one or more init
### containers. Split schema injects TWO containers as a sidecar (wallarm in first container and
### helpers in second one) and one or more init containers.
### Use split schema for dividing the CPU/Memory/Storage namespaces between wallarm itself
### and helper containers. This can be helpful for highly loaded applications.
###
schema: single
### Enables or disables `iptables` init container for automatic port redirection: `true` or `false`.
### Disable it only in case of problems with other sidecars that change iptables rule sets.
###
iptablesEnable: true
### Default parameters for Nginx configuration of sidecar proxy container. Parameters in this section
### can be overwritten individually for each pod with pod annotations
###
nginx:
### Fallback listening port of application. This port will be used as a fallback of application port
### detection. Sidecar controller will try to detect application port in the following sequence:
### 1. Application port number is defined in pod annotation "sidecar.wallarm.io/application-port"
### 2. The first available container port which name is "http"
### 3. The first available container port
### 4. This value (in case of no one container port defined)
###
applicationPort: 80
### Listening port for sidecar proxy container. This port is reserved for using by Wallarm sidecar
### and cannot be the same as nginx.applicationPort
###
listenPort: 26001
### Port for Wallarm status, Nginx stats and health check endpoints
###
statusPort: 10246
### Path to Nginx status endpoint (status stub)
###
statusPath: /status
### Path to Nginx health check endpoint
###
healthPath: /health
### Port for Wallarm metrics endpoints
###
wallarmMetricsPort: 18080
### Path to Wallarm status endpoint (json format)
###
wallarmStatusPath: /wallarm-status
### Port to Wallarm metrics endpoint (prometheus format)
###
wallarmMetricsPath: /wallarm-metrics
### Nginx directive 'real_ip_header' http://nginx.org/en/docs/http/ngx_http_realip_module.html#real_ip_header
###
realIpHeader: X-Forwarded-For
### Nginx directive 'set_real_ip_from' http://nginx.org/en/docs/http/ngx_http_realip_module.html#set_real_ip_from
###
setRealIpFrom:
- 10.0.0.0/8
- 192.168.0.0/16
- 172.16.0.0/12
- 127.0.0.0/8
- fd00::/8
### Nginx sidecar-proxy log config
logs:
extended: false
format: text
### Nginx directive 'worker_processes' http://nginx.org/en/docs/ngx_core_module.html#worker_processes
### Defines the number of worker processes
###
workerProcesses: auto
### Nginx directive 'worker_connections' http://nginx.org/en/docs/ngx_core_module.html#worker_connections
### Sets the maximum number of simultaneous connections that can be opened by a worker process
###
workerConnections: 4096
### Parameters for Tarantool upstream. Refer to upstream module docs fo details https://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream
###
tarantoolUpstream:
### 'keepalive' parameter. Refer to docs for details https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive
###
keepalive: 16
### 'keepalive_requests' parameter. Refer to docs for details https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_requests
###
keepaliveRequests: 100
### Parameters for 'server' directive. Refer to 'server' section of upstream module docs for details https://nginx.org/en/docs/http/ngx_http_upstream_module.html#server
###
server:
### 'max_fails' parameter
###
maxFails: 0
### 'max_conns' parameter
###
maxConns: 16
### 'fail_timeout' parameter
###
failTimeout: 0
### Default configuration for sidecar init and regular containers
###
sidecar:
### Image for all (init and regular) containers in sidecar schema
###
image:
registry: docker.io
image: wallarm/sidecar
tag: 5.3.8
pullPolicy: IfNotPresent
### Shared security context for all (init and regular) containers in sidecar schema except `iptables` container.
### For `iptables` container it is described in `sidecar.initContainers.iptables.securityContext` value
###
securityContext:
capabilities:
drop:
- ALL
add:
- NET_BIND_SERVICE
runAsUser: 101
### Default configuration for sidecar container(s). Many of these parameters in this section can be
### overwritten individually for each pod with pod annotations.
###
containers:
### Traffic flow handler. Core of sidecar schema. Does everything for `single` schema
### and only handles traffic for `split` schema
###
proxy:
### Enable liveness probe for the container: `true` or `false`
###
livenessProbeEnable: true
### Liveness probe configuration for the container
###
livenessProbe:
httpGet:
### The value of `path` below should be the same as `nginx.healthPath`
###
path: /healthz
port: status
initialDelaySeconds: 60
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
successThreshold: 1
### Enable readiness probe for the container: `true` or `false`
###
readinessProbeEnable: true
### Readiness probe configuration for the container
###
readinessProbe:
httpGet:
# The value of `path` below should be the same as `nginx.healthPath`
path: /healthz
port: status
initialDelaySeconds: 60
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
successThreshold: 1
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# requests:
# cpu: 200m
# memory: 256Mi
# limits:
# cpu: 500m
# memory: 512Mi
### Helper container. Used only in `split` schema. Does everything except traffic handling
### for `split` schema
###
helper:
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# requests:
# cpu: 100m
# memory: 128Mi
# limits:
# cpu: 300m
# memory: 256Mi
### Default configuration for sidecar init container(s). Many of these parameters in this section can be
### overwritten individually for each pod with pod annotations.
###
initContainers:
helper:
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# requests:
# cpu: 100m
# memory: 64Mi
# limits:
# cpu: 300m
# memory: 128Mi
iptables:
### Security context for `iptables` container
###
securityContext:
runAsNonRoot: false
runAsUser: 0
capabilities:
add:
- NET_ADMIN
drop:
- ALL
privileged: true
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# requests:
# cpu: 50m
# memory: 32Mi
# limits:
# cpu: 100m
# memory: 64Mi
### Profiles which can be used by setting Pod's annotation 'sidecar.wallarm.io/profile: name-of-profile'
###
profiles:
### The name and definition of profile. Here can be as many profiles as needed.
### The 'example' profile is placed here just for example.
example:
sidecar:
volumeMounts:
- name: nginx-certs-example-com
mountPath: /etc/nginx/certs/example.com
readOnly: true
- name: nginx-certs-example-io
mountPath: /etc/nginx/certs/example.io
readOnly: true
volumes:
- name: nginx-certs-example-com
secret:
secretName: example-com-certs
- name: nginx-certs-example-io
secret:
secretName: example-io-certs
nginx:
servers:
- listen: "ssl"
include:
- "server_name example.io www.example.io"
- "ssl_protocols TLSv1.2 TLSv1.3"
- "ssl_certificate /etc/nginx/certs/example.io/tls.crt"
- "ssl_certificate_key /etc/nginx/certs/example.io/tls.key"
- listen: "ssl http2"
include:
- "server_name example.com www.example.com"
- "ssl_protocols TLSv1.3"
- "ssl_certificate /etc/nginx/certs/example.com/tls.crt"
- "ssl_certificate_key /etc/nginx/certs/example.com/tls.key"
- "ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384"
- "ssl_conf_command Ciphersuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256"
### Wcli jobs
cron:
### General log level
logLevel: warn
### Per-job log levels
commands:
apispec:
logLevel: INFO
blkexp:
logLevel: INFO
botexp:
logLevel: WARN
cntexp:
logLevel: ERROR
cntsync:
logLevel: INFO
credstuff:
logLevel: INFO
envexp:
logLevel: INFO
ipfeed:
logLevel: INFO
iplist:
logLevel: INFO
jwtexp:
logLevel: INFO
metricsexp:
logLevel: INFO
mrksync:
logLevel: INFO
register:
logLevel: INFO
reqexp:
logLevel: INFO
syncnode:
logLevel: INFO
###
### Global settings
###
### Array of private container registry credentials
### https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
###
imagePullSecrets: []
# - name: secretName
helper:
image:
registry: docker.io
image: wallarm/node-helpers
tag: 5.3.7
pullPolicy: IfNotPresent
### Configuration for post-analytics module
###
postanalytics:
### Optional configuration of external Tarantool instance. If feature is enabled,
### then Tarantool will not be deployed by current Helm chart, external instance will be used instead
###
external:
### Set to 'true' to use external Tarantool instance
###
enabled: false
### Hostname (FQDN) or IP address of external Tarantool instance (e.g. "tarantool.domain.internal" or "10.10.0.100")
### The hostname must be accessible from Kubernetes cluster where current Helm chart is installed
###
host: ""
### Number of TCP port of external Tarantool instance
###
port: 3313
### Number of deployment replicas. Values more that zero is not supported officially
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#deploymentspec-v1-apps
###
replicaCount: 1
### Settings for automated rolling updates
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#deploymentstrategy-v1-apps
###
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
### Labels to add to the pods
###
podLabels: {}
# key: value
### Annotations to add to the pods
###
podAnnotations: {}
# key: value
### Setting to allow this Pod to schedule onto nodes with matching taints
### https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
###
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule"
### Affinity and anti-affinity settings of this Pod
### https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
###
### Prefered podAntiAffinity will be applied if no one affinity configured
###
affinity: {}
# podAntiAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# podAffinityTerm:
# labelSelector:
# matchExpressions:
# - key: app.kubernetes.io/name
# operator: In
# values:
# - wallarm-sidecar
# - key: app.kubernetes.io/instance
# operator: In
# values:
# - release-name
# - key: app.kubernetes.io/component
# operator: In
# values:
# - postanalytics
# topologyKey: kubernetes.io/hostname
### Node selector (node labels) for pods
### https://kubernetes.io/docs/user-guide/node-selection/
###
nodeSelector: {}
### Grace period for the pods termination in seconds
###
terminationGracePeriodSeconds: 30
### PriorityClass name to apply to the pods, Indicates the importance of the pod relative to other ones
### https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
###
priorityClassName: ""
### Additional containers for this pods
###
extraContainers: []
# - name: some-container
# image: some/image:latest
# env:
# - name: FOO
# value: "123"
# volumeMounts:
# - name: bar-volume
# mountPath: /mnt
### Additional init containers
###
extraInitContainers: []
# - name: init
# image: busybox
# command: ['sh', '-c', 'until nslookup myservice; do echo waiting for myservice; sleep 2; done;']
### Volumes that should be attached to pods
###
extraVolumes: []
# - name: something
# emptyDir: {}
###
### Container-specific options
###
init:
### Additional environment variables to pass to the container
###
extraEnvs: []
# - name: FOO
# value: FOO
# - name: BAR
# valueFrom:
# secretKeyRef:
# key: BAR
# name: bar-secret
### Lifecycle hooks
### https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
###
lifecycle: {}
### Privilegues and access controls for the container
### https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#securitycontext-v1-core
###
securityContext: {}
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# limits:
# cpu: 250m
# memory: 300Mi
# requests:
# cpu: 50m
# memory: 150Mi
### Liveness probe for the container. Disabled by default
###
livenessProbe: {}
### Readiness probe for the container. Disabled by default
###
readinessProbe: {}
## Additional volumes that should be mounted to the container
##
extraVolumeMounts: []
# - name: something
# mountPath: /mnt/something
supervisord:
### Additional environment variables to pass to the container
###
extraEnvs: []
# - name: FOO
# value: FOO
# - name: BAR
# valueFrom:
# secretKeyRef:
# key: BAR
# name: bar-secret
### Lifecycle hooks
### https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
###
lifecycle: {}
### Privilegues and access controls for the container
### https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#securitycontext-v1-core
###
securityContext: {}
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# limits:
# cpu: 250m
# memory: 300Mi
# requests:
# cpu: 50m
# memory: 150Mi
### Liveness probe for the container. Disabled by default
###
livenessProbe: {}
### Readiness probe for the container. Disabled by default
###
readinessProbe: {}
## Additional volumes that should be mounted to the container
##
extraVolumeMounts: []
# - name: something
# mountPath: /mnt/something
tarantool:
config:
### The allocated memory size in GB for Tarantool in-memory storage. Detailed recommendations are provided
### here: https://docs.wallarm.com/admin-en/configuration-guides/allocate-resources-for-waf-node/
###
arena: "2.0"
### Additional environment variables to pass to the container
###
extraEnvs: []
# - name: FOO
# value: FOO
# - name: BAR
# valueFrom:
# secretKeyRef:
# key: BAR
# name: bar-secret
### Lifecycle hooks
### https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
###
lifecycle: {}
### Privilegues and access controls for the container
### https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#securitycontext-v1-core
###
securityContext: {}
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# limits:
# cpu: 250m
# memory: 300Mi
# requests:
# cpu: 50m
# memory: 150Mi
### Liveness probe for the container. Not recommended to change it, but you still can override
### default values for this
###
livenessProbe:
tcpSocket:
port: 3313
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 10
failureThreshold: 3
successThreshold: 1
### Readiness probe for the container. Disabled by default
###
readinessProbe: {}
## Additional volumes that should be mounted to the container
##
extraVolumeMounts: []
# - name: something
# mountPath: /mnt/something
appstructure:
### Additional environment variables to pass to the container
###
extraEnvs: []
# - name: FOO
# value: FOO
# - name: BAR
# valueFrom:
# secretKeyRef:
# key: BAR
# name: bar-secret
### Lifecycle hooks
### https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
###
lifecycle: {}
### Privilegues and access controls for the container
### https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#securitycontext-v1-core
###
securityContext: {}
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# limits:
# cpu: 250m
# memory: 300Mi
# requests:
# cpu: 50m
# memory: 150Mi
### Liveness probe for the container. Disabled by default
###
livenessProbe: {}
### Readiness probe for the container. Disabled by default
###
readinessProbe: {}
## Additional volumes that should be mounted to the container
##
extraVolumeMounts: []
# - name: something
# mountPath: /mnt/something
###
### Other post-analytics objects
###
service:
### Service type
### https://kubernetes.io/docs/concepts/services-networking/service/
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#service-v1-core
###
type: ClusterIP
## Service port
##
port: 3313
## Service node port (if the service type is "NodePort" or "LoadBalancer")
##
nodePort: 0
## Load balancer IP address
## https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
##
loadBalancerIP: ""
## Load balancer source ranges. Helpful for EKS/GKE/AKE
## https://kubernetes.io/docs/concepts/services-networking/service/#aws-nlb-support
##
loadBalancerSourceRanges: []
# - "192.168.0.0/16"
# - "10.0.0.0/8"
# - "172.16.0.0/12"
## Kubernetes external traffic policy
## https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
##
externalTrafficPolicy: ""
## Annotations for this Service
##
annotations: {}
## IP address of this Service cluster
##
clusterIP: ""
## ExternalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic
## for this service. These IPs are not managed by Kubernetes.
##
externalIPs: []
## Pod Disturion Budget settings
## https://kubernetes.io/docs/tasks/run-application/configure-pdb/
##
podDisruptionBudget:
enabled: true
### Select only one of these:
###
maxUnavailable: 1
# minAvailable: 1
## Service Account for this Pod
## https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
##
serviceAccount:
create: true
## Name of the ServiceAccount. If creating not required then
## this name must be the name of existing ServiceAccount object
##
name: ""
## Annotations for the created Service Account
##
annotations: {}
extraLabels: {}
extraAnnotations: {}
### Configuration for controller module
###
controller:
image:
registry: docker.io
image: wallarm/sidecar-controller
tag: 1.6.0
pullPolicy: IfNotPresent
# -- Admission webhook configuration
# @default -- *See below for details*
admissionWebhook:
# -- Defines how unrecognized errors from the admission endpoint are handled.
# -- Allowed values are `Ignore` or `Fail`
###
failurePolicy: Fail
### Cluster DNS name for resources discovery. Will be used only for creating/signing certificates
### required for running admission webhook controller. For many Kubernetes clusters this is
### "cluster.local" and you don't need to change this for common cases.
###
clusterDomainName: cluster.local
### Specifies the timeout for this webhook. After the timeout passes, the webhook call will be
### ignored or the API call will fail based on the failure policy
###
timeoutSeconds: 10
### Decides whether to run the webhook based on if the object has matching labels. Set to null
### for clear default value and listen events for all pods
###
objectSelector:
matchLabels:
wallarm-sidecar: enabled
### You can use CA injector in case you have cert-manager installed
certManager:
enabled: false
### Or you can manually pass caBundle by specifying secret name and contents here
secret:
enabled: false
# ca: LS0...
# crt: LS0...
# key: LS0...
### Or you can fall back to the default option which is the cert-gen helper job
createSecretJob:
# -- Security context for secret creation containers
securityContext:
runAsNonRoot: true
runAsUser: 65532
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
resources: {}
patchWebhookJob:
# -- Security context for webhook patch containers
securityContext:
runAsNonRoot: true
runAsUser: 65532
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
resources: {}
patch:
image:
registry: registry.k8s.io
image: ingress-nginx/kube-webhook-certgen
tag: v1.4.1
pullPolicy: IfNotPresent
# -- Security context for secret creation & webhook patch pods
securityContext: {}
extraLabels: {}
extraAnnotations: {}
### Number of deployment replicas. It is recommended to use more that one pods
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#deploymentspec-v1-apps
###
replicaCount: 1
### Settings for automated rolling updates
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#deploymentstrategy-v1-apps
###
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
### Labels to add to the pods
###
podLabels: {}
# key: value
### Annotations to add to the pods
###
podAnnotations: {}
# key: value
### Setting to allow this Pod to schedule onto nodes with matching taints
### https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
###
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule"
### Affinity and anti-affinity settings of this Pod
### https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
###
### Prefered podAntiAffinity will be applied if no one affinity configured
###
affinity: {}
# podAntiAffinity:
# preferredDuringSchedulingIgnoredDuringExecution:
# - weight: 100
# podAffinityTerm:
# labelSelector:
# matchExpressions:
# - key: app.kubernetes.io/name
# operator: In
# values:
# - wallarm-sidecar
# - key: app.kubernetes.io/instance
# operator: In
# values:
# - release-name
# - key: app.kubernetes.io/component
# operator: In
# values:
# - controller
# topologyKey: kubernetes.io/hostname
### Node selector (node labels) for pods
### https://kubernetes.io/docs/user-guide/node-selection/
###
nodeSelector: {}
### Grace period for the pods termination in seconds
###
terminationGracePeriodSeconds: 30
### PriorityClass name to apply to the pods, Indicates the importance of the pod relative to other ones
### https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
###
priorityClassName: ""
### Additional containers for this pods
###
extraContainers: []
# - name: some-container
# image: some/image:latest
# env:
# - name: FOO
# value: "123"
# volumeMounts:
# - name: bar-volume
# mountPath: /mnt
### Additional init containers
###
extraInitContainers: []
# - name: init
# image: busybox
# command: ['sh', '-c', 'until nslookup myservice; do echo waiting for myservice; sleep 2; done;']
### Volumes that should be attached to pods
###
extraVolumes: []
# - name: something
# emptyDir: {}
### Container command (entrypoint). Not recommended to change this, helpful for local development
###
command: []
### Container arguments. Not recommended to change this, helpful for local development
###
args:
- --listen=:8443
- --template=/etc/controller/template.yaml.tpl
- --config=/etc/controller/config.yaml
- --tls-cert-file=/etc/controller/tls/tls.crt
- --tls-key-file=/etc/controller/tls/tls.key
- --log-level=info
### Additional environment variables to pass to the container
###
extraEnvs: []
# - name: FOO
# value: FOO
# - name: BAR
# valueFrom:
# secretKeyRef:
# key: BAR
# name: bar-secret
### Lifecycle hooks
### https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
###
lifecycle: {}
### Privilegues and access controls for the container
### https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
### https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#securitycontext-v1-core
###
securityContext: {}
### The number of resources required for the container
### https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
###
resources: {}
# limits:
# cpu: 250m
# memory: 300Mi
# requests:
# cpu: 50m
# memory: 150Mi
### Liveness probe. Not recommended to change it, but you still can override
### default values for this