A Overriding the SUSE Private Registry Helm chart #
The SUSE Private Registry (Private Registry) Helm chart is delivered with default values. You can adjust the Helm chart installation in one of the following ways:
Append specific parameters to the
--setflags on thehelm installcommand line, for example:$ helm install <RELEASE_NAME> \ oci://registry.suse.com/private-registry/private-registry-helm \ --namespace <PRIVATE_REGISTRY_NAMESPACE> \ --set harborAdminPassword=<MY_PASSWORD> \ --set externalURL=https://<PRIVATE_REGISTRY_FQDN> \ --set expose.ingress.hosts.core=<PRIVATE_REGISTRY_FQDN>
Create a SUSE custom
suse_registry_override.yamlfile and pass it to the--fflag, for example:$ helm install <RELEASE_NAME> \ oci://registry.suse.com/private-registry/private-registry-helm \ --namespace <PRIVATE_REGISTRY_NAMESPACE> -f suse_registry_override.yaml
A1 Examples of SUSE Registry Helm override files #
expose: type: ingress 1 ingress: hosts: core: <PRIVATE_REGISTRY_FQDN> 2 externalURL: https://<PRIVATE_REGISTRY_FQDN> 3 harborAdminPassword: "<MY_PASSWORD>" 4 database: internal: password: "<MY_PASSWORD_POSTGRESQL>" redis: internal: password: "<MY_PASSWORD_REDIS>"
How SUSE Registry is exposed. Can be | |
Host name for the Kubernetes internal networking configuration. | |
URL where the SUSE Registry application runs. It is used to generate links in the user interface, redirects and also for API responses. | |
The administrator password to the application. |
loadBalancer #expose: type: loadBalancer 1 tls: enabled: true certSource: secret 2 secret: secretName: <SECRET_NAME> auto: commonName: <PRIVATE_REGISTRY_FQDN> 3 externalURL: https://<PRIVATE_REGISTRY_FQDN> 4 harborAdminPassword: "<MY_PASSWORD>" 5 database: internal: password: "<MY_PASSWORD_POSTGRESQL>" redis: internal: password: "<MY_PASSWORD_REDIS>"
How SUSE Registry is exposed. Can be | |
Can be | |
When using TLS encryption, this field must match the | |
URL where the SUSE Registry application runs. It is used to generate links in the user interface, redirects and also for API responses. | |
The administrator password to the application. |
A2 Overriding Helm chart parameters and values #
The following tables list all parameters with descriptions that you can use to override the default installation values.
global.imageRegistrySets a global override for the container image registry used for all images.
global.imagePullSecretsSets global pull secrets for accessing the container image registry.
harborAdminPasswordSets the initial password for Harbor administrator. Change it from portal after deployment. Default is
Harbor12345.externalURLSpecifies the external URL for
harbor-coreservice. Default ishttps://core.harbor.domain.existingSecretAdminPasswordKeySets the key name in the secret containing Harbor administrator password. Default is
HARBOR_ADMIN_PASSWORD.imagePullSecretsSets the
imagePullSecretsnames for all deployments.updateStrategy.typeSets the update strategy for deployments with persistent volumes. Accepts
RollingUpdateorRecreate. UseRecreatewhen RWM for volumes is not supported. Default isRollingUpdate.logLevelSets the log level for Harbor services. Accepts
fatal,error,warn,info,debugortrace. Default isdebug.enableMigratehelmHookRuns database migration job via Helm hook. When
true, separates migration job fromharbor-core. Default isfalse.caSecretNameSpecifies the secret name containing the
ca.crtkey.
proxy.httpProxySpecifies the HTTP proxy server URL. Default is
"".proxy.httpsProxySpecifies the HTTPS proxy server URL. Default is
"".proxy.noProxySets URLs that bypass the proxy configuration. Default is
127.0.0.1,localhost,.local,.internal.proxy.componentsSets components that use the proxy configuration. Default is
["core","jobservice","trivy"].
expose.typeSpecifies service exposure type:
ingress,clusterIP,nodePortorloadBalancer. Default isingress.expose.tls.enabledEnables TLS. Default is
true.expose.tls.certSourceSets TLS certificate source as
auto,secretornone. Default isauto.expose.tls.auto.commonNameSets certificate common name when type is not
ingress.expose.tls.secret.secretNameSpecifies name of secret containing
tls.crt(certificate) andtls.key(private key).expose.ingress.hosts.coreSets Harbor core service host in Ingress rule. Default is
core.harbor.domain.expose.ingress.controllerSets Ingress controller type. Supports
default,gce,alb,f5-bigipandncp. Default isdefault.expose.ingress.kubeVersionOverrideOverrides Kubernetes version for Ingress templating.
expose.ingress.annotationsSets Ingress annotations.
expose.ingress.labelsSets Ingress-specific labels. Default is
{}.expose.clusterIP.nameSets ClusterIP service name. Default is
harbor.expose.clusterIP.annotationsSets ClusterIP service annotations. Default is
{}.expose.clusterIP.ports.httpPortSets HTTP service port. Default is
80.expose.clusterIP.ports.httpsPortSets HTTPS service port. Default is
443.expose.clusterIP.labelsSets ClusterIP-specific labels. Default is
{}.expose.nodePort.nameSets NodePort service name. Default is
harbor.expose.nodePort.ports.http.portSets HTTP service port. Default is
80.expose.nodePort.ports.http.nodePortSets HTTP node port. Default is
30002.expose.nodePort.ports.https.portSets HTTPS service port. Default is
443.expose.nodePort.ports.https.nodePortSets HTTPS node port. Default is
30003.expose.nodePort.annotationsSets NodePort annotations.
expose.nodePort.labelsSets NodePort-specific labels. Default is
{}.expose.loadBalancer.nameSets service name. Default is
harbor.expose.loadBalancer.IPSets loadBalancer IP when IP assignment is supported. Default is
"".expose.loadBalancer.ports.httpPortSets HTTP service port. Default is
80.expose.loadBalancer.ports.httpsPortSets HTTPS service port. Default is
30002.expose.loadBalancer.annotationsSets loadBalancer service annotations. Default is
{}.expose.loadBalancer.labelsSets loadBalancer-specific labels. Default is
{}.expose.loadBalancer.sourceRangesSpecifies IP address ranges for loadBalancerSourceRanges. Default is
[].
persistence.enabledEnables or disables data persistence. Default is
true.persistence.resourcePolicykeepprevents removal of PVCs during a Helm delete operation. Empty value deletes PVCs after chart deletion. Default iskeep.persistence.persistentVolumeClaim.registry.existingClaimThe existing PVC that must be created manually before binding. Requires a subPath specification if the PVC is shared with other components.
persistence.persistentVolumeClaim.registry.storageClassThe
storageClassthat provisions the volume.persistence.persistentVolumeClaim.registry.subPathThe subpath in the volume.
persistence.persistentVolumeClaim.registry.accessModeThe access mode of the volume. Default is
ReadWriteOnce.persistence.persistentVolumeClaim.registry.sizeThe size of the volume. Default is
5Gi.persistence.persistentVolumeClaim.registry.annotationsThe annotations of the volume.
persistence.persistentVolumeClaim.jobservice.jobLog.existingClaimThe existing PVC that must be created manually before binding. Requires a subPath specification if the PVC is shared with other components.
persistence.persistentVolumeClaim.jobservice.jobLog.storageClassThe
storageClassthat provisions the volume.persistence.persistentVolumeClaim.jobservice.jobLog.subPathThe subpath in the volume.
persistence.persistentVolumeClaim.jobservice.jobLog.accessModeThe access mode of the volume. Default is
ReadWriteOnce.persistence.persistentVolumeClaim.jobservice.jobLog.sizeThe size of the volume. Default is
1Gi.persistence.persistentVolumeClaim.jobservice.jobLog.annotationsThe annotations of the volume.
persistence.persistentVolumeClaim.database.existingClaimThe existing PVC that must be created manually before binding. Requires a subPath specification if the PVC is shared with other components.
persistence.persistentVolumeClaim.database.storageClassThe
storageClassthat provisions the volume.persistence.persistentVolumeClaim.database.subPathThe subpath in the volume. Ignored when an external database is used.
persistence.persistentVolumeClaim.database.accessModeThe access mode of the volume. Ignored when an external database is used. Default is
ReadWriteOnce.persistence.persistentVolumeClaim.database.sizeThe size of the volume. Ignored when an external database is used. Default is
1Gi.persistence.persistentVolumeClaim.database.annotationsThe annotations of the volume.
persistence.persistentVolumeClaim.redis.existingClaimThe existing PVC that must be created manually before binding. Requires a subPath specification if the PVC is shared with other components.
persistence.persistentVolumeClaim.redis.storageClassThe
storageClassthat provisions the volume. Uses default StorageClass if not specified.persistence.persistentVolumeClaim.redis.subPathThe subpath in the volume. Ignored when an external Valkey is used.
persistence.persistentVolumeClaim.redis.accessModeThe access mode of the volume. Ignored when an external Valkey is used. Default is
ReadWriteOnce.persistence.persistentVolumeClaim.redis.sizeThe size of the volume. Ignored when an external Valkey is used. Default is
1Gi.persistence.persistentVolumeClaim.redis.annotationsThe annotations of the volume.
persistence.persistentVolumeClaim.trivy.existingClaimThe existing PVC that must be created manually before binding. Requires a subPath specification if the PVC is shared with other components.
persistence.persistentVolumeClaim.trivy.storageClassThe
storageClassthat provisions the volume. Uses default StorageClass if not specified.persistence.persistentVolumeClaim.trivy.subPathThe subpath in the volume.
persistence.persistentVolumeClaim.trivy.accessModeThe access mode of the volume. Default is
ReadWriteOnce.persistence.persistentVolumeClaim.trivy.sizeThe size of the volume. Default is
1Gi.persistence.persistentVolumeClaim.trivy.annotationsThe annotations of the volume.
persistence.imageChartStorage.disableredirectControls redirect management from content back-ends. Set to true to disable redirects for unsupported back-ends. Default is
false.persistence.imageChartStorage.caBundleSecretNameThe name of secret containing CA bundle for self-signed storage service certificates.
persistence.imageChartStorage.typeThe storage type for images and charts:
filesystem,azure,gcs,s3,swift, oross. Default isfilesystem.persistence.imageChartStorage.gcs.existingSecretThe name of existing secret containing the GCS service account JSON key. The key must be
gcs-key.json. Default is"".persistence.imageChartStorage.gcs.useWorkloadIdentityEnables workload identity usage in a GKE cluster. Default is
false.
nginx.image.repositoryThe image repository for nginx. Default is
private-registry/harbor-nginx.nginx.image.tagThe image tag for nginx.
nginx.replicasThe number of replicas to run. Default is
1.nginx.revisionHistoryLimitThe maximum number of old
ReplicaSetrevisions to retain. Default is10.nginx.resourcesThe compute resources allocated for the container. Default is
undefined.nginx.automountServiceAccountTokenControls automatic mounting of the service account token. Default is
false.nginx.nodeSelectorThe node labels used for pod assignment. Default is
{}.nginx.tolerationsThe pod assignment tolerations. Default is
[].nginx.affinityThe node or pod affinity rules. Default is
{}.nginx.topologySpreadConstraintsThe rules for spreading pods across failure-domains such as regions or availability zones. Default is
[].nginx.podAnnotationsThe annotations added to the nginx pod. Default is
{}.
portal.image.repositoryRepository location for the portal image. Default is
private-registry/harbor-portal.portal.image.tagTag for the portal image. Default is
3.11.portal.replicasNumber of replicas to create. Default is
1.portal.revisionHistoryLimitMaximum number of old
ReplicaSetrevisions to retain. Default is10.portal.resourcesResources allocated to the container. Default is
undefined.portal.automountServiceAccountTokenControls automatic mounting of the service account token. Default is
false.portal.nodeSelectorNode labels used for pod assignment. Default is
{}.portal.tolerationsTolerations used for pod assignment. Default is
[].portal.affinityNode and pod affinity settings. Default is
{}.portal.topologySpreadConstraintsDefines pod distribution across failure-domains such as regions or availability zones. Default is
[].portal.podAnnotationsAnnotations added to the portal pod. Default is
{}.portal.serviceAnnotationsAnnotations added to the portal service. Default is
{}.portal.priorityClassNamePriority class name for pod execution.
portal.initContainersInit containers to be run before the controller container starts. Default is
[].
core.image.repositoryThe repository for the Harbor core image. Default is
private-registry/harbor-core.core.image.tagThe tag for the Harbor core image. Default is
2.11.core.replicasThe number of replicas. Default is
1.core.revisionHistoryLimitThe revision history limit. Default is
10.core.startupProbe.initialDelaySecondsThe initial delay in seconds for the startup probe. Default is
10.core.resourcesThe resources to allocate for the container. Default is
undefined.core.automountServiceAccountTokenMounts the service account token. Default is
false.core.nodeSelectorThe node labels for pod assignment. Default is
{}.core.tolerationsThe tolerations for pod assignment. Default is
[].core.affinityThe node or pod affinities. Default is
{}.core.topologySpreadConstraintsThe constraints that define how pods are spread across failure-domains like regions or availability zones. Default is
[].core.podAnnotationsThe annotations to add to the core pod. Default is
{}.core.serviceAnnotationsThe annotations to add to the core service. Default is
{}.core.configureUserSettingsA JSON string in the environment variable CONFIG_OVERWRITE_JSON to configure user settings.
core.quotaUpdateProviderThe provider for updating project quota usage, options are
redisordb. Default isdb.core.secretUsed when core server communicates with other components.
core.secretNameThe name of a Kubernetes secret to use your own TLS certificate and private key for token encryption or decryption.
core.tokenKeyThe PEM-formatted RSA private key used to sign service tokens.
core.tokenCertThe PEM-formatted certificate signed by
core.tokenKeyused to validate service tokens.core.xsrfKeyThe XSRF key, automatically generated if not specified.
core.priorityClassNameThe priority class to run the pod as.
core.artifactPullAsyncFlushDurationThe time duration for asynchronously updating artifact pull time and repository pull count.
core.gdpr.deleteUserEnables GDPR compliant user deletion. Default is
false.core.gdpr.auditLogsCompliantEnables GDPR compliance for audit logs by changing username to its CRC32 value if that user was deleted from the system. Default is
false.core.initContainersThe init containers to run before the controller’s container starts. Default is
[].
jobservice.image.repositoryThe repository for the jobservice image. Default is
private-registry/harbor-jobservice.jobservice.image.tagThe tag for the jobservice image. Default is
2.11.jobservice.replicasThe number of replicas. Default is
1.jobservice.revisionHistoryLimitThe revision history limit. Default is
10.jobservice.maxJobWorkersThe maximum number of job workers. Default is
10.jobservice.jobLoggersThe loggers for jobs:
file,databaseorstdout. Default is[file].jobservice.loggerSweeperDurationThe duration in days to keep job logs (ignored if
jobLoggersis set tostdout). Default is14.jobservice.notification.webhook_job_max_retryThe maximum number of retries for webhook notification sending. Default is
3.jobservice.notification.webhook_job_http_client_timeoutThe HTTP client timeout in seconds for webhook notification sending. Default is
3.jobservice.reaper.max_update_hoursThe maximum time in hours to wait for a task to finish. If the task is not finished after the specified hours, it is marked as an error but continues to run. Default is
24.jobservice.reaper.max_dangling_hoursThe maximum time in hours for execution in running state without a new task created. Default is
168.jobservice.resourcesThe [resources] to allocate for container. Default is
undefined.jobservice.automountServiceAccountTokenMounts the service account token. Default is
false.jobservice.nodeSelectorThe node labels for pod assignment. Default is
{}.jobservice.tolerationsThe tolerations for pod assignment. Default is
[].jobservice.affinityThe node or pod affinities. Default is
{}.jobservice.topologySpreadConstraintsThe constraints that define how pods are spread across failure-domains like regions or availability zones. Default is
[].jobservice.podAnnotationsThe annotations to add to the jobservice pod. Default is
{}.jobservice.priorityClassNameThe priority class to run the pod as.
jobservice.secretThe secret used when job service communicates with other components. If a secret key is not specified, Helm generates it. Must be a string of 16 characters.
jobservice.initContainersThe init containers to run before the controller’s container starts. Default is
[].
registry.registry.image.repositoryThe repository location for the registry image. Default is
private-registry/harbor-registry.registry.registry.image.tagThe tag for the registry image. Default is
2.11.registry.registry.resourcesThe [resources] to allocate for container. Default is
undefined.registry.controller.image.repositoryThe repository location for the registry controller image. Default is
private-registry/harbor-registryctl.registry.controller.image.tagThe tag for the registry controller image. Default is
2.11.registry.controller.resourcesThe [resources] to allocate for container. Default is
undefined.registry.replicasThe number of replica instances. Default is
1.registry.revisionHistoryLimitThe maximum number of revisions to maintain in history. Default is
10.registry.nodeSelectorThe node labels for pod assignment. Default is
{}.registry.automountServiceAccountTokenControls whether to mount the service account token. Default is
false.registry.tolerationsThe tolerations for pod assignment. Default is
[].registry.affinityThe node or pod affinities. Default is
{}.registry.topologySpreadConstraintsThe constraints that define pod distribution across failure-domains such as regions or availability zones. Default is
[].registry.middlewareMiddleware support for a CDN between back-end storage and Docker pull recipient.
registry.podAnnotationsThe annotations to add to the registry pod. Default is
{}.registry.priorityClassNameThe priority class for pod execution.
registry.secretThe secret that secures the upload state between client and registry storage back-end.
registry.credentials.usernameThe username for Harbor core’s internal registry access. Default is
harbor_registry_user.registry.credentials.passwordThe password for Harbor core’s internal registry access. Default is
harbor_registry_password.registry.credentials.existingSecretAn existing secret containing the password for registry instance access in htpasswd auth mode. Default is
"".registry.credentials.htpasswdStringThe login and password in htpasswd string format. Excludes
registry.credentials.usernameandregistry.credentials.password. Default isundefined.registry.relativeurlsReturns relative URLs in Location headers when true. Required if Harbor is behind a reverse proxy. Default is
false.registry.upload_purging.enabledEnables purging of upload directories. Default is
true.registry.upload_purging.ageThe time period after which files in upload directories are removed, default is one week. Default is
168h.registry.upload_purging.intervalThe time interval between purge operations. Default is
24h.registry.upload_purging.dryrunEnables dryrun mode for upload purging. Default is
false.registry.initContainersThe init containers that run before the controller’s container starts. Default is
[].
trivy.enabledEnables or disables the Trivy scanner. Default is
true.trivy.image.repositoryThe repository for the Trivy adapter image. Default is
private-registry/harbor-trivy-adapter.trivy.image.tagThe tag for the Trivy adapter image. Default is
2.11.trivy.resourcesThe resources to allocate for the Trivy adapter container. Default is
undefined.trivy.automountServiceAccountTokenWhether to mount the service account token. Default is
false.trivy.replicasThe number of Pod replicas. Default is
1.trivy.debugModeEnables Trivy debug mode for troubleshooting. Default is
false.trivy.vulnTypeComma-separated list of vulnerability types (
osandlibrary). Default isos,library.trivy.severityComma-separated list of vulnerability severities to check. Default is
UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL.trivy.ignoreUnfixedDisplays only fixed vulnerabilities. Default is
false.trivy.insecureSkips registry certificate verification. Default is
false.trivy.skipUpdateDisables Trivy database downloads from GitHub. Default is
false.trivy.skipJavaDBUpdateRequires manual download of the
trivy-java.dbfile when enabled. Default isfalse.trivy.offlineScanPrevents Trivy from sending API requests to identify dependencies. Default is
false.trivy.securityCheckComma-separated list of security issues to detect. Default is
vuln.trivy.timeoutThe duration to wait for scan completion. Default is
5m0s.trivy.gitHubTokenThe GitHub access token required for database downloads. Default is
undefined.trivy.priorityClassNameThe priority class for running the pod. Default is
undefined.trivy.topologySpreadConstraintsDefines pod distribution constraints across failure domains. Default is
undefined.trivy.initContainersList of init containers to run before the main container starts. Default is
[].
database.typeThe database type. Set to
externalwhen using an external database. Default isinternal.database.internal.image.repositoryThe repository for the database image. Default is
private-registry/harbor-db.database.internal.image.tagThe tag for the database image. Default is
2.11.database.internal.passwordThe password for the internal database. Default is
changeit.database.internal.shmSizeLimitThe shared memory size limit for PostgreSQL (typically 50% of the container memory limit). Default is
512Mi.database.internal.resourcesThe resources allocated for the database container. Default is
undefined.database.internal.automountServiceAccountTokenControls whether the service account token is mounted. Default is
false.database.internal.initContainer.migrator.resourcesThe resources allocated for the database migrator init container. Default is
undefined.database.internal.initContainer.permissions.resourcesThe resources allocated for the database permissions init container. Default is
undefined.database.internal.nodeSelectorThe node labels for pod assignment. Default is
{}.database.internal.tolerationsThe tolerations for pod assignment. Default is
[].database.internal.affinityThe node or pod affinity settings. Default is
{}.database.internal.priorityClassNameThe priority class for running the pod. Default is
undefined.database.internal.livenessProbe.timeoutSecondsThe timeout in seconds for the liveness probe (range: 1-5s). Default is
1.database.internal.readinessProbe.timeoutSecondsThe timeout in seconds for the readiness probe (range: 1-5s). Default is
1.database.internal.extrInitContainersAdditional init containers that run before the database container starts. Default is
[].database.external.hostThe host name of the external database. Default is
192.168.0.1.database.external.portThe port number of the external database. Default is
5432.database.external.usernameThe username for the external database. Default is
user.database.external.passwordThe password for the external database. Default is
password.database.external.coreDatabaseThe database name used by the core service. Default is
registry.database.external.existingSecretThe existing secret containing the database password. The key must be
password. Default is"".database.external.sslmodeThe connection method for the external database. Options:
require,verify-full,verify-ca,disable. Default isdisable.database.maxIdleConnsThe maximum number of idle connections in the pool (0 or less means no idle connections are retained). Default is
50.database.maxOpenConnsThe maximum number of open connections to the database (0 or less means unlimited). Default is
100.database.podAnnotationsThe annotations to add to the database pod. Default is
{}.
redis.typeThe Redis deployment type. Set to
externalfor external Redis. Default isinternal.redis.internal.image.repositoryThe repository for the Redis image. Default is
private-registry/harbor-redis.redis.internal.image.tagThe tag for the Redis image. Default is
7.2.redis.internal.resourcesThe resources allocated for the Redis container. Default is
undefined.redis.internal.automountServiceAccountTokenControls whether the service account token is mounted. Default is
false.redis.internal.nodeSelectorThe node labels for pod assignment. Default is
{}.redis.internal.tolerationsThe tolerations for pod assignment. Default is
[].redis.internal.affinityThe node or pod affinity settings. Default is
{}.redis.internal.priorityClassNameThe priority class for running the Redis pod. Default is
undefined.redis.internal.jobserviceDatabaseIndexThe database index for jobservice. Default is
1.redis.internal.registryDatabaseIndexThe database index for registry. Default is
2.redis.internal.trivyAdapterIndexThe database index for Trivy adapter. Default is
5.redis.internal.harborDatabaseIndexThe database index for miscellaneous Harbor business logic. Default is
0.redis.internal.cacheLayerDatabaseIndexThe database index for Harbor’s cache layer. Default is
0.redis.internal.initContainersThe init containers that run before the Redis container starts. Default is
[].redis.external.addrThe address of the external Redis instance. Default is
192.168.0.2:6379.redis.external.sentinelMasterSetThe name of the Redis Sentinel master set (if applicable). Default is
undefined.redis.external.coreDatabaseIndexThe database index for core. Default is
0.redis.external.jobserviceDatabaseIndexThe database index for jobservice. Default is
1.redis.external.registryDatabaseIndexThe database index for registry. Default is
2.redis.external.trivyAdapterIndexThe database index for Trivy adapter. Default is
5.redis.external.harborDatabaseIndexThe database index for miscellaneous Harbor business logic. Default is
0.redis.external.cacheLayerDatabaseIndexThe database index for Harbor’s cache layer. Default is
0.redis.external.usernameThe username for external Redis authentication. Default is
undefined.redis.external.passwordThe password for external Redis authentication. Default is
undefined.redis.external.existingSecretThe existing secret containing the Redis password. The key must be
REDIS_PASSWORD. Default is"".redis.podAnnotationsThe annotations to add to the Redis pod. Default is
{}.
exporter.replicasThe number of replicas to run. Default is
1.exporter.revisionHistoryLimitThe revision history limit. Default is
10.exporter.podAnnotationsAnnotations to add to the exporter pod. Default is
{}.exporter.image.repositoryThe repository for the exporter image. Default is
private-registry/harbor-exporter.exporter.image.tagThe tag for the exporter image. Default is
2.11.exporter.nodeSelectorNode labels for pod assignment. Default is
{}.exporter.tolerationsTolerations for pod assignment. Default is
[].exporter.affinityNode or Pod affinities. Default is
{}.exporter.topologySpreadConstraintsConstraints that define how Pods spread across failure-domains like regions or availability zones. Default is
[].exporter.automountServiceAccountTokenControls whether to mount the serviceAccountToken. Default is
false.exporter.cacheDurationThe cache duration for information collected by the exporter. Default is
30.exporter.cacheCleanIntervalThe cache clean interval for information collected by the exporter. Default is
14400.exporter.priorityClassNameThe priority class to run the pod as. Default is
undefined.
metrics.enabledEnables Harbor metrics. Default is
false.metrics.core.pathThe URL path for core metrics. Default is
/metrics.metrics.core.portThe port for core metrics. Default is
8001.metrics.registry.pathThe URL path for registry metrics. Default is
/metrics.metrics.registry.portThe port for registry metrics. Default is
8001.metrics.exporter.pathThe URL path for exporter metrics. Default is
/metrics.metrics.exporter.portThe port for exporter metrics. Default is
8001.metrics.serviceMonitor.enabledEnables creation of a Prometheus ServiceMonitor (requirePrometheusus CRDs). Default is
false.metrics.serviceMonitor.additionalLabelsAdditional labels to apply to the ServiceMonitor manifest. Default is
"".metrics.serviceMonitor.intervalThe scrape interval for Harbor metrics. Default is
"".metrics.serviceMonitor.metricRelabelingsThe relabeling rules for metrics before ingestion. Default is
[].metrics.serviceMonitor.relabelingsThe relabeling rules for metrics before scraping. Default is
[].
trace.enabledEnables tracing functionality. Default is
false.trace.providerThe tracing provider (
jaegerorotel). Jaeger version should be 1.26+. Default isjaeger.trace.sample_rateThe sampling rate for trace data.
1samples 100%,0.5samples 50%. Default is1.trace.namespaceThe namespace to differentiate different Harbor services.
trace.attributesA key-value dictionary for user-defined attributes in trace provider initialization.
trace.jaeger.endpointThe endpoint for Jaeger tracing. Default is
http://hostname:14268/api/traces.trace.jaeger.usernameThe username for Jaeger authentication.
trace.jaeger.passwordThe password for Jaeger authentication.
trace.jaeger.agent_hostThe agent host for Jaeger.
trace.jaeger.agent_portThe agent port for Jaeger. Default is
6831.trace.otel.endpointThe endpoint for OpenTelemetry tracing. Default is
hostname:4318.trace.otel.url_pathThe URL path for OpenTelemetry. Default is
/v1/traces.trace.otel.compressionEnables compression for OpenTelemetry. Default is
false.trace.otel.insecureEstablishes an insecure connection for OpenTelemetry. Default is
true.trace.otel.timeoutThe timeout in seconds for OpenTelemetry. Default is
10.
cache.enabledEnables the cache layer. Default is
false.cache.expireHoursThe expiration time in hours for the cache layer. Default is
24.