Reference / Package catalog
harbor
These docs describe Kix's main branch, which can include changes not yet released. Read the docs for the latest release.
Harbor: OCI container registry
This page is generated from kix/packages/stable/harbor.
| Stability | Stable |
package value | packages.harbor |
| Default software version | 2.15.5 |
Dependencies
Section titled “Dependencies”Kix matches each dependency below to another package instance by instance name, alias, or role. To bind a specific instance, set deps.<name> in your cluster definition. See Declaring dependencies for how required and optional dependencies work.
| Dependency | Requirement |
|---|---|
database | Required |
harborSecrets | Required |
redis | Required |
storage | Required |
caBundle | Optional |
clusterIssuer | Optional |
gateway | Optional |
ingressNginx | Optional |
oidc | Optional |
prometheus | Optional |
reloader | Optional |
Options
Section titled “Options”core.env
Section titled “core.env”Extra environment variables for core, over the package’s
tunables (LOG_LEVEL, PERMITTED_REGISTRY_TYPES_FOR_PROXY_CACHE, REPLICATION_ADAPTER_WHITELIST, POSTGRESQL_MAX_IDLE_CONNS, and POSTGRESQL_MAX_OPEN_CONNS). A value is a string, a fieldRef source, or a
secretKeyRef source naming a Secret managed outside Kix with
kix.untrackedRef; null removes a tunable. Addresses and
credentials the package derives from its dependencies cannot be
set here.
- Type:
attribute set of (null or string or env var source with `valueFrom`) - Default:
{ }
core.image
Section titled “core.image”Image of Harbor core. The other Harbor images follow its tag.
-
Type:
submodule -
Default:
1{2digest = "sha256:f7c0ad9b8bae40d4a6460e80be88b6c7d624eebdfbb5690b5b7ae13b4c1bd862";3pullPolicy = "IfNotPresent";4repository = "docker.io/goharbor/harbor-core";5tag = "v2.15.5";6}
core.image.digest
Section titled “core.image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
core.image.note
Section titled “core.image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
core.image.promotedBy
Section titled “core.image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
core.image.pullPolicy
Section titled “core.image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
core.image.repository
Section titled “core.image.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/goharbor/harbor-core"
core.image.resolvedAt
Section titled “core.image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
core.image.sourceRev
Section titled “core.image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
core.image.tag
Section titled “core.image.tag”Image tag. What was asked for.
- Type:
string - Default:
"v2.15.5"
core.replicas
Section titled “core.replicas”Number of core pods. Core is a stateless API; its state lives in the database and valkey.
- Type:
positive integer, meaning >0 - Default: 1 at availability
none, otherwise 2
core.resources
Section titled “core.resources”Container resource requests and limits. Each field keeps its default until set, and null removes a default.
-
Type:
submodule -
Default:
1{2limits = {3cpu = "1";4memory = "256Mi";5};6requests = {7cpu = "20m";8memory = "128Mi";9};10}
core.resources.claims
Section titled “core.resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
core.resources.claims.*.name
Section titled “core.resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
core.resources.claims.*.request
Section titled “core.resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
core.resources.limits
Section titled “core.resources.limits”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
core.resources.limits.cpu
Section titled “core.resources.limits.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"1"
core.resources.limits.ephemeral-storage
Section titled “core.resources.limits.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
core.resources.limits.memory
Section titled “core.resources.limits.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"256Mi"
core.resources.requests
Section titled “core.resources.requests”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
core.resources.requests.cpu
Section titled “core.resources.requests.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"20m"
core.resources.requests.ephemeral-storage
Section titled “core.resources.requests.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
core.resources.requests.memory
Section titled “core.resources.requests.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"128Mi"
core.settings
Section titled “core.settings”Harbor configuration items (the keys of GET /api/v2.0/configurations),
which core applies from CONFIG_OVERWRITE_JSON on every start. A
non-empty value, or an oidc dependency, makes every setting
read-only in Harbor’s UI. With oidc wired the package sets auth_mode,
oidc_endpoint, oidc_client_id, oidc_client_secret,
oidc_scope, oidc_groups_claim, and oidc_admin_group, and
refuses them here; it defaults oidc_name to “OpenID Connect”.
oidc_client_secret and ldap_search_password are always
refused, because the value would land in the pod spec. Values
reach Harbor as written: the package escapes $ against
Kubernetes’ $(VAR) expansion.
-
Type:
attribute set of (boolean or signed integer or string) -
Default:
{ } -
Example:
1{2oidc_auto_onboard = true;3oidc_user_claim = "preferred_username";4project_creation_restriction = "adminonly";5}
database.sslmode
Section titled “database.sslmode”libpq sslmode for core, jobservice, and the exporter. Null derives
it from the database dependency’s out.tls: “require” when the
server speaks TLS, “disable” when it does not.
- Type:
null or one of "disable", "allow", "prefer", "require", "verify-ca", "verify-full" - Default:
null
exporter.env
Section titled “exporter.env”Extra environment variables for the exporter, over the package’s
tunables (LOG_LEVEL, HARBOR_DATABASE_MAX_IDLE_CONNS, HARBOR_DATABASE_MAX_OPEN_CONNS, HARBOR_EXPORTER_CACHE_TIME, and HARBOR_EXPORTER_CACHE_CLEAN_INTERVAL). A value is a string, a fieldRef source, or a
secretKeyRef source naming a Secret managed outside Kix with
kix.untrackedRef; null removes a tunable. Addresses and
credentials the package derives from its dependencies cannot be
set here.
- Type:
attribute set of (null or string or env var source with `valueFrom`) - Default:
{ }
exporter.image
Section titled “exporter.image”Image of harbor-exporter. Its tag follows core.image.tag.
-
Type:
submodule -
Default:
1{2digest = "sha256:d1fa474567b6b1efb5325570f523de457efec4d2ba871691c2982835f76b87ac";3pullPolicy = "IfNotPresent";4repository = "docker.io/goharbor/harbor-exporter";5tag = config.core.image.tag;6}
exporter.image.digest
Section titled “exporter.image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
exporter.image.note
Section titled “exporter.image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
exporter.image.promotedBy
Section titled “exporter.image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
exporter.image.pullPolicy
Section titled “exporter.image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
exporter.image.repository
Section titled “exporter.image.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/goharbor/harbor-exporter"
exporter.image.resolvedAt
Section titled “exporter.image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
exporter.image.sourceRev
Section titled “exporter.image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
exporter.image.tag
Section titled “exporter.image.tag”Image tag. What was asked for.
- Type:
string - Default:
config.core.image.tag
exporter.resources
Section titled “exporter.resources”Container resource requests and limits. Each field keeps its default until set, and null removes a default.
-
Type:
submodule -
Default:
1{2limits = {3cpu = "500m";4memory = "128Mi";5};6requests = {7cpu = "10m";8memory = "32Mi";9};10}
exporter.resources.claims
Section titled “exporter.resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
exporter.resources.claims.*.name
Section titled “exporter.resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
exporter.resources.claims.*.request
Section titled “exporter.resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
exporter.resources.limits
Section titled “exporter.resources.limits”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
exporter.resources.limits.cpu
Section titled “exporter.resources.limits.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"500m"
exporter.resources.limits.ephemeral-storage
Section titled “exporter.resources.limits.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
exporter.resources.limits.memory
Section titled “exporter.resources.limits.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"128Mi"
exporter.resources.requests
Section titled “exporter.resources.requests”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
exporter.resources.requests.cpu
Section titled “exporter.resources.requests.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"10m"
exporter.resources.requests.ephemeral-storage
Section titled “exporter.resources.requests.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
exporter.resources.requests.memory
Section titled “exporter.resources.requests.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"32Mi"
externalURL
Section titled “externalURL”URL clients use to reach Harbor (EXT_ENDPOINT), when it differs from
the route Kix renders. The host must be one that route serves
(ingress.host, else <instance>.<cluster.domain>): registry
clients follow the token realm to this URL, so a host the route does
not serve breaks docker login. Set it only to add a port (a
port-forward) or a scheme that an external load balancer
terminates. No path: Harbor does not serve under a sub-path. Null
derives it from the route.
- Type:
null or string matching the pattern https?://[^/]+ - Default:
null - Example:
"https://harbor.example.com:8443"
htpasswd.image
Section titled “htpasswd.image”Image of the registry’s init container, which writes the htpasswd line for registryPassword with the image’s htpasswd.
-
Type:
submodule -
Default:
1{2digest = "sha256:4e585da9d0125dec36d4500a9f5c5df7b2c0a01f67cb47865a91a4b05bdbec1b";3pullPolicy = "IfNotPresent";4repository = "docker.io/library/httpd";5tag = "2.4.68-alpine";6}
htpasswd.image.digest
Section titled “htpasswd.image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
htpasswd.image.note
Section titled “htpasswd.image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
htpasswd.image.promotedBy
Section titled “htpasswd.image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
htpasswd.image.pullPolicy
Section titled “htpasswd.image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
htpasswd.image.repository
Section titled “htpasswd.image.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/library/httpd"
htpasswd.image.resolvedAt
Section titled “htpasswd.image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
htpasswd.image.sourceRev
Section titled “htpasswd.image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
htpasswd.image.tag
Section titled “htpasswd.image.tag”Image tag. What was asked for.
- Type:
string - Default:
"2.4.68-alpine"
ingress.annotations
Section titled “ingress.annotations”Annotations added to the generated Ingress or HTTPRoute (for example, external-dns annotations). Keys set here override package defaults.
- Type:
attribute set of string - Default:
{ }
ingress.extraHosts
Section titled “ingress.extraHosts”Additional hostnames added to the Ingress or HTTPRoute alongside host. In Gateway mode, a listener must accept each hostname or evaluation fails. The instance’s public URL (self.exposure.url) still uses host.
-
Type:
list of string -
Default:
[ ] -
Example:
1[2"www.example.com"3]
ingress.host
Section titled “ingress.host”Ingress hostname. Null = auto-derive from cluster.domain.
- Type:
null or string - Default:
null
ingress.timeouts
Section titled “ingress.timeouts”Gateway API HTTPRoute rule timeouts for this instance. When set, replaces any default timeouts set by the package; null keeps the package defaults. Ignored in Ingress mode.
-
Type:
null or (submodule) -
Default:
null -
Example:
1{2request = "0s";3}
ingress.timeouts.backendRequest
Section titled “ingress.timeouts.backendRequest”Maximum duration for a single request from the Gateway to a backend, as a Gateway API duration string such as 10s.
- Type:
null or string - Default:
null
ingress.timeouts.request
Section titled “ingress.timeouts.request”Maximum duration for the entire client request, as a Gateway API duration string such as 30s. Set 0s to disable the timeout.
- Type:
null or string - Default:
null
jobservice.env
Section titled “jobservice.env”Extra environment variables for jobservice, over the package’s
tunables (LOG_LEVEL, REGISTRY_HTTP_CLIENT_TIMEOUT in minutes, JOBSERVICE_WEBHOOK_JOB_MAX_RETRY, and JOBSERVICE_WEBHOOK_JOB_HTTP_CLIENT_TIMEOUT in seconds). A value is a string, a fieldRef source, or a
secretKeyRef source naming a Secret managed outside Kix with
kix.untrackedRef; null removes a tunable. Addresses and
credentials the package derives from its dependencies cannot be
set here.
- Type:
attribute set of (null or string or env var source with `valueFrom`) - Default:
{ }
jobservice.image
Section titled “jobservice.image”Image of harbor-jobservice. Its tag follows core.image.tag.
-
Type:
submodule -
Default:
1{2digest = "sha256:aafa49237fef5ce8be2990caf7dcd4c9ff8d921d77c129bd36e4a5c510868a7c";3pullPolicy = "IfNotPresent";4repository = "docker.io/goharbor/harbor-jobservice";5tag = config.core.image.tag;6}
jobservice.image.digest
Section titled “jobservice.image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
jobservice.image.note
Section titled “jobservice.image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
jobservice.image.promotedBy
Section titled “jobservice.image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
jobservice.image.pullPolicy
Section titled “jobservice.image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
jobservice.image.repository
Section titled “jobservice.image.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/goharbor/harbor-jobservice"
jobservice.image.resolvedAt
Section titled “jobservice.image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
jobservice.image.sourceRev
Section titled “jobservice.image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
jobservice.image.tag
Section titled “jobservice.image.tag”Image tag. What was asked for.
- Type:
string - Default:
config.core.image.tag
jobservice.replicas
Section titled “jobservice.replicas”Number of jobservice pods. Job logs live in the database, so any pod can serve any job’s log.
- Type:
positive integer, meaning >0 - Default: 1 at availability
none, otherwise 2
jobservice.resources
Section titled “jobservice.resources”Container resource requests and limits. Each field keeps its default until set, and null removes a default.
-
Type:
submodule -
Default:
1{2limits = {3cpu = "2";4memory = "1Gi";5};6requests = {7cpu = "20m";8memory = "128Mi";9};10}
jobservice.resources.claims
Section titled “jobservice.resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
jobservice.resources.claims.*.name
Section titled “jobservice.resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
jobservice.resources.claims.*.request
Section titled “jobservice.resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
jobservice.resources.limits
Section titled “jobservice.resources.limits”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
jobservice.resources.limits.cpu
Section titled “jobservice.resources.limits.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"2"
jobservice.resources.limits.ephemeral-storage
Section titled “jobservice.resources.limits.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
jobservice.resources.limits.memory
Section titled “jobservice.resources.limits.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"1Gi"
jobservice.resources.requests
Section titled “jobservice.resources.requests”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
jobservice.resources.requests.cpu
Section titled “jobservice.resources.requests.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"20m"
jobservice.resources.requests.ephemeral-storage
Section titled “jobservice.resources.requests.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
jobservice.resources.requests.memory
Section titled “jobservice.resources.requests.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"128Mi"
jobservice.settings
Section titled “jobservice.settings”Jobservice config.yml keys, merged over the package’s own, such
as worker_pool.workers (10), reaper, and loggers. A null
removes a key the package sets. The package locks protocol,
port, worker_pool.backend, worker_pool.redis_pool.namespace,
worker_pool.redis_pool.redis_url, job_loggers, and metric;
setting one fails evaluation.
-
Type:
attribute set of anything -
Default:
{ } -
Example:
1{2reaper = {3max_update_hours = 48;4};5worker_pool = {6workers = 20;7};8}
metrics.enabled
Section titled “metrics.enabled”Enable metrics endpoint and monitoring resources (ServiceMonitor, PrometheusRules) when prometheus is available.
- Type:
boolean - Default:
true
metrics.interval
Section titled “metrics.interval”Scrape interval (e.g. ”30s”). Null = use Prometheus default.
- Type:
null or string - Default:
null
oidc.adminGroup
Section titled “oidc.adminGroup”Members of this group, read from groupsClaim, are Harbor system administrators (oidc_admin_group). Requires groupsClaim.
- Type:
null or non-empty string - Default:
null - Example:
"harbor-admins"
oidc.groupsClaim
Section titled “oidc.groupsClaim”The ID token claim that lists the user’s groups (oidc_groups_claim). Harbor creates a group for each and maps project membership to it. Keycloak adds such a claim through a “Group Membership” mapper on the client.
- Type:
null or non-empty string - Default:
null - Example:
"groups"
oidc.scopes
Section titled “oidc.scopes”OAuth scopes the application requests. OpenID Connect needs openid, so a list without it is refused.
-
Type:
list of scopes without spaces or commas that includes "openid" -
Default:
1[2"openid"3"profile"4"email"5"offline_access"6]
portal.image
Section titled “portal.image”Image of harbor-portal. Its tag follows core.image.tag.
-
Type:
submodule -
Default:
1{2digest = "sha256:2c05137a69a8f1cd51ce238b81f70d774396ff3a92494351857ced142d03253d";3pullPolicy = "IfNotPresent";4repository = "docker.io/goharbor/harbor-portal";5tag = config.core.image.tag;6}
portal.image.digest
Section titled “portal.image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
portal.image.note
Section titled “portal.image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
portal.image.promotedBy
Section titled “portal.image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
portal.image.pullPolicy
Section titled “portal.image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
portal.image.repository
Section titled “portal.image.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/goharbor/harbor-portal"
portal.image.resolvedAt
Section titled “portal.image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
portal.image.sourceRev
Section titled “portal.image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
portal.image.tag
Section titled “portal.image.tag”Image tag. What was asked for.
- Type:
string - Default:
config.core.image.tag
portal.replicas
Section titled “portal.replicas”Number of portal pods. The portal serves a static web UI.
- Type:
positive integer, meaning >0 - Default: 1 at availability
none, otherwise 2
portal.resources
Section titled “portal.resources”Container resource requests and limits. Each field keeps its default until set, and null removes a default.
-
Type:
submodule -
Default:
1{2limits = {3cpu = "500m";4memory = "128Mi";5};6requests = {7cpu = "10m";8memory = "32Mi";9};10}
portal.resources.claims
Section titled “portal.resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
portal.resources.claims.*.name
Section titled “portal.resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
portal.resources.claims.*.request
Section titled “portal.resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
portal.resources.limits
Section titled “portal.resources.limits”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
portal.resources.limits.cpu
Section titled “portal.resources.limits.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"500m"
portal.resources.limits.ephemeral-storage
Section titled “portal.resources.limits.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
portal.resources.limits.memory
Section titled “portal.resources.limits.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"128Mi"
portal.resources.requests
Section titled “portal.resources.requests”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
portal.resources.requests.cpu
Section titled “portal.resources.requests.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"10m"
portal.resources.requests.ephemeral-storage
Section titled “portal.resources.requests.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
portal.resources.requests.memory
Section titled “portal.resources.requests.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"32Mi"
registry.image
Section titled “registry.image”Image of registry-photon. Its tag follows core.image.tag.
-
Type:
submodule -
Default:
1{2digest = "sha256:6f9670a13d7f0ba2f896c571543343c1fcd9a36f585e30fe0f8c4edc9a0f8aa9";3pullPolicy = "IfNotPresent";4repository = "docker.io/goharbor/registry-photon";5tag = config.core.image.tag;6}
registry.image.digest
Section titled “registry.image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
registry.image.note
Section titled “registry.image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
registry.image.promotedBy
Section titled “registry.image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
registry.image.pullPolicy
Section titled “registry.image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
registry.image.repository
Section titled “registry.image.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/goharbor/registry-photon"
registry.image.resolvedAt
Section titled “registry.image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
registry.image.sourceRev
Section titled “registry.image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
registry.image.tag
Section titled “registry.image.tag”Image tag. What was asked for.
- Type:
string - Default:
config.core.image.tag
registry.resources
Section titled “registry.resources”Container resource requests and limits. Each field keeps its default until set, and null removes a default.
-
Type:
submodule -
Default:
1{2limits = {3cpu = "1";4memory = "512Mi";5};6requests = {7cpu = "20m";8memory = "64Mi";9};10}
registry.resources.claims
Section titled “registry.resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
registry.resources.claims.*.name
Section titled “registry.resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
registry.resources.claims.*.request
Section titled “registry.resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
registry.resources.limits
Section titled “registry.resources.limits”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
registry.resources.limits.cpu
Section titled “registry.resources.limits.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"1"
registry.resources.limits.ephemeral-storage
Section titled “registry.resources.limits.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
registry.resources.limits.memory
Section titled “registry.resources.limits.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"512Mi"
registry.resources.requests
Section titled “registry.resources.requests”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
registry.resources.requests.cpu
Section titled “registry.resources.requests.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"20m"
registry.resources.requests.ephemeral-storage
Section titled “registry.resources.requests.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
registry.resources.requests.memory
Section titled “registry.resources.requests.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"64Mi"
registry.settings
Section titled “registry.settings”Distribution config.yml keys, merged over the package’s own. A
null removes a key the package sets. storage accepts only
cache, maintenance, delete, redirect, and tag: blobs stay
on the storage claim with the filesystem driver. The package locks
storage.filesystem, redis.addr, redis.db,
redis.sentinelMasterSet, redis.password, http.addr,
http.debug, and auth; setting one fails evaluation.
-
Type:
attribute set of anything -
Default:
{ } -
Example:
1{2log = {3level = "debug";4};5storage = {6maintenance = {7uploadpurging = {8age = "72h";9};10};11};12}
registryctl.image
Section titled “registryctl.image”Image of harbor-registryctl. Its tag follows core.image.tag.
-
Type:
submodule -
Default:
1{2digest = "sha256:e3c64071cf72f47566f27a16d8a57c6a71ec710e72ba9190168d24103eb57925";3pullPolicy = "IfNotPresent";4repository = "docker.io/goharbor/harbor-registryctl";5tag = config.core.image.tag;6}
registryctl.image.digest
Section titled “registryctl.image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
registryctl.image.note
Section titled “registryctl.image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
registryctl.image.promotedBy
Section titled “registryctl.image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
registryctl.image.pullPolicy
Section titled “registryctl.image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
registryctl.image.repository
Section titled “registryctl.image.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/goharbor/harbor-registryctl"
registryctl.image.resolvedAt
Section titled “registryctl.image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
registryctl.image.sourceRev
Section titled “registryctl.image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
registryctl.image.tag
Section titled “registryctl.image.tag”Image tag. What was asked for.
- Type:
string - Default:
config.core.image.tag
registryctl.resources
Section titled “registryctl.resources”Container resource requests and limits. Each field keeps its default until set, and null removes a default.
-
Type:
submodule -
Default:
1{2limits = {3cpu = "500m";4memory = "128Mi";5};6requests = {7cpu = "10m";8memory = "32Mi";9};10}
registryctl.resources.claims
Section titled “registryctl.resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
registryctl.resources.claims.*.name
Section titled “registryctl.resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
registryctl.resources.claims.*.request
Section titled “registryctl.resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
registryctl.resources.limits
Section titled “registryctl.resources.limits”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
registryctl.resources.limits.cpu
Section titled “registryctl.resources.limits.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"500m"
registryctl.resources.limits.ephemeral-storage
Section titled “registryctl.resources.limits.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
registryctl.resources.limits.memory
Section titled “registryctl.resources.limits.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"128Mi"
registryctl.resources.requests
Section titled “registryctl.resources.requests”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
registryctl.resources.requests.cpu
Section titled “registryctl.resources.requests.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"10m"
registryctl.resources.requests.ephemeral-storage
Section titled “registryctl.resources.requests.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
registryctl.resources.requests.memory
Section titled “registryctl.resources.requests.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"32Mi"