DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
harbor logoHELM

harbor

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.

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

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.