1# This file has been modified by Chainguard, Inc.
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
7# Copyright Broadcom, Inc. All Rights Reserved.
8# SPDX-License-Identifier: APACHE-2.0
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
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)
26 ## - myRegistryKeySecretName
29 defaultStorageClass: ""
30 ## Security parameters
33 ## @param global.security.allowInsecureImages Allows skipping image verification
34 allowInsecureImages: false
35 ## Compatibility adaptations for Kubernetes platforms
38 ## Compatibility adaptations for 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)
43 adaptSecurityContext: auto
45## @section Common Parameters
47## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
50## @param fullnameOverride String to fully override common.names.fullname template with a string
53## @param apiVersions Override Kubernetes API versions reported by .Capabilities
56## @param kubeVersion Override Kubernetes version reported by .Capabilities
59## @param clusterDomain Kubernetes Cluster Domain
61clusterDomain: cluster.local
62## @param commonAnnotations Annotations to add to all deployed objects
65## @param commonLabels Labels to add to all deployed objects
68## @param extraDeploy Array of extra objects to deploy with the release (evaluated as a template).
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
82## @section Harbor common parameters
84## @param adminPassword The initial password of Harbor admin. Change it from portal after launching Harbor
87## @param existingSecret Name of existing Secret containing the Harbor admin password
90## @param existingSecretAdminPasswordKey Name of the key inside the existing secret containing the Harbor admin password (HARBOR_ADMIN_PASSWORD as default if not provided)
92existingSecretAdminPasswordKey: ""
93## @param externalURL The external URL for Harbor Core service
95## 1) populate the docker/helm commands showed on portal
96## 2) populate the token service URL returned to docker client
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
108externalURL: 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
118 noProxy: 127.0.0.1,localhost,.local,.internal
123## @param logLevel The log level used for Harbor services. Allowed values are [ fatal \| error \| warn \| info \| debug \| trace ]
127## Note: TLS cert files need to provided in each components in advance.
130 ## @param internalTLS.enabled Use TLS in all the supported containers: core, jobservice, portal, registry and trivy
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"
137## IP family parameters
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)
145 ## @param ipFamily.ipv4.enabled Enable listening on IPv4 for NGINX-based components (NGINX,portal)
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
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
163## @section Traffic Exposure Parameters
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
174 ## @param service.type NGINX proxy service type
177 ## @param service.ports.http NGINX proxy service HTTP port
178 ## @param service.ports.https NGINX proxy service HTTPS port
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>
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/
195 sessionAffinity: None
196 ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
197 ## sessionAffinityConfig:
199 ## timeoutSeconds: 300
201 sessionAffinityConfig: {}
202 ## @param service.clusterIP NGINX proxy service Cluster IP
207 ## @param service.loadBalancerIP NGINX proxy service Load Balancer IP
208 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
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
214 ## loadBalancerSourceRanges:
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
221 externalTrafficPolicy: Cluster
222 ## @param service.annotations Additional custom annotations for NGINX proxy service
225 ## @param service.extraPorts Extra port to expose on NGINX proxy service
229 ## Configure the ingress resource that allows you to access Harbor Core
230 ## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
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/
238 ## @param ingress.core.pathType Ingress path type
240 pathType: ImplementationSpecific
241 ## @param ingress.core.apiVersion Force Ingress API version (automatically detected if not set)
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
250 ## @param ingress.core.hostname Default host for the ingress record
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
258 ## kubernetes.io/ingress.class: nginx
259 ## cert-manager.io/cluster-issuer: cluster-issuer-name
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 }}`
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`
274 ## @param ingress.core.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
277 ## @param ingress.core.extraHosts An array with additional hostname(s) to be covered with the ingress record
280 ## - name: core.harbor.domain
284 ## @param ingress.core.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
289 ## serviceName: ssl-redirect
290 ## servicePort: use-annotation
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
298 ## - core.harbor.domain
299 ## secretName: core.harbor.domain-tls
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
311 ## - name: core.harbor.domain-tls
313 ## -----BEGIN RSA PRIVATE KEY-----
315 ## -----END RSA PRIVATE KEY-----
317 ## -----BEGIN CERTIFICATE-----
319 ## -----END CERTIFICATE-----
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
326 ## - host: example.local
337## @section Persistence Parameters
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
345## For storing images and charts, you can also use "azure", "gcs", "s3",
346## "swift" or "oss". Set it in the "imageChartStorage" section
349 ## @param persistence.enabled Enable the data persistence or not
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
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
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
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
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
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.
415 ## @param persistence.imageChartStorage.disableredirect The configuration for managing redirects from content backends. For backends which do not supported it (such as using MinIO® 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
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
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
426 rootdirectory: /storage
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
436 accountname: accountname
437 accountkey: base64encodedaccountkey
438 container: containername
439 storagePrefix: /azure/harbor/charts
441 ## realm: core.windows.net
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
452 ## The base64 encoded json file which contains the gcs key (file's content)
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
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
517 authurl: https://storage.myprovider.com/v3/auth
527 insecureskipverify: ""
534 tempurlcontainerkey: ""
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
561## @section Migration job parameters
564 ## @param migration.enabled Enable migration job
567 ## @param migration.podLabels Additional pod labels
568 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
571 ## @param migration.podAnnotations Additional pod annotations
572 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
575 ## @param migration.automountServiceAccountToken Mount Service Account token in pod
577 automountServiceAccountToken: false
578 ## @param migration.hostAliases Migration job host aliases
581 ## @param migration.command Override default container command (useful when using custom images)
584 ## @param migration.args Override default container args (useful when using custom images)
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
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
604 fsGroupChangePolicy: Always
606 supplementalGroups: []
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:
625 readOnlyRootFilesystem: true
626 allowPrivilegeEscalation: false
630 type: "RuntimeDefault"
631 ## @param migration.extraEnvVars Extra environment variables to be set on jaeger migration container
637 ## @param migration.extraEnvVarsCM Name of existing ConfigMap containing extra env vars
640 ## @param migration.extraEnvVarsSecret Name of existing Secret containing extra env vars
642 extraEnvVarsSecret: ""
643 ## @param migration.extraVolumeMounts Optionally specify extra list of additional volumeMounts for jaeger container
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
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).
658 resourcesPreset: "small"
659 ## @param migration.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
671 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
674 ## @param migration.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
684 ## @param migration.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
686 allowExternalEgress: true
687 ## @param migration.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
697 ## - matchExpressions:
703 ## @param migration.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
713 ## - matchExpressions:
720 ## @param migration.extraVolumes Optionally specify extra list of additional volumes for jaeger container
723## @section Tracing parameters
726## Tracing parameters:
727## tracing: Configure tracing for Harbor, only one of tracing.jeager.enabled and tracing.otel.enabled should be set
730 ## @param tracing.enabled Enable tracing
733 ## @param tracing.sampleRate Tracing sample rate from 0 to 1
736 ## @param tracing.namespace Used to differentiate traces between different harbor services
739 ## @param tracing.attributes A key value dict containing user defined attributes used to initialize the trace provider
742 ## application: harbor
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.
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
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
776 endpoint: "hostname:4318"
777 urlpath: "/v1/traces"
781## @section Volume Permissions parameters
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.
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).
792 resourcesPreset: "nano"
793 ## @param certificateVolume.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
804## volumePermissions: Change the owner and group of the persistent volume(s) mountpoint(s) to 'runAsUser:fsGroup' on each node
807 ## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume
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
819 repository: chainguard-private/os-shell-iamguarded
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/
828 ## - myRegistryKeySecretName
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).
835 resourcesPreset: "nano"
836 ## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
854 containerSecurityContext:
858## @section NGINX Parameters
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
872 repository: chainguard-private/nginx-iamguarded
875 ## Specify a imagePullPolicy
876 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
884 ## - myRegistryKeySecretName
893 ## @param nginx.tls.enabled Enable TLS termination
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.
904 ## @param nginx.tls.commonName The common name used to generate the self-signed TLS certificates
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.
911 behindReverseProxy: false
912 ## @param nginx.command Override default container command (useful when using custom images)
915 ## @param nginx.args Override default container args (useful when using custom images)
918 ## @param nginx.extraEnvVars Array with extra environment variables to add NGINX pods
921 ## @param nginx.extraEnvVarsCM ConfigMap containing extra environment variables for NGINX pods
924 ## @param nginx.extraEnvVarsSecret Secret containing extra environment variables (in case of sensitive data) for NGINX pods
926 extraEnvVarsSecret: ""
927 ## @param nginx.containerPorts.http NGINX HTTP container port
928 ## @param nginx.containerPorts.https NGINX HTTPS container port
933 ## @param nginx.replicaCount Number of NGINX replicas
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
947 initialDelaySeconds: 20
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
961 initialDelaySeconds: 20
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
975 initialDelaySeconds: 10
980 ## @param nginx.customLivenessProbe Custom livenessProbe that overrides the default one
982 customLivenessProbe: {}
983 ## @param nginx.customReadinessProbe Custom readinessProbe that overrides the default one
985 customReadinessProbe: {}
986 ## @param nginx.customStartupProbe Custom startupProbe that overrides the default one
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).
993 resourcesPreset: "small"
994 ## @param nginx.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
1015 fsGroupChangePolicy: Always
1017 supplementalGroups: []
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
1032 containerSecurityContext:
1039 readOnlyRootFilesystem: true
1040 allowPrivilegeEscalation: false
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
1052 ## @param nginx.lifecycleHooks LifecycleHook for the NGINX container(s) to automate configuration before or after startup
1055 ## @param nginx.automountServiceAccountToken Mount Service Account token in pod
1057 automountServiceAccountToken: false
1058 ## Harbor Nginx ServiceAccount configuration
1061 ## @param nginx.serviceAccount.create Specifies whether a ServiceAccount should be created
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
1068 ## @param nginx.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
1070 automountServiceAccountToken: false
1071 ## @param nginx.serviceAccount.annotations Additional custom annotations for the ServiceAccount
1074 ## @param nginx.hostAliases NGINX pods host aliases
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/
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/
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
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
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
1098 ## @param nginx.nodeAffinityPreset.type NGINX Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
1101 ## @param nginx.nodeAffinityPreset.key NGINX Node label key to match Ignored if `affinity` is set.
1103 ## key: "kubernetes.io/e2e-az-name"
1106 ## @param nginx.nodeAffinityPreset.values NGINX Node label values to match. Ignored if `affinity` is set.
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
1118 ## @param nginx.nodeSelector NGINX Node labels for pod assignment
1119 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1122 ## @param nginx.tolerations NGINX Tolerations for pod assignment
1123 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
1129 topologySpreadConstraints: []
1130 ## @param nginx.priorityClassName Priority Class Name
1131 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
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/
1138 ## @param nginx.sidecars Add additional sidecar containers to the NGINX pods
1141 ## - name: your-image-name
1142 ## image: your-image
1143 ## imagePullPolicy: Always
1146 ## containerPort: 1234
1149 ## @param nginx.initContainers Add additional init containers to the NGINX pods
1152 ## - name: your-image-name
1153 ## image: your-image
1154 ## imagePullPolicy: Always
1157 ## containerPort: 1234
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.
1170 ## @param nginx.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the NGINX pods
1172 extraVolumeMounts: []
1173 ## @param nginx.extraVolumes Optionally specify extra list of additional volumes for the NGINX pods
1177 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1180 ## @param nginx.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
1190 ## @param nginx.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1192 allowExternalEgress: true
1193 ## @param nginx.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1203 ## - matchExpressions:
1209 ## @param nginx.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1219 ## - matchExpressions:
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
1229 ingressNSMatchLabels: {}
1230 ingressNSPodMatchLabels: {}
1231## @section Harbor Portal Parameters
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
1245 repository: chainguard-private/harbor-portal-iamguarded
1248 ## Specify a imagePullPolicy
1249 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
1257 ## - myRegistryKeySecretName
1260 ## Enable debug mode
1263 ## Use TLS in the container
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
1271 ## @param portal.command Override default container command (useful when using custom images)
1274 ## @param portal.args Override default container args (useful when using custom images)
1277 ## @param portal.extraEnvVars Array with extra environment variables to add Harbor Portal pods
1280 ## @param portal.extraEnvVarsCM ConfigMap containing extra environment variables for Harbor Portal pods
1283 ## @param portal.extraEnvVarsSecret Secret containing extra environment variables (in case of sensitive data) for Harbor Portal pods
1285 extraEnvVarsSecret: ""
1286 ## @param portal.containerPorts.http Harbor Portal HTTP container port
1287 ## @param portal.containerPorts.https Harbor Portal HTTPS container port
1292 ## @param portal.replicaCount Number of Harbor Portal replicas
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
1306 initialDelaySeconds: 20
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
1320 initialDelaySeconds: 20
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
1334 initialDelaySeconds: 5
1337 failureThreshold: 15
1339 ## @param portal.customLivenessProbe Custom livenessProbe that overrides the default one
1341 customLivenessProbe: {}
1342 ## @param portal.customReadinessProbe Custom readinessProbe that overrides the default one
1344 customReadinessProbe: {}
1345 ## @param portal.customStartupProbe Custom startupProbe that overrides the default one
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).
1352 resourcesPreset: "small"
1353 ## @param portal.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
1374 fsGroupChangePolicy: Always
1376 supplementalGroups: []
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
1391 containerSecurityContext:
1398 readOnlyRootFilesystem: true
1399 allowPrivilegeEscalation: false
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
1411 ## @param portal.lifecycleHooks LifecycleHook for the Harbor Portal container(s) to automate configuration before or after startup
1414 ## @param portal.hostAliases Harbor Portal pods host aliases
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/
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/
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
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
1432 podAntiAffinityPreset: soft
1433 ## Node affinity preset
1434 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1437 ## @param portal.nodeAffinityPreset.type Harbor Portal Node affinity preset type. Ignored if `portal.affinity` is set. Allowed values: `soft` or `hard`
1440 ## @param portal.nodeAffinityPreset.key Harbor Portal Node label key to match Ignored if `portal.affinity` is set.
1442 ## key: "kubernetes.io/e2e-az-name"
1445 ## @param portal.nodeAffinityPreset.values Harbor Portal Node label values to match. Ignored if `portal.affinity` is set.
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
1457 ## @param portal.nodeSelector Harbor Portal Node labels for pod assignment
1458 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1461 ## @param portal.tolerations Harbor Portal Tolerations for pod assignment
1462 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
1468 topologySpreadConstraints: []
1469 ## @param portal.priorityClassName Priority Class Name
1470 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
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/
1477 ## @param portal.sidecars Add additional sidecar containers to the Harbor Portal pods
1480 ## - name: your-image-name
1481 ## image: your-image
1482 ## imagePullPolicy: Always
1485 ## containerPort: 1234
1488 ## @param portal.initContainers Add additional init containers to the Harbor Portal pods
1491 ## - name: your-image-name
1492 ## image: your-image
1493 ## imagePullPolicy: Always
1496 ## containerPort: 1234
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.
1509 ## @param portal.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Harbor Portal pods
1511 extraVolumeMounts: []
1512 ## @param portal.extraVolumes Optionally specify extra list of additional volumes for the Harbor Portal pods
1515 ## @param portal.automountServiceAccountToken Mount Service Account token in pod
1517 automountServiceAccountToken: false
1518 ## Harbor Portal ServiceAccount configuration
1521 ## @param portal.serviceAccount.create Specifies whether a ServiceAccount should be created
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
1528 ## @param portal.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
1530 automountServiceAccountToken: false
1531 ## @param portal.serviceAccount.annotations Additional custom annotations for the ServiceAccount
1534 ## Harbor Portal service configuration
1537 ## @param portal.service.ports.http Harbor Portal HTTP service port
1538 ## @param portal.service.ports.https Harbor Portal HTTPS service port
1544 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1547 ## @param portal.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
1557 ## @param portal.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1559 allowExternalEgress: true
1560 ## @param portal.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1570 ## - matchExpressions:
1576 ## @param portal.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1586 ## - matchExpressions:
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
1596 ingressNSMatchLabels: {}
1597 ingressNSPodMatchLabels: {}
1598## @section Harbor Core Parameters
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
1612 repository: chainguard-private/harbor-core-iamguarded
1615 ## Specify a imagePullPolicy
1616 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
1624 ## - myRegistryKeySecretName
1627 ## Enable debug mode
1630 ## @param core.quotaUpdateProvider Provider for updating project quota (usage). Allowed values: `db`, `redis`
1632 quotaUpdateProvider: db
1633 ## @param core.sessionLifetime Explicitly set a session timeout (in seconds) overriding the backend default
1636 ## @param core.artifactPullAsyncFlushDuration Time (in seconds) for async update artifact pull_time and repository pull_count
1638 artifactPullAsyncFlushDuration: 10
1639 ## @param core.gdpr.deleteUser Enable/disable GDPR user deletion
1640 ## @param core.gdpr.auditLogsCompliant Enable/disable GDPR audit logs compliance
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`.
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`)
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
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")
1674 ## If you do not know how to start, let the chart generate a full secret for you before defining an existingEnvVarsSecret
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
1679 existingEnvVarsSecret: ""
1680 ## @param core.csrfKey The CSRF key. Will be generated automatically if it isn't specified
1683 ## Use TLS in the container
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
1691 ## @param core.command Override default container command (useful when using custom images)
1694 ## @param core.args Override default container args (useful when using custom images)
1697 ## @param core.extraEnvVars Array with extra environment variables to add Harbor Core pods
1700 ## @param core.extraEnvVarsCM ConfigMap containing extra environment variables for Harbor Core pods
1703 ## @param core.extraEnvVarsSecret Secret containing extra environment variables (in case of sensitive data) for Harbor Core pods
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
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
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
1722 ## @param core.replicaCount Number of Harbor Core replicas
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
1736 initialDelaySeconds: 20
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
1750 initialDelaySeconds: 20
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
1764 initialDelaySeconds: 5
1767 failureThreshold: 15
1769 ## @param core.customLivenessProbe Custom livenessProbe that overrides the default one
1771 customLivenessProbe: {}
1772 ## @param core.customReadinessProbe Custom readinessProbe that overrides the default one
1774 customReadinessProbe: {}
1775 ## @param core.customStartupProbe Custom startupProbe that overrides the default one
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).
1782 resourcesPreset: "small"
1783 ## @param core.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
1804 fsGroupChangePolicy: Always
1806 supplementalGroups: []
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
1821 containerSecurityContext:
1828 readOnlyRootFilesystem: true
1829 allowPrivilegeEscalation: false
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
1841 ## @param core.lifecycleHooks LifecycleHook for the Harbor Core container(s) to automate configuration before or after startup
1844 ## @param core.hostAliases Harbor Core pods host aliases
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/
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/
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
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
1862 podAntiAffinityPreset: soft
1863 ## Node affinity preset
1864 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
1867 ## @param core.nodeAffinityPreset.type Harbor Core Node affinity preset type. Ignored if `core.affinity` is set. Allowed values: `soft` or `hard`
1870 ## @param core.nodeAffinityPreset.key Harbor Core Node label key to match Ignored if `core.affinity` is set.
1872 ## key: "kubernetes.io/e2e-az-name"
1875 ## @param core.nodeAffinityPreset.values Harbor Core Node label values to match. Ignored if `core.affinity` is set.
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
1887 ## @param core.nodeSelector Harbor Core Node labels for pod assignment
1888 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
1891 ## @param core.tolerations Harbor Core Tolerations for pod assignment
1892 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
1898 topologySpreadConstraints: []
1899 ## @param core.priorityClassName Priority Class Name
1900 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
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/
1907 ## @param core.sidecars Add additional sidecar containers to the Harbor Core pods
1910 ## - name: your-image-name
1911 ## image: your-image
1912 ## imagePullPolicy: Always
1915 ## containerPort: 1234
1918 ## @param core.initContainers Add additional init containers to the Harbor Core pods
1921 ## - name: your-image-name
1922 ## image: your-image
1923 ## imagePullPolicy: Always
1926 ## containerPort: 1234
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.
1939 ## @param core.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Harbor Core pods
1941 extraVolumeMounts: []
1942 ## @param core.extraVolumes Optionally specify extra list of additional volumes for the Harbor Core pods
1945 ## @param core.automountServiceAccountToken Mount Service Account token in pod
1947 automountServiceAccountToken: false
1948 ## Harbor Core ServiceAccount configuration
1951 ## @param core.serviceAccount.create Specifies whether a ServiceAccount should be created
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
1958 ## @param core.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
1960 automountServiceAccountToken: false
1961 ## @param core.serviceAccount.annotations Additional custom annotations for the ServiceAccount
1964 ## Harbor Core service configuration
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
1976 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1979 ## @param core.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
1989 ## @param core.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1991 allowExternalEgress: true
1992 ## @param core.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2002 ## - matchExpressions:
2008 ## @param core.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2018 ## - matchExpressions:
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
2028 ingressNSMatchLabels: {}
2029 ingressNSPodMatchLabels: {}
2030## @section Harbor Jobservice Parameters
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
2044 repository: chainguard-private/harbor-jobservice-iamguarded
2047 ## Specify a imagePullPolicy
2048 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
2056 ## - myRegistryKeySecretName
2059 ## Enable debug mode
2062 ## @param jobservice.maxJobWorkers The max job workers
2065 ## @param jobservice.redisNamespace Redis namespace for jobservice
2067 redisNamespace: harbor_job_service_namespace
2068 ## @param jobservice.jobLogger The logger for jobs: `file`, `database` or `stdout`
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)
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
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`)
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"),
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
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
2103 ## @param jobservice.command Override default container command (useful when using custom images)
2106 ## @param jobservice.args Override default container args (useful when using custom images)
2109 ## @param jobservice.extraEnvVars Array with extra environment variables to add Harbor Jobservice pods
2112 ## @param jobservice.extraEnvVarsCM ConfigMap containing extra environment variables for Harbor Jobservice pods
2115 ## @param jobservice.extraEnvVarsSecret Secret containing extra environment variables (in case of sensitive data) for Harbor Jobservice pods
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
2126 ## @param jobservice.replicaCount Number of Harbor Jobservice replicas
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
2140 initialDelaySeconds: 20
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
2154 initialDelaySeconds: 20
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
2168 initialDelaySeconds: 5
2171 failureThreshold: 15
2173 ## @param jobservice.customLivenessProbe Custom livenessProbe that overrides the default one
2175 customLivenessProbe: {}
2176 ## @param jobservice.customReadinessProbe Custom readinessProbe that overrides the default one
2178 customReadinessProbe: {}
2179 ## @param jobservice.customStartupProbe Custom startupProbe that overrides the default one
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).
2186 resourcesPreset: "small"
2187 ## @param jobservice.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
2208 fsGroupChangePolicy: Always
2210 supplementalGroups: []
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
2225 containerSecurityContext:
2232 readOnlyRootFilesystem: true
2233 allowPrivilegeEscalation: false
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
2245 ## @param jobservice.lifecycleHooks LifecycleHook for the Harbor Jobservice container(s) to automate configuration before or after startup
2248 ## @param jobservice.hostAliases Harbor Jobservice pods host aliases
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/
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/
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
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
2266 podAntiAffinityPreset: soft
2267 ## Node affinity preset
2268 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2271 ## @param jobservice.nodeAffinityPreset.type Harbor Jobservice Node affinity preset type. Ignored if `jobservice.affinity` is set. Allowed values: `soft` or `hard`
2274 ## @param jobservice.nodeAffinityPreset.key Harbor Jobservice Node label key to match Ignored if `jobservice.affinity` is set.
2276 ## key: "kubernetes.io/e2e-az-name"
2279 ## @param jobservice.nodeAffinityPreset.values Harbor Jobservice Node label values to match. Ignored if `jobservice.affinity` is set.
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
2291 ## @param jobservice.nodeSelector Harbor Jobservice Node labels for pod assignment
2292 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2295 ## @param jobservice.tolerations Harbor Jobservice Tolerations for pod assignment
2296 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
2302 topologySpreadConstraints: []
2303 ## @param jobservice.priorityClassName Priority Class Name
2304 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
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/
2311 ## @param jobservice.sidecars Add additional sidecar containers to the Harbor Jobservice pods
2314 ## - name: your-image-name
2315 ## image: your-image
2316 ## imagePullPolicy: Always
2319 ## containerPort: 1234
2322 ## @param jobservice.initContainers Add additional init containers to the Harbor Jobservice pods
2325 ## - name: your-image-name
2326 ## image: your-image
2327 ## imagePullPolicy: Always
2330 ## containerPort: 1234
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.
2343 ## @param jobservice.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Harbor Jobservice pods
2345 extraVolumeMounts: []
2346 ## @param jobservice.extraVolumes Optionally specify extra list of additional volumes for the Harbor Jobservice pods
2349 ## @param jobservice.automountServiceAccountToken Mount Service Account token in pod
2351 automountServiceAccountToken: false
2352 ## Harbor Jobservice ServiceAccount configuration
2355 ## @param jobservice.serviceAccount.create Specifies whether a ServiceAccount should be created
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
2362 ## @param jobservice.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
2364 automountServiceAccountToken: false
2365 ## @param jobservice.serviceAccount.annotations Additional custom annotations for the ServiceAccount
2368 ## Harbor Jobservice service configuration
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
2380 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2383 ## @param jobservice.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
2393 ## @param jobservice.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2395 allowExternalEgress: true
2396 ## @param jobservice.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2406 ## - matchExpressions:
2412 ## @param jobservice.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2422 ## - matchExpressions:
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
2432 ingressNSMatchLabels: {}
2433 ingressNSPodMatchLabels: {}
2434## @section Harbor Registry Parameters
2437## Registry Parameters
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.
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),
2454 ## @param registry.relativeurls Make the registry return relative URLs in Location headers. The client is responsible for resolving the correct URL.
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
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"
2467 htpasswd: harbor_registry_user:$2y$10$9L4Tc0DJbFFMB6RdSCunrOpTHdwhid4ktBJmLD00bYgqkkGOvll3m
2469 ## @param registry.middleware.enabled Middleware is used to add support for a CDN between backend storage and `docker pull` recipient. See
2472 ## @param registry.middleware.type CDN type for the middleware
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
2482 baseurl: example.cloudfront.net
2483 keypairid: KEYPAIRID
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
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
2500 ## Use TLS in the container
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
2508 ## @param registry.replicaCount Number of Harbor Registry replicas
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
2521 fsGroupChangePolicy: Always
2523 supplementalGroups: []
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
2532 ## @param registry.hostAliases Harbor Registry pods host aliases
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/
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/
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
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
2550 podAntiAffinityPreset: soft
2551 ## Node affinity preset
2552 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
2555 ## @param registry.nodeAffinityPreset.type Harbor Registry Node affinity preset type. Ignored if `registry.affinity` is set. Allowed values: `soft` or `hard`
2558 ## @param registry.nodeAffinityPreset.key Harbor Registry Node label key to match Ignored if `registry.affinity` is set.
2560 ## key: "kubernetes.io/e2e-az-name"
2563 ## @param registry.nodeAffinityPreset.values Harbor Registry Node label values to match. Ignored if `registry.affinity` is set.
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
2575 ## @param registry.nodeSelector Harbor Registry Node labels for pod assignment
2576 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
2579 ## @param registry.tolerations Harbor Registry Tolerations for pod assignment
2580 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
2586 topologySpreadConstraints: []
2587 ## @param registry.priorityClassName Priority Class Name
2588 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
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/
2595 ## @param registry.sidecars Add additional sidecar containers to the Harbor Registry pods
2598 ## - name: your-image-name
2599 ## image: your-image
2600 ## imagePullPolicy: Always
2603 ## containerPort: 1234
2606 ## @param registry.initContainers Add additional init containers to the Harbor Registry pods
2609 ## - name: your-image-name
2610 ## image: your-image
2611 ## imagePullPolicy: Always
2614 ## containerPort: 1234
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.
2627 ## @param registry.extraVolumes Optionally specify extra list of additional volumes for the Harbor Registry pods
2630 ## @param registry.automountServiceAccountToken Mount Service Account token in pod
2632 automountServiceAccountToken: false
2633 ## Harbor Registry ServiceAccount configuration
2636 ## @param registry.serviceAccount.create Specifies whether a ServiceAccount should be created
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
2643 ## @param registry.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
2645 automountServiceAccountToken: false
2646 ## @param registry.serviceAccount.annotations Additional custom annotations for the ServiceAccount
2650 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
2653 ## @param registry.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
2663 ## @param registry.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
2665 allowExternalEgress: true
2666 ## @param registry.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
2676 ## - matchExpressions:
2682 ## @param registry.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
2692 ## - matchExpressions:
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
2702 ingressNSMatchLabels: {}
2703 ingressNSPodMatchLabels: {}
2704 ## Harbor Registry main container parameters
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
2718 repository: chainguard-private/harbor-registry-iamguarded
2721 ## Specify a imagePullPolicy
2722 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
2730 ## - myRegistryKeySecretName
2733 ## Enable debug mode
2736 ## @param registry.server.command Override default container command (useful when using custom images)
2739 ## @param registry.server.args Override default container args (useful when using custom images)
2742 ## @param registry.server.extraEnvVars Array with extra environment variables to add Harbor Registry main containers
2745 ## @param registry.server.extraEnvVarsCM ConfigMap containing extra environment variables for Harbor Registry main containers
2748 ## @param registry.server.extraEnvVarsSecret Secret containing extra environment variables (in case of sensitive data) for Harbor Registry main containers
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
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
2772 initialDelaySeconds: 20
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
2786 initialDelaySeconds: 20
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
2800 initialDelaySeconds: 5
2803 failureThreshold: 15
2805 ## @param registry.server.customLivenessProbe Custom livenessProbe that overrides the default one
2807 customLivenessProbe: {}
2808 ## @param registry.server.customReadinessProbe Custom readinessProbe that overrides the default one
2810 customReadinessProbe: {}
2811 ## @param registry.server.customStartupProbe Custom startupProbe that overrides the default one
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).
2818 resourcesPreset: "small"
2819 ## @param registry.server.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
2843 containerSecurityContext:
2850 readOnlyRootFilesystem: true
2851 allowPrivilegeEscalation: false
2855 type: "RuntimeDefault"
2856 ## @param registry.server.lifecycleHooks LifecycleHook for the Harbor Registry main container(s) to automate configuration before or after startup
2859 ## @param registry.server.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Harbor Registry main pods
2861 extraVolumeMounts: []
2862 ## Harbor Registry service configuration
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
2873 ## Harbor Registryctl parameters
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
2887 repository: chainguard-private/harbor-registryctl-iamguarded
2890 ## Specify a imagePullPolicy
2891 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
2899 ## - myRegistryKeySecretName
2902 ## Enable debug mode
2905 ## @param registry.controller.command Override default container command (useful when using custom images)
2908 ## @param registry.controller.args Override default container args (useful when using custom images)
2911 ## @param registry.controller.extraEnvVars Array with extra environment variables to add Harbor Registryctl containers
2914 ## @param registry.controller.extraEnvVarsCM ConfigMap containing extra environment variables for Harbor Registryctl containers
2917 ## @param registry.controller.extraEnvVarsSecret Secret containing extra environment variables (in case of sensitive data) for Harbor Registryctl containers
2919 extraEnvVarsSecret: ""
2920 ## @param registry.controller.containerPorts.http Harbor Registryctl HTTP container port
2921 ## @param registry.controller.containerPorts.https Harbor Registryctl HTTPS container port
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
2937 initialDelaySeconds: 20
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
2951 initialDelaySeconds: 20
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
2965 initialDelaySeconds: 5
2968 failureThreshold: 15
2970 ## @param registry.controller.customLivenessProbe Custom livenessProbe that overrides the default one
2972 customLivenessProbe: {}
2973 ## @param registry.controller.customReadinessProbe Custom readinessProbe that overrides the default one
2975 customReadinessProbe: {}
2976 ## @param registry.controller.customStartupProbe Custom startupProbe that overrides the default one
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).
2983 resourcesPreset: "small"
2984 ## @param registry.controller.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
3008 containerSecurityContext:
3015 readOnlyRootFilesystem: true
3016 allowPrivilegeEscalation: false
3020 type: "RuntimeDefault"
3021 ## @param registry.controller.lifecycleHooks LifecycleHook for the Harbor Registryctl container(s) to automate configuration before or after startup
3024 ## @param registry.controller.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Harbor Registryctl pods
3026 extraVolumeMounts: []
3027 ## Harbor Registryctl service configuration
3030 ## @param registry.controller.service.ports.http Harbor Registryctl HTTP service port
3031 ## @param registry.controller.service.ports.https Harbor Registryctl HTTPS service port
3036## @section Harbor Adapter Trivy Parameters
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
3050 repository: chainguard-private/harbor-adapter-trivy-iamguarded
3053 ## Specify a imagePullPolicy
3054 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
3062 ## - myRegistryKeySecretName
3065 ## Enable debug mode
3068 ## @param trivy.enabled Enable Trivy
3071 ## @param trivy.debugMode The flag to enable Trivy debug mode
3074 ## @param trivy.vulnType Comma-separated list of vulnerability types. Possible values `os` and `library`.
3076 vulnType: "os,library"
3077 ## @param trivy.severity Comma-separated list of severities to be checked
3079 severity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL"
3080 ## @param trivy.ignoreUnfixed The flag to display only fixed vulnerabilities
3082 ignoreUnfixed: false
3083 ## @param trivy.insecure The flag to skip verifying registry certificate
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")
3093 existingEnvVarsSecret: ""
3094 ## @param trivy.gitHubToken The GitHub access token to download Trivy DB
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.
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
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
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/
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.
3123 skipJavaDbUpdate: false
3124 ## @param trivy.dbRepository OCI repositor(ies) to retrieve the trivy vulnerability database from
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
3130 cacheDir: "/iamguarded/harbor-adapter-trivy/.cache"
3131 ## Use TLS in the container
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
3139 ## @param trivy.command Override default container command (useful when using custom images)
3142 ## @param trivy.args Override default container args (useful when using custom images)
3145 ## @param trivy.extraEnvVars Array with extra environment variables to add Trivy pods
3148 ## @param trivy.extraEnvVarsCM ConfigMap containing extra environment variables for Trivy pods
3151 ## @param trivy.extraEnvVarsSecret Secret containing extra environment variables (in case of sensitive data) for Trivy pods
3153 extraEnvVarsSecret: ""
3154 ## @param trivy.containerPorts.http Trivy HTTP container port
3155 ## @param trivy.containerPorts.https Trivy HTTPS container port
3160 ## @param trivy.replicaCount Number of Trivy replicas
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
3174 initialDelaySeconds: 20
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
3188 initialDelaySeconds: 20
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
3202 initialDelaySeconds: 5
3205 failureThreshold: 15
3207 ## @param trivy.customLivenessProbe Custom livenessProbe that overrides the default one
3209 customLivenessProbe: {}
3210 ## @param trivy.customReadinessProbe Custom readinessProbe that overrides the default one
3212 customReadinessProbe: {}
3213 ## @param trivy.customStartupProbe Custom startupProbe that overrides the default one
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).
3220 resourcesPreset: "small"
3221 ## @param trivy.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
3242 fsGroupChangePolicy: Always
3244 supplementalGroups: []
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
3259 containerSecurityContext:
3266 readOnlyRootFilesystem: true
3267 allowPrivilegeEscalation: false
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
3279 ## @param trivy.lifecycleHooks LifecycleHook for the Trivy container(s) to automate configuration before or after startup
3282 ## @param trivy.hostAliases Trivy pods host aliases
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/
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/
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
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
3300 podAntiAffinityPreset: soft
3301 ## Node affinity preset
3302 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3305 ## @param trivy.nodeAffinityPreset.type Trivy Node affinity preset type. Ignored if `trivy.affinity` is set. Allowed values: `soft` or `hard`
3308 ## @param trivy.nodeAffinityPreset.key Trivy Node label key to match Ignored if `trivy.affinity` is set.
3310 ## key: "kubernetes.io/e2e-az-name"
3313 ## @param trivy.nodeAffinityPreset.values Trivy Node label values to match. Ignored if `trivy.affinity` is set.
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
3325 ## @param trivy.nodeSelector Trivy Node labels for pod assignment
3326 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3329 ## @param trivy.tolerations Trivy Tolerations for pod assignment
3330 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
3336 topologySpreadConstraints: []
3337 ## @param trivy.priorityClassName Priority Class Name
3338 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
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/
3345 ## @param trivy.sidecars Add additional sidecar containers to the Trivy pods
3348 ## - name: your-image-name
3349 ## image: your-image
3350 ## imagePullPolicy: Always
3353 ## containerPort: 1234
3356 ## @param trivy.initContainers Add additional init containers to the Trivy pods
3359 ## - name: your-image-name
3360 ## image: your-image
3361 ## imagePullPolicy: Always
3364 ## containerPort: 1234
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.
3377 ## @param trivy.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Trivy pods
3379 extraVolumeMounts: []
3380 ## @param trivy.extraVolumes Optionally specify extra list of additional volumes for the Trivy pods
3383 ## @param trivy.automountServiceAccountToken Mount Service Account token in pod
3385 automountServiceAccountToken: false
3386 ## Trivy ServiceAccount configuration
3389 ## @param trivy.serviceAccount.create Specifies whether a ServiceAccount should be created
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
3396 ## @param trivy.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
3398 automountServiceAccountToken: false
3399 ## @param trivy.serviceAccount.annotations Additional custom annotations for the ServiceAccount
3402 ## Trivy service configuration
3405 ## @param trivy.service.ports.http Trivy HTTP service port
3406 ## @param trivy.service.ports.https Trivy HTTPS service port
3412 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
3415 ## @param trivy.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
3425 ## @param trivy.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
3427 allowExternalEgress: true
3428 ## @param trivy.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
3438 ## - matchExpressions:
3444 ## @param trivy.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
3454 ## - matchExpressions:
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
3464 ingressNSMatchLabels: {}
3465 ingressNSPodMatchLabels: {}
3466## @section Harbor Exporter Parameters
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
3480 repository: chainguard-private/harbor-exporter-iamguarded
3483 ## Specify a imagePullPolicy
3484 ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
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/
3492 ## - myRegistryKeySecretName
3495 ## Enable debug mode
3498 ## @param exporter.cacheDuration Time (in seconds) collected values are cached for
3501 ## @param exporter.cacheCleanInterval Time (in seconds) after which the cache is cleaned
3503 cacheCleanInterval: 14400
3504 ## @param exporter.command Override default container command (useful when using custom images)
3507 ## @param exporter.args Override default container args (useful when using custom images)
3510 ## @param exporter.extraEnvVars Array containing extra env vars
3512 ## - name: HARBOR_DATABASE_SSLMODE
3516 ## @param exporter.extraEnvVarsCM ConfigMap containing extra env vars
3519 ## @param exporter.extraEnvVarsSecret Secret containing extra env vars (in case of sensitive data)
3521 extraEnvVarsSecret: ""
3522 ## @param exporter.containerPorts.metrics Harbor Exporter HTTP container port
3526 ## @param exporter.replicaCount The replica count
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
3540 initialDelaySeconds: 20
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
3556 initialDelaySeconds: 20
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
3570 initialDelaySeconds: 5
3573 failureThreshold: 15
3575 ## @param exporter.customLivenessProbe Custom livenessProbe that overrides the default one
3577 customLivenessProbe: {}
3578 ## @param exporter.customReadinessProbe Custom readinessProbe that overrides the default one
3580 customReadinessProbe: {}
3581 ## @param exporter.customStartupProbe Custom startupProbe that overrides the default one
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).
3588 resourcesPreset: "nano"
3589 ## @param exporter.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
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
3610 fsGroupChangePolicy: Always
3612 supplementalGroups: []
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
3627 containerSecurityContext:
3634 readOnlyRootFilesystem: true
3635 allowPrivilegeEscalation: false
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
3647 ## @param exporter.lifecycleHooks LifecycleHook to set additional configuration at startup, e.g. LDAP settings via REST API. Evaluated as a template
3650 ## @param exporter.hostAliases Exporter pods host aliases
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/
3657 ## @param exporter.podAnnotations Annotations to add to the exporter pod
3658 ## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
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
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
3668 podAntiAffinityPreset: soft
3669 ## Node affinity preset
3670 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
3673 ## @param exporter.nodeAffinityPreset.type Harbor Exporter Node affinity preset type. Ignored if `exporter.affinity` is set. Allowed values: `soft` or `hard`
3676 ## @param exporter.nodeAffinityPreset.key Harbor Exporter Node label key to match Ignored if `exporter.affinity` is set.
3678 ## key: "kubernetes.io/e2e-az-name"
3681 ## @param exporter.nodeAffinityPreset.values Harbor Exporter Node label values to match. Ignored if `exporter.affinity` is set.
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
3693 ## @param exporter.priorityClassName Exporter pods Priority Class Name
3694 ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
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/
3701 ## @param exporter.nodeSelector Harbor Exporter Node labels for pod assignment
3702 ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
3705 ## @param exporter.tolerations Harbor Exporter Tolerations for pod assignment
3706 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
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
3712 topologySpreadConstraints: []
3713 ## @param exporter.initContainers Add additional init containers to the pod (evaluated as a template)
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.
3726 ## @param exporter.extraVolumeMounts
3728 extraVolumeMounts: []
3729 ## @param exporter.extraVolumes
3732 ## @param exporter.sidecars Attach additional containers to the pod (evaluated as a template)
3735 ## @param exporter.automountServiceAccountToken Mount Service Account token in pod
3737 automountServiceAccountToken: false
3738 ## Harbor Exporter ServiceAccount configuration
3741 ## @param exporter.serviceAccount.create Specifies whether a ServiceAccount should be created
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
3748 ## @param exporter.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
3750 automountServiceAccountToken: false
3751 ## @param exporter.serviceAccount.annotations Additional custom annotations for the ServiceAccount
3754 ## Exporter service configuration
3757 ## @param exporter.service.ports.metrics Exporter HTTP service port
3762 ## Ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
3765 ## @param exporter.networkPolicy.enabled Specifies whether a NetworkPolicy should be created
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).
3775 ## @param exporter.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
3777 allowExternalEgress: true
3778 ## @param exporter.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
3788 ## - matchExpressions:
3794 ## @param exporter.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
3804 ## - matchExpressions:
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
3814 ingressNSMatchLabels: {}
3815 ingressNSPodMatchLabels: {}
3816## @section PostgreSQL Parameters
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
3831 enablePostgresUser: true
3832 postgresPassword: not-secure-database-password
3834 architecture: standalone
3836 extendedConfiguration: |
3837 max_connections = 1024
3840 initial-registry.sql: |
3841 CREATE DATABASE registry ENCODING 'UTF8';
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).
3848 resourcesPreset: "nano"
3849 ## @param postgresql.primary.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3863 repository: chainguard-private/postgres-iamguarded
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
3884 existingSecretPasswordKey: "db-password"
3885## @section Redis® parameters
3888## Redis® chart configuration
3889## @param redis.enabled Switch to enable or disable the Redis® 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® password
3899## @param redis.auth.existingSecret The name of an existing secret with Redis® credentials (expected key: `redis-password`)
3900## @param redis.architecture Redis® architecture. Allowed values: `standalone` or `replication`
3901## @param redis.sentinel.enabled Use Redis® Sentinel on Redis® pods.
3902## @param redis.sentinel.masterSet Master set name
3903## @param redis.sentinel.service.ports.sentinel Redis® service port for Redis® Sentinel
3908 ## Redis TLS configuration
3910 # Please note that Mutual TLS is not supported by Harbor.
3919 ## Redis® 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
3922 ## The password value is ignored if existingSecret is set
3926 architecture: standalone
3934 ## Redis® 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).
3938 resourcesPreset: "nano"
3939 ## @param redis.master.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
3953 repository: chainguard-private/redis-server-iamguarded
3955## External Redis® configuration
3956## All of these values are only used when redis.enabled is set to false
3957## @param externalRedis.host Redis® host
3958## @param externalRedis.port Redis® port number
3959## @param externalRedis.username Redis® username (for Redis® ACL)
3960## @param externalRedis.password Redis® password
3961## @param externalRedis.existingSecret The name of an existing secret with Redis® 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
3976 coreDatabaseIndex: "0"
3977 jobserviceDatabaseIndex: "1"
3978 registryDatabaseIndex: "2"
3979 trivyAdapterDatabaseIndex: "5"
3984 ## Redis® 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
3991 masterSet: "mymaster"
3993 ## @param externalRedis.instancePerComponent Configure a Redis® per Harbor component
3994 instancePerComponent: false
3995 ## @param externalRedis.core.host Redis® host for core service
3996 ## @param externalRedis.core.port Redis® port number for core service
3997 ## @param externalRedis.core.username Redis® username for core service (for Redis®6 ACL)
3998 ## @param externalRedis.core.password Redis® password for core service
3999 ## @param externalRedis.core.existingSecret The name of an existing secret with Redis® 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
4021 masterSet: "mymaster"
4023 ## @param externalRedis.jobservice.host Redis® host for jobService service
4024 ## @param externalRedis.jobservice.port Redis® port number for jobService service
4025 ## @param externalRedis.jobservice.username Redis® username for jobService service (for Redis®6 ACL)
4026 ## @param externalRedis.jobservice.password Redis® password for jobService service
4027 ## @param externalRedis.jobservice.existingSecret The name of an existing secret with Redis® 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
4049 masterSet: "mymaster"
4051 ## @param externalRedis.registry.host Redis® host for registry service
4052 ## @param externalRedis.registry.port Redis® port number for registry service
4053 ## @param externalRedis.registry.username Redis® username for registry service (for Redis®6 ACL)
4054 ## @param externalRedis.registry.password Redis® password for registry service
4055 ## @param externalRedis.registry.existingSecret The name of an existing secret with Redis® 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
4077 masterSet: "mymaster"
4079 ## @param externalRedis.trivy.host Redis® host for trivy service
4080 ## @param externalRedis.trivy.port Redis® port number for trivy service
4081 ## @param externalRedis.trivy.username Redis® username for trivy service (for Redis®6 ACL)
4082 ## @param externalRedis.trivy.password Redis® password for trivy service
4083 ## @param externalRedis.trivy.existingSecret The name of an existing secret with Redis® 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
4105 masterSet: "mymaster"
4107## @section Harbor metrics parameters
4110 ## @param metrics.enabled Whether or not to enable metrics for different
4113 ## @param metrics.path Path where metrics are exposed
4116 ## Prometheus Operator ServiceMonitor configuration
4119 ## @param metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (requires `metrics.enabled` to be `true`)
4122 ## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
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
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
4133 ## @param metrics.serviceMonitor.labels Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
4136 ## @param metrics.serviceMonitor.selector Prometheus instance selector labels
4139 ## @param metrics.serviceMonitor.relabelings RelabelConfigs to apply to samples before scraping
4142 ## @param metrics.serviceMonitor.metricRelabelings MetricRelabelConfigs to apply to samples before ingestion
4144 metricRelabelings: []
4145 ## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
4148 ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in prometheus.