goharbor.io / v1beta1 / Core
- string
.apiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
- string
.kind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- object
.metadata
- object
.spec
CoreSpec defines the desired state of Core.
- string required
.spec .adminInitialPasswordRef
- string
.spec .authMode
- array
.spec .certificateRefs
- object required
.spec .components
- object
.spec .components .chartRepository
- boolean
.spec .components .chartRepository .absoluteURL
- string
.spec .components .chartRepository .cacheDriver
- string required
.spec .components .chartRepository .url
- object required
.spec .components .jobService
- string required
.spec .components .jobService .secretRef
- string required
.spec .components .jobService .url
- object
.spec .components .notaryServer
- string required
.spec .components .notaryServer .url
- object required
.spec .components .portal
- string required
.spec .components .portal .url
- object required
.spec .components .registry
- string required
.spec .components .registry .controllerURL
- object required
.spec .components .registry .credentials
- string required
.spec .components .registry .credentials .passwordRef
- string required
.spec .components .registry .credentials .username
- object
.spec .components .registry .redis
- string
.spec .components .registry .redis .certificateRef
Secret containing the client certificate to authenticate with.
- integer
.spec .components .registry .redis .database
The database number.
- string required
.spec .components .registry .redis .host
Server hostname.
- string
.spec .components .registry .redis .passwordRef
Secret containing the password to use when connecting to the server.
- integer
.spec .components .registry .redis .port
Server port.
- string
.spec .components .registry .redis .sentinelMasterSet
for Sentinel MasterSet.
- string
.spec .components .registry .storageProviderName
- boolean
.spec .components .registry .sync
- string required
.spec .components .registry .url
- object
.spec .components .tls
- string
.spec .components .tls .certificateRef
- object required
.spec .components .tokenService
- string required
.spec .components .tokenService .certificateRef
- string required
.spec .components .tokenService .url
- object
.spec .components .trivy
- string required
.spec .components .trivy .adapterURL
- string required
.spec .components .trivy .url
- string
.spec .configExpiration
- string required
.spec .csrfKeyRef
- object required
.spec .database
- string
.spec .database .database
The database name. Defaults to be the same as the user name. In certain contexts, the value is checked for extended formats.
- string required
.spec .database .encryptionKeyRef
- array
.spec .database .hosts
- string required
.spec .database .hosts[] .host
Name of host to connect to. If a host name begins with a slash, it specifies Unix-domain communication rather than TCP/IP communication; the value is the name of the directory in which the socket file is stored.
- integer
.spec .database .hosts[] .port
Port number to connect to at the server host, or socket file name extension for Unix-domain connections. Zero, specifies the default port number established when PostgreSQL was built.
- integer
.spec .database .maxIdleConnections
- integer
.spec .database .maxOpenConnections
- object
.spec .database .parameters
libpq parameters.
- string
.spec .database .passwordRef
Secret containing the password to be used if the server demands password authentication.
- string
.spec .database .username
PostgreSQL user name to connect as. Defaults to be the same as the operating system name of the user running the application.
- string required
.spec .externalEndpoint
- object
.spec .http
- boolean
.spec .http .enableGzip
- string
.spec .image
Image name for the component.
- string
.spec .imagePullPolicy
Image pull policy. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images
- array
.spec .imagePullSecrets
- string
.spec .imagePullSecrets[] .name
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
- object
.spec .log
- string
.spec .log .level
CoreLogLevel is the log level for Core.
- object
.spec .metrics
- boolean
.spec .metrics .enabled
- string
.spec .metrics .path
The path of the metrics.
- integer
.spec .metrics .port
The port of the metrics.
- object
.spec .network
- array
.spec .network .ipFamilies
- object
.spec .nodeSelector
NodeSelector is a selector which must be true for the component to fit on a node. Selector which must match a node’s labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
- object
.spec .proxy
- string
.spec .proxy .httpProxy
- string
.spec .proxy .httpsProxy
- array
.spec .proxy .noProxy
- string
.spec .publicCertificateRef
- object required
.spec .redis
- string
.spec .redis .certificateRef
Secret containing the client certificate to authenticate with.
- integer
.spec .redis .database
The database number.
- string required
.spec .redis .host
Server hostname.
- string
.spec .redis .idleTimeout
IdleTimeoutSecond closes connections after remaining idle for this duration. If the value is zero, then idle connections are not closed. Applications should set the timeout to a value less than the server’s timeout.
- string
.spec .redis .passwordRef
Secret containing the password to use when connecting to the server.
- integer
.spec .redis .port
Server port.
- string
.spec .redis .sentinelMasterSet
for Sentinel MasterSet.
- integer
.spec .replicas
Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
- object
.spec .resources
Compute Resources required by this component. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- array
.spec .resources .claims
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable.
- string required
.spec .resources .claims[] .name
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
- object
.spec .resources .limits
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- object
.spec .resources .requests
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
- string required
.spec .secretRef
- string
.spec .serviceAccountName
ServiceAccountName is the name of the ServiceAccount to use to run this component. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
- object
.spec .templateAnnotations
Custom annotations to be added into the pods
- object
.spec .templateLabels
Custom Labels to be added into the pods
- array
.spec .tolerations
If specified, the pod’s tolerations.
- string
.spec .tolerations[] .effect
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
- string
.spec .tolerations[] .key
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys.
- string
.spec .tolerations[] .operator
Operator represents a key’s relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category.
- integer
.spec .tolerations[] .tolerationSeconds
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
- string
.spec .tolerations[] .value
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
- object
.spec .trace
- object
.spec .trace .attributes
A key value dict contains user defined attributes used to initialize trace provider.
- boolean
.spec .trace .enabled
Enable tracing or not.
- object
.spec .trace .jaeger
- object
.spec .trace .jaeger .agent
- string
.spec .trace .jaeger .agent .host
The host of the jaeger agent.
- integer
.spec .trace .jaeger .agent .port
The port of the jaeger agent.
- object
.spec .trace .jaeger .collector
- string required
.spec .trace .jaeger .collector .endpoint
The endpoint of the jaeger collector.
- string
.spec .trace .jaeger .collector .passwordRef
The password secret reference name of the jaeger collector.
- string
.spec .trace .jaeger .collector .username
The username of the jaeger collector.
- string required
.spec .trace .jaeger .mode
The jaeger mode: ‘collector’ or ‘agent’.
- string
.spec .trace .namespace
Namespace used to differentiate different harbor services.
- object
.spec .trace .otel
- boolean
.spec .trace .otel .compression
Whether enable compression or not for otel.
- string required
.spec .trace .otel .endpoint
The endpoint of otel.
- boolean
.spec .trace .otel .insecure
Whether establish insecure connection or not for otel.
- string
.spec .trace .otel .timeout
The timeout of otel.
- string required
.spec .trace .otel .urlPath
The URL path of otel.
- string required
.spec .trace .provider
The tracing provider: ‘jaeger’ or ‘otel’.
- integer
.spec .trace .sampleRate
Set
sampleRate
to 1 if you wanna sampling 100% of trace data; set 0.5 if you wanna sampling 50% of trace data, and so forth. - object
.status
ComponentStatus represents the current status of the resource. https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
- array required
.status .conditions
Conditions list of extracted conditions from Resource
- string
.status .conditions[] .message
Message Human readable reason string
- string
.status .conditions[] .reason
Reason one work CamelCase reason
- string required
.status .conditions[] .status
Status String that describes the condition status
- string required
.status .conditions[] .type
Type condition type
- integer
.status .observedGeneration
- object
.status .operator
ControllerStatus represents the current status of the operator.
- string
.status .operator .controllerGitCommit
- string
.status .operator .controllerName
- string
.status .operator .controllerVersion
- integer
.status .replicas
Current number of pods.