-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvalues.yaml
664 lines (612 loc) · 22.7 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
global:
# -- Codefresh platform and account-related settings
codefresh:
# -- URL of Codefresh platform.
url: "https://g.codefresh.io"
# -- Events API endpoint URL suffix.
apiEventsPath: "/2.0/api/events"
# -- Codefresh Account ID.
accountId: ""
# -- User token. Used for runtime registration against the patform. One of token (for plain text value) or secretKeyRef must be provided.
userToken:
# -- User token in plain text. The chart creates and manages the secret for this token.
token: ""
# -- User token that references an existing secret containing the token.
secretKeyRef: {}
tls:
# -- Custom CA certificates bundle for platform access with ssl
caCerts:
# -- Reference to existing secret
secretKeyRef: {}
# -- Chart managed secret for custom platform CA certificates
secret:
# -- Whether to create the secret.
create: false
# -- The secret key that holds the ca bundle
key: 'ca-bundle.crt'
# Annotations
annotations: {}
# Certificate content
content: ""
# -----BEGIN CERTIFICATE-----
# ... encoded certificate data here ...
# -----END CERTIFICATE-----
# -- Certificates to be used in argo workflows pipelines created in Codefresh UI.
# -- Those will be merged with the certificats defined in argo-cd.configs.tls.certificates - so if the certificates are already provided for ArgoCD, there is no need to provide them again.
workflowPipelinesGitWebhooks:
# Annotations on the secret resource
annotatins: {}
certificates: {}
# server.example.com: |
# -----BEGIN CERTIFICATE-----
# ...
# -----END CERTIFICATE-----
# -- Runtime level settings
runtime:
# -- Runtime name. Must be unique per platform account.
name:
# -- Runtime cluster. Should not be changed.
cluster: https://kubernetes.default.svc
# -- Defines whether this is a Codefresh hosted runtime. Should not be changed.
codefreshHosted: false
# -- Ingress settings
ingress:
# -- if set to true, the pre-install hook will validate the existance of appropriate values, but *will not* attempt to make a web request to the ingress host
skipValidation: false
# -- The protocol that Codefresh platform will use to access the runtime ingress. Can be http or https.
protocol: https
# -- Defines if ingress-based access mode is enabled for runtime. To use tunnel-based (ingressless) access mode, set to false.
enabled: false
className: nginx
tls: []
annotations: {}
# -- Hosts for runtime ingress. Note that Codefresh platform will always use the first host in the list to access the runtime.
hosts: []
# -- Explicit url for runtime ingress. Provide this value only if you don't want the chart to create and ingress (global.runtime.ingress.enabled=false) and tunnel-client is not used (tunnel-client.enabled=false)
ingressUrl: ""
# -- is the runtime set as a "configuration runtime".
isConfigurationRuntime: false
# -- Git credentials runtime. Runtime is not fully functional without those credentials.
# If not provided through the installation, they must be provided through the Codefresh UI.
gitCredentials:
# -- Username. Optional when using token in password.
username: "username"
# -- Password. If using GitHub token, please provide it here.
password:
# -- Plain text password
value:
# -- secretKeyReference for Git credentials password. Provide name and key fields.
secretKeyRef: {}
# -- Runtime eventbus
eventBus:
# -- Eventbus name
name: 'codefresh-eventbus'
# -- Annotations on EventBus resource
annotations: {}
# -- Pod disruption budget for the eventbus
pdb:
enabled: true
# -- Minimum number of available eventbus pods. For eventbus to stay functional the majority of its replicas should always be available.
minAvailable: 2
nats:
native:
replicas: 3
auth: token
maxPayload: "4MB"
containerTemplate:
resources:
limits:
cpu: 500m
memory: 4Gi
ephemeral-storage: 2Gi
requests:
cpu: 200m
memory: 1Gi
ephemeral-storage: 2Gi
# -------------------------------------------------------------------------------------------------------------------------
# Installer
# -------------------------------------------------------------------------------------------------------------------------
# -- Runtime installer used for running hooks and checks on the release
installer:
# -- if set to true, pre-install hook will *not* run
skipValidation: false
image:
repository: quay.io/codefresh/gitops-runtime-installer
tag: ""
pullPolicy: IfNotPresent
# -----------------------------------------------------------------------------------------------------------------------
# Sealed secrets
# -----------------------------------------------------------------------------------------------------------------------
sealed-secrets:
fullnameOverride: sealed-secrets-controller
keyrenewperiod: "720h"
image:
registry: 'quay.io'
repository: 'codefresh/sealed-secrets-controller'
tag: '0.27.1'
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 200m
memory: 512Mi
#-----------------------------------------------------------------------------------------------------------------------
# ArgoCD
#-----------------------------------------------------------------------------------------------------------------------
argo-cd:
fullnameOverride: argo-cd
crds:
install: true
configs:
cm:
timeout.reconciliation: 20s
accounts.admin: apiKey,login
application.resourceTrackingMethod: annotation+label
params:
server.insecure: true
application.namespaces: 'cf-*'
eventReporter:
# -- Installs new event reporter component to cluster
enabled: true
# -- Amount of shards to handle applications events
replicas: 3
# -- Switches between old and new reporter version.
# Possible values: v1, v2.
# For v2 `argo-cd.eventReporter.enabled=true` is required
version: v2
applicationVersioning:
# -- Enable application versioning
enabled: true
# -- Extract application version based on ApplicationConfiguration CRD
useApplicationConfiguration: true
#-----------------------------------------------------------------------------------------------------------------------
# Argo Events
#-----------------------------------------------------------------------------------------------------------------------
argo-events:
fullnameOverride: argo-events
crds:
install: false
configs:
nats:
versions:
- version: 0.22.1
natsStreamingImage: nats-streaming:0.25.6
metricsExporterImage: natsio/prometheus-nats-exporter:0.15.0
jetstream:
versions:
- version: latest
natsImage: nats:2.10.21
metricsExporterImage: natsio/prometheus-nats-exporter:0.15.0
configReloaderImage: natsio/nats-server-config-reloader:0.16.0
startCommand: /nats-server
#-----------------------------------------------------------------------------------------------------------------------
# Argo Workflows
#-----------------------------------------------------------------------------------------------------------------------
argo-workflows:
fullnameOverride: argo
enabled: true
server:
# -- auth-mode needs to be set to client to be able to see workflow logs from Codefresh UI
authModes:
- client
# -- Do not change. Workflows UI is only accessed through internal router, changing this values will break routing to workflows native UI from Codefresh.
baseHref: /workflows/
crds:
# -- Install and upgrade CRDs
install: true
# executor controls how the init and wait container should be customized
executor:
resources:
requests:
ephemeral-storage: 10Mi
# mainContainer adds default config for main container that could be overriden in workflows template
mainContainer:
resources:
requests:
ephemeral-storage: 10Mi
#-----------------------------------------------------------------------------------------------------------------------
# Argo rollouts
#-----------------------------------------------------------------------------------------------------------------------
argo-rollouts:
enabled: true
fullnameOverride: argo-rollouts
controller:
replicas: 1
installCRDs: true
#-----------------------------------------------------------------------------------------------------------------------
# Event reporters
#-----------------------------------------------------------------------------------------------------------------------
event-reporters:
rollout:
serviceAccount:
create: true
eventSource:
replicas: 1
resources: {}
tolerations: []
nodeSelector: {}
affinity: {}
sensor:
# -- Set to true to enable logging. Set intervalSeconds to add logging interval to moderate log flow.
logging:
enabled: false
intervalSeconds: 0
# -- Retry strategy for events sent to Codefresh
retryStrategy:
# -- Number of retries
steps: 3
# -- The initial duration, use strings like "2s", "1m"
duration: 0
# -- Duration is multiplied by factor each retry, if factor is not zero and steps limit has not been reached. Should not be negative
factor: 1.0
# -- The sleep between each retry is the duration plus an additional amount chosen uniformly at random from the interval between zero and `jitter * duration`.
jitter: 1
replicas: 1
resources: {}
# -- Environment variables for sensor pods - add DEBUG_LOG: "true" to add debug level logs
env: {}
tolerations: []
nodeSelector: {}
affinity: {}
workflow:
serviceAccount:
create: true
eventSource:
replicas: 1
resources: {}
tolerations: []
nodeSelector: {}
affinity: {}
sensor:
# -- Set to true to enable logging. Set intervalSeconds to add logging interval to moderate log flow.
logging:
enabled: false
intervalSeconds: 0
# -- Retry strategy for events sent to Codefresh
retryStrategy:
# -- Number of retries
steps: 3
# -- The initial duration, use strings like "2s", "1m"
duration: 0
# -- Duration is multiplied by factor each retry, if factor is not zero and steps limit has not been reached. Should not be negative
factor: 1.0
# -- The sleep between each retry is the duration plus an additional amount chosen uniformly at random from the interval between zero and `jitter * duration`.
jitter: 1
replicas: 1
resources: {}
# -- Environment variables for sensor pods - add DEBUG_LOG: "true" to add debug level logs
env: {}
tolerations: []
nodeSelector: {}
affinity: {}
#-----------------------------------------------------------------------------------------------------------------------
# Internal router
#-----------------------------------------------------------------------------------------------------------------------
internal-router:
replicaCount: 1
image:
repository: nginxinc/nginx-unprivileged
pullPolicy: IfNotPresent
tag: 1.26-alpine3.20
imagePullSecrets: []
nameOverride: ""
fullnameOverride: "internal-router"
# -- For ipv6 enabled clusters switch ipv6 enabled to true
ipv6:
enabled: false
serviceAccount:
create: true
annotations: {}
name: ""
podAnnotations: {}
podLabels: {}
podSecurityContext: {}
# -- Environment variables - see values.yaml inside the chart for usage
env: {}
# NAMESPACE:
# valueFrom:
# fieldRef:
# fieldPath: metadata.namespace
# VAR_NAME:
# valueFrom:
# secretKeyRef:
# name: my-secret
# key: my-secret-key
# optional: true
# VAR_NAME:
# valueFrom:
# configMapKeyRef:
# name: my-config-map
# key: my-config-map-key
# optional: true
# VAR_NANE: string-value
securityContext: {}
service:
type: ClusterIP
port: 80
resources:
limits:
memory: 256Mi
cpu: "1"
requests:
memory: 128Mi
cpu: "0.2"
nodeSelector: {}
tolerations: []
affinity: {}
# -- Internal routing settings. Do not change this unless you are absolutely certain - the values are determined by chart's logic.
routing: {}
# Example of values:
# workflows:
# enabled: true
# internalUrl: "https://argo-server1:2746/"
# app-proxy:
# internalUrl: "http://cap-app-proxy:3017"
dnsService: kube-dns
dnsNamespace: kube-system
clusterDomain: cluster.local
## Internal-Router Pod Disruption Budget
pdb:
# -- Enable PDB
enabled: false
# -- Set number of pods that are available after eviction as number or percentage
minAvailable: 1
# -- Set number of pods that are unavailable after eviction as number or percentage
maxUnavailable: ""
#-----------------------------------------------------------------------------------------------------------------------
# tunnel client
#-----------------------------------------------------------------------------------------------------------------------
# -- Tunnel based runtime. Not supported for on-prem platform. In on-prem use ingress based runtimes.
tunnel-client:
# -- Will only be used if global.runtime.ingress.enabled = false
enabled: true
# -- Do not change this value! Breaks chart logic
libraryMode: true
tunnelServer:
host: "register-tunnels.cf-cd.com"
subdomainHost: "tunnels.cf-cd.com"
#-----------------------------------------------------------------------------------------------------------------------
# app-proxy
#-----------------------------------------------------------------------------------------------------------------------
app-proxy:
replicaCount: 1
# -- Image enrichment process configuration
image-enrichment:
# -- Enable or disable enrichment process. Please note that for enrichemnt, argo-workflows has to be enabled as well.
enabled: true
# -- Service account that will be used for enrichemnt process
serviceAccount:
# -- Whether to create the service account or use an existing one
create: true
# -- Name of the service account to create or the name of the existing one to use
name: codefresh-image-enrichment-sa
# -- Annotations on the service account
annotations:
# -- Configurations for image enrichment workflow
config:
# -- The name of the configmap to use as synchronization semaphore, see https://argoproj.github.io/argo-workflows/synchronization/
concurrencyCmName: 'workflow-synchronization-semaphores'
# -- The name of the key in the configmap to use as synchronization semaphore
concurrencyCmKey: 'imageReportExecutor'
# -- Pod grabage collection strategy. By default all pods will be deleted when the enrichment workflow completes.
podGcStrategy: 'OnWorkflowCompletion'
# -- Number of seconds to live after completion
ttlAfterCompletionInSeconds: 86400
# -- Maximum allowed runtime for the enrichment workflow
ttlActiveInSeconds: 900
# -- Client heartbeat interval in seconds for image enrichemnt workflow
clientHeartbeatIntervalInSeconds: 5
# -- Enrichemnt images
images:
# -- Report image enrichment task image
reportImage:
registry: quay.io
repository: codefreshplugins/argo-hub-codefresh-csdp-report-image-info
tag: 1.1.11-main
# Git enrichment task image
gitEnrichment:
registry: quay.io
repository: codefreshplugins/argo-hub-codefresh-csdp-image-enricher-git-info
tag: 1.1.11-main
# Jira enrichment task image
jiraEnrichment:
registry: quay.io
repository: codefreshplugins/argo-hub-codefresh-csdp-image-enricher-jira-info
tag: 1.1.11-main
image:
repository: quay.io/codefresh/cap-app-proxy
tag: 1.3180.0
pullPolicy: IfNotPresent
# -- Extra volume mounts for main container
extraVolumeMounts: []
initContainer:
image:
repository: quay.io/codefresh/cap-app-proxy-init
tag: 1.3180.0
pullPolicy: IfNotPresent
command:
- ./init.sh
env: {}
resources:
limits:
memory: 512Mi
cpu: '1'
requests:
memory: 256Mi
cpu: '0.2'
# -- Extra volume mounts for init container
extraVolumeMounts: []
imagePullSecrets: []
nameOverride: ""
fullnameOverride: "cap-app-proxy"
config:
# -- ArgoCD user to be used by app-proxy
argoCdUsername: "admin"
# -- ArgoCD Url. determined by chart logic. Do not change unless you are certain you need to
argoCdUrl:
# -- Workflows server url. Determined by chart logic. Do not change unless you are certain you need to
argoWorkflowsUrl:
argoWorkflowsInsecure: "true"
env: "production"
# -- Skit git permissions validation
skipGitPermissionValidation: "false"
# -- Log Level
logLevel: "info"
env: {}
serviceAccount:
create: true
annotations: {}
name: "cap-app-proxy"
podAnnotations: {}
podLabels: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext:
allowPrivilegeEscalation: false
readinessProbe:
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded.
failureThreshold: 3
# -- Number of seconds after the container has started before [probe] is initiated.
initialDelaySeconds: 10
# -- How often (in seconds) to perform the [probe].
periodSeconds: 10
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed.
successThreshold: 1
# -- Number of seconds after which the [probe] times out.
timeoutSeconds: 10
livenessProbe:
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded.
failureThreshold: 10
# -- Number of seconds after the container has started before [probe] is initiated.
initialDelaySeconds: 10
# -- How often (in seconds) to perform the [probe].
periodSeconds: 10
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed.
successThreshold: 1
# -- Number of seconds after which the [probe] times out.
timeoutSeconds: 10
service:
type: ClusterIP
port: 3017
resources:
requests:
memory: '512Mi'
ephemeral-storage: '2Gi'
cpu: '100m'
limits:
memory: '1Gi'
ephemeral-storage: '6Gi'
cpu: '1500m'
nodeSelector: {}
tolerations: []
affinity: {}
# -- extra volumes
extraVolumes: []
## App-Proxy Pod Disruption Budget
pdb:
# -- Enable PDB
enabled: false
# -- Set number of pods that are available after eviction as number or percentage
minAvailable: 1
# -- Set number of pods that are unavailable after eviction as number or percentage
maxUnavailable: ""
#-----------------------------------------------------------------------------------------------------------------------
# gitops-operator
#-----------------------------------------------------------------------------------------------------------------------
gitops-operator:
# -- Do not change unless instructed otherwise by Codefresh support
libraryMode: true
enabled: true
replicaCount: 1
# -- Codefresh gitops operator crds
crds:
# -- Whether or not to install CRDs
install: true
# -- Keep CRDs if gitops runtime release is uninstalled
keep: false
# -- Annotations on gitops operator CRDs
annotations: {}
# -- Additional labels for gitops operator CRDs
additionalLabels: {}
env: {}
image: {}
# -- defaults
# repository: quay.io/codefresh/codefresh-gitops-operator
# tag: 'v{{ .Chart.AppVersion }}'
serviceAccount:
create: true
annotations: {}
name: "gitops-operator-controller-manager"
# -- Builtin notifications controller used by gitops-operator for promotion related notifications
argoCdNotifications:
# -- If set to true allows to override notifications image used by the gitops operator. When set to false the version of ArgoCD will be set to the version used for all other ArgoCD components.
imageOverride: false
# -- Set image.repository and image.tag notifications image used by the gitops operator. Ignored unless imageOverride is set to true.
image: {}
# -- Resources for notifications controller used by gitops-operator.
resources: {}
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
podAnnotations: {}
podLabels: {}
nodeSelector: {}
tolerations: []
affinity: {}
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 100m
memory: 64Mi
kube-rbac-proxy:
image:
tag: v0.16.0
# -- defaults
# repository: gcr.io/kubebuilder/kube-rbac-proxy
# tag: v0.14.1
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- "ALL"
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 100m
memory: 64Mi
#-----------------------------------------------------------------------------------------------------------------------
# Garage
#-----------------------------------------------------------------------------------------------------------------------
# -- Builtin Workflows artifacts storage solution. Local S3 backed by local persistence with (PV and PVC)
garage-workflows-artifact-storage:
fullnameOverride: garage
enabled: false
deployment:
# -- Only statefulset is supported for Codefresh gitops runtime. Do not change this
kind: StatefulSet
replicaCount: 3
garage:
#-- Default to 3 replicas, see the replication_mode section at https://garagehq.deuxfleurs.fr/documentation/reference-manual/configuration/#replication-mode
replicationMode: 3
persistence:
enabled: true
# -- Volume that stores cluster metadata
meta:
# -- When empty value empty the default storage class for the cluster will be used
storageClass: ""
size: 100Mi
# -- Volume that stores artifacts and logs for workflows
data:
# -- When empty value empty the default storage class for the cluster will be used
storageClass: ""
size: 100Mi
# -- Resources for garage pods. For smaller deployments at least 100m CPU and 1024Mi memory is reccommended. For larger deployments double this size.
resources: {}
# -- Helm tests
tests:
enabled: false