/
values.yaml
871 lines (717 loc) · 17.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
## ACP image parameters
##
image:
## Image repository
##
repository: docker.cloudentity.io/acp-distroless
## Image pull policy
##
pullPolicy: IfNotPresent
## Image tag (immutable tags are recommended)
##
tag:
## Global Docker registry secret names as an array
##
imagePullSecrets:
- name: docker.cloudentity.io
## Public ACP URL
##
serverURL: "https://acp.local:8443"
## Public ACP URL for Ingress working in mTLS
##
serverURLMtls: "https://mtls.acp.local:8443"
## String to partially override acp.name
##
# nameOverride: ""
## String to fully override acp.fullname
##
# fullnameOverride: ""
## Additional labels to apply to all Kubernetes resources created by this chart.
##
labels: {}
## Define serviceAccount
##
serviceAccount:
## Specifies whether a service account should be created
##
create: true
## Annotations to add to the service account
##
annotations: {}
## The name of the service account to use.
## If not set and create is true, a name is generated using the fullname template
# name: ""
## Array with container arguments to add to the ACP container
##
args:
- server
- start
- --demo
- --metrics
- --create-default-tenant
- --create-default-workspaces
## Enables custom config
##
# configPath:
## Array with environment variables to add to the ACP container
##
# env: []
## Define service
##
service:
## Enables ACP service
##
enabled: true
## ACP service type
##
type: ClusterIP
## Define ingress
##
ingress:
## Enables the Ingress for ACP
##
enabled: true
## Name of the ingress class
##
ingressClassName: nginx
## Ingress additional custom annotations
##
customAnnotations:
nginx.ingress.kubernetes.io/enable-modsecurity: "true"
nginx.ingress.kubernetes.io/enable-owasp-core-rules: "true"
nginx.ingress.kubernetes.io/service-upstream: "true"
## Ingress hostnames with paths
##
hosts:
- host: acp.local
paths:
- path: /
pathType: ImplementationSpecific
## Ingress TLS configuration
## Secrets must be manually created in the namespace
## or automatically using `tlsSecrets` variable
##
tls: []
# - secretName: ingress-tls
# hosts:
# - acp.acp-system
## Ingress TLS secrets
## List of certificates to be created for Ingress
##
tlsSecrets: []
# - name: ingress-tls
# cert: |
# -----BEGIN CERTIFICATE-----
#
# -----END CERTIFICATE-----
# key: |
# -----BEGIN RSA PRIVATE KEY-----
#
# -----END RSA PRIVATE KEY-----
ingressMtls:
## Enables mTLS Ingress for ACP
## This is an independent instance from the one above.
##
enabled: false
## Name of the ingress class
##
ingressClassName: nginx
## mTLS Ingress additional custom annotations
##
customAnnotations:
nginx.ingress.kubernetes.io/enable-modsecurity: "true"
nginx.ingress.kubernetes.io/enable-owasp-core-rules: "true"
nginx.ingress.kubernetes.io/service-upstream: "true"
## mTLS Ingress hostnames with paths
##
hosts:
- host: mtls.acp.local
paths:
- path: /
pathType: ImplementationSpecific
## Ingress mTLS configuration
## Secrets must be manually created in the namespace
## or automatically using `tlsSecrets` variable
##
tls: []
# - secretName: ingress-mtls
# hosts:
# - mtls.acp.acp-system
## Ingress mTLS secrets
## List of certificates to be created for Ingress
##
tlsSecrets:
# - name: ingress-mtls
# cert: |
# -----BEGIN CERTIFICATE-----
#
# -----END CERTIFICATE-----
# key: |
# -----BEGIN RSA PRIVATE KEY-----
#
# -----END RSA PRIVATE KEY-----
# caCert: |
# -----BEGIN CERTIFICATE-----
# -----END CERTIFICATE-----
## ServiceMonitor configuration
##
serviceMonitor:
## Enables the ServiceMonitor integration
##
enabled: false
## Define ServiceMonitor endpoint config
##
endpointConfig: {}
## Deployment annotations
##
# annotations: {}
## Autoscaling parameters
##
autoscaling:
## Enable autoscaling
##
enabled: false
## Define mix replica count
##
# minReplicas: 0
## Define max replica count
##
# maxReplicas: 1
## The average CPU usage of a all pods in a deployment
##
# targetCPUUtilizationPercentage: ""
## The average memory usage of a all pods in a deployment
##
# targetMemoryUtilizationPercentage: ""
## Custom scaling behavior
##
# behavior: {}
## Number of ACP replicas to deploy
##
replicaCount: 1
## Pod annotations
##
# podAnnotations: {}
## Custom Startup Probe
##
customStartupProbe: {}
# failureThreshold: 10
# periodSeconds: 10
# timeoutSeconds: 10
# httpGet:
# path: /alive
# scheme: HTTPS
# port: 8443
## Custom Liveness Probe
customLivenessProbe: {}
# failureThreshold: 10
# initialDelaySeconds: 3
# periodSeconds: 10
# timeoutSeconds: 10
# httpGet:
# path: /alive
# scheme: HTTPS
# port: 8443
## Custom Readiness Probe
customReadinessProbe: {}
# failureThreshold: 3
# initialDelaySeconds: 5
# periodSeconds: 10
# timeoutSeconds: 10
# httpGet:
# path: /alive
# scheme: HTTPS
# port: 8443
## ACP resource requests and limits
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources: {}
## ACP node selector
##
# nodeSelector: {}
## ACP pod affinity
##
# affinity: {}
## ACP pod tolerations
##
# tolerations: {}
## ACP pod topology spread constraints
##
# topologySpreadConstraints: {}
## ACP Pod disruption budget
##
# podDisruptionBudget: {}
## A security context defines privilege and access control settings for a Pod or Container
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
##
## Pod security context
##
podSecurityContext:
fsGroup: 65535
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
## Container security context
##
containerSecurityContext:
runAsUser: 65535
runAsGroup: 65535
runAsNonRoot: true
privileged: false
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
## ACP feature flags
## To enable a feature, enter its key-value pair, as in:
## https://cloudentity.com/developers/deployment-and-operations/reference/configuration-reference/
##
# features: {}
## Cert-manager configuration
##
certManager:
## Enables the cert-manager integration
##
enabled: false
## The requested ‘duration’ (i.e. lifetime) of the Certificate
##
duration: 2160h
## How long before the currently issued certificate’s expiry cert-manager should renew the certificate.
##
renewBefore: 720h
## The Common Name (AKA CN) represents the server name protected by the SSL certificate
##
# commonName:
## Options to control private keys used for the Certificate.
##
privateKey:
size: 2048
algorithm: RSA
## extraNames is a list of DNS subjectAltNames to be set on the Certificate.
##
extraNames: []
## IssuerRef is a reference to the issuer for this certificate
##
issuerRef:
name: ca-issuer
kind: ClusterIssuer
## Disables TLS in ACP
##
tlsDisabled: false
## Migrate Job configuration
##
migrateJob:
## Enables the SQL migrate job
##
enabled: false
## Enables custom config
##
# configPath:
## The data should match acp configuration options
## https://cloudentity.com/developers/deployment-and-operations/reference/configuration-reference/
##
config: {}
## Import Job configuration
##
importJob:
## Enables the import job
##
enabled: false
## Enables custom config
##
# configPath:
## Import mode (update, fail, ignore)
##
mode: update
## Input file format: yaml or json
##
format: yaml
## Path to the input file
##
input: /import/seed.yaml
## Extra args for import command
##
extraArgs: []
## The data should match import configuration endpoint request body
## https://docs.authorization.cloudentity.com/api/system/#operation/importConfiguration
##
data:
tenants: []
servers: []
clients: []
## ACP import job resource requests and limits
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources: {}
## Enable Default ACP config
##
config:
create: true
## The data should match acp configuration options
## https://cloudentity.com/developers/deployment-and-operations/reference/configuration-reference/
##
data:
# logging:
# level: debug
## Config name if create false
##
# name:
## ACP config file from secret
##
secretConfig:
## Enable secret config
##
create: true
## Secret name if create false
##
# name:
## Secret annotations
##
# annotations: {}
## The data should match acp configuration options
## https://cloudentity.com/developers/deployment-and-operations/reference/configuration-reference/
##
data: {}
# system:
# secret: mysecret
## ACP http client configuration
##
# client:
# rootCa: |
# -----BEGIN CERTIFICATE-----
#
# -----END CERTIFICATE-----
## ACP certificate
##
certificate:
## If true certificate will be taken from files/ folder stored in this chart
## root folder.
##
create: true
## Enable if want to take certificate and key from values instead of
## files/ folder
##
# cert: |
# -----BEGIN CERTIFICATE-----
#
# -----END CERTIFICATE-----
#
# key: |
# -----BEGIN RSA PRIVATE KEY-----
#
# -----END RSA PRIVATE KEY-----
## SQL client
## The data should match acp configuration options
## https://cloudentity.com/developers/deployment-and-operations/reference/configuration-reference/
##
# sql: {}
## Redis client
## The data should match acp configuration options
## https://cloudentity.com/developers/deployment-and-operations/reference/configuration-reference/
##
# redis: {}
## Timescaledb client
## The data should match acp configuration options
## https://cloudentity.com/developers/deployment-and-operations/reference/configuration-reference/
##
# timescale: {}
## Workers chart configuration
## Worker nodes are used to create seperate ACP deployment for asynchronous jobs handling
##
workers:
## Enables worker nodes for ACP
##
enabled: false
## Autoscaling parameters
##
autoscaling:
## Enable autoscaling
##
enabled: false
## Define mix replica count
##
# minReplicas: 0
## Define max replica count
##
# maxReplicas: 1
## The average CPU usage of a all pods in a deployment
##
# targetCPUUtilizationPercentage: ""
## The average memory usage of a all pods in a deployment
##
# targetMemoryUtilizationPercentage: ""
## Custom scaling behavior
##
# behavior: {}
## Number of ACP workers replicas to deploy
##
replicaCount: 1
## Define workers service
##
service:
## Enables workers service for ACP
##
enabled: false
## ACP workers service type
##
type: ClusterIP
## Service annotations
##
# annotations: {}
## ServiceMonitor configuration
##
serviceMonitor:
## Enables workers ServiceMonitor integration
##
enabled: false
## Define workers ServiceMonitor endpoint config
##
endpointConfig: {}
## Deployment annotations
##
# annotations: {}
## Pod annotations
##
# podAnnotations: {}
## ACP workers resource requests and limits
## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
resources: {}
## ACP workers node selector
##
# nodeSelector: {}
## ACP workers pod affinity
##
# affinity: {}
## ACP workers pod tolerations
##
# tolerations: {}
## ACP workers pod topology spread constraints
##
# topologySpreadConstraints: {}
## ACP workers Pod disruption budget
##
# podDisruptionBudget: {}
## Available FaaS providers: fission, docker, hybrid
## https://cloudentity.com/developers/deployment-and-operations/configure/configure-fission-for-faas/#fission-integration-for-faas
##
faas:
## Enables the FaaS function for ACP
##
enabled: false
## Define type of the Environment can be deployed
##
provider: "docker"
namespace:
## Define namespace name where the environments can be deployed
##
name: acp-faas
## Create namespace
##
create: true
environments:
node:
v4:
## Enables environment
##
enabled: false
## Environment image
##
image: docker.cloudentity.io/node-env:v4-20231201-110927-d511a9a7
## Environment expiration date
##
valid_until: ""
## Environment packages
##
package_json: {}
v5:
## Enables environment
##
enabled: true
## Environment image
##
image: docker.cloudentity.io/node-env:v5-20231201-110927-d511a9a7
## Environment expiration date
##
valid_until: ""
## Environment packages
##
package_json: {}
rego:
v5:
## Enables environment
##
enabled: true
## Environment image
##
image: docker.cloudentity.io/rego-env:v5-20231201-110927-d511a9a7
## Environment expiration date
##
valid_until: ""
## Each setting below can be set in a version specific block within 'environments' to override these default settings
##
settings:
## Enviornment number of replicas
##
replicaCount: 3
## Annotations to add to the Environment deployment
##
# annotations: {}
## Specify a imagePullPolicy
##
imagePullPolicy: IfNotPresent
## Docker registry secret name
##
imagePullSecrets:
- name: docker.cloudentity.io
## Array with environment variables to add to the container
##
# env: []
## Array with ports to add to the container
##
ports:
http: 8888
## Define service
##
service:
## Enables service
##
enabled: true
## Service type
##
type: ClusterIP
## Pod security context
##
podSecurityContext:
fsGroup: 65535
runAsUser: 65535
runAsGroup: 65535
runAsNonRoot: true
## Container security context
##
containerSecurityContext:
runAsUser: 65535
runAsGroup: 65535
runAsNonRoot: true
privileged: false
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- ALL
## Startup Probe configuration
##
startupProbe:
failureThreshold: 3
initialDelaySeconds: 2
periodSeconds: 2
httpGet:
path: /healthz
port: 8888
## Liveness Probe configuration
##
livenessProbe:
failureThreshold: 3
periodSeconds: 10
timeoutSeconds: 1
httpGet:
path: /healthz
port: 8888
## Readiness Probe configuration
##
readinessProbe:
failureThreshold: 3
periodSeconds: 10
timeoutSeconds: 1
httpGet:
path: /healthz
port: 8888
## Pod resources definition
##
# resources: {}
## Pod node selector
##
# nodeSelector: {}
## Pod affinity
##
# affinity: {}
## Pod tolerations
##
# tolerations: {}
## Pod topology spread constraints
##
# topologySpreadConstraints: {}
## Deployment lifecycle
##
lifecycle:
preStop:
exec:
command:
- /bin/sleep
- "10"
## Autoscaling parameters
##
autoscaling:
## Keda based autoscaling
##
keda:
## Enable autoscaling
##
enabled: false
## Define mix replica count
##
minReplicas: 1
## Define max replica count
##
maxReplicas: 3
## Define scaled object port
##
port: 8080
## Define scaled object targetPendingRequests
##
targetPendingRequests: 1
## Define keda interceptor proxy dns
##
interceptor_dns: keda-add-ons-http-interceptor-proxy.keda.svc.cluster.local
hpa:
## Enable autoscaling
##
enabled: false
## Define mix replica count
##
minReplicas: 1
## Define max replica count
##
maxReplicas: 3
## The average CPU usage of a all pods in a deployment
##
targetCPUUtilizationPercentage: "50"
## The average memory usage of a all pods in a deployment
##
targetMemoryUtilizationPercentage: "50"
## Custom scaling behavior
##
# behavior: {}
serviceAccount:
## Specifies whether a service account should be created
##
create: true
## Annotations to add to the service account
##
annotations: {}
## The name of the service account to use.
## If not set and create is true, a name is generated using the fullname template
# name: ""
## Define NetworkPolicy Egress rules for FaaS deployment
##
networkPolicy:
create: true
ipBlock:
cidr: 0.0.0.0/0
except:
- 10.0.0.0/8
- 192.168.0.0/16
- 172.16.0.0/20