goharbor.io / v1alpha3 / Portal
- 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
PortalSpec defines the desired state of Portal.
- 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?
- integer
.spec .maxConnections
Sets the maximum number of simultaneous connections that can be opened.
- 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/
- 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
.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
- object
.spec .tls
- string
.spec .tls .certificateRef
- 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
.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.