## Spec schema

ImageCatalogSpec defines the desired state of ImageCatalog.

```yaml
controlPlaneAgents:
- imageDigests:
    backupinit: string
    dbinit: string
    logrotate: string
    monitoring-agent: string
  version: string
dataPlane:
- imageDigests:
    database: string
  osType: string
  version: string
```

| Field Type Required or optional | Description |
|---|---|
| `controlPlaneAgents` ||
| `list (object)` *Required* | ControlPlaneAgentsRelease defines the image digests for a particular CPA version. |
| `controlPlaneAgents[].imageDigests` ||
| `object` *Required* | ControlPlaneAgentsDigestSet contains the SHA digests for CPA container images. |
| `controlPlaneAgents[].imageDigests.backupinit` ||
| `string` *Optional* | SHA-256 image digest for a specific version's backupinit component. |
| `controlPlaneAgents[].imageDigests.dbinit` ||
| `string` *Optional* | SHA-256 image digest for a specific version's dbinit component. |
| `controlPlaneAgents[].imageDigests.logrotate` ||
| `string` *Optional* | SHA-256 image digest for a specific version's logrotate component. |
| `controlPlaneAgents[].imageDigests.monitoring-agent` ||
| `string` *Optional* | SHA-256 image digest for a specific version's monitoring-agent component. |
| `controlPlaneAgents[].version` ||
| `string` *Required* | The control plane agents version for the set of image digests. For example, "1.7.0". |
| `dataPlane` ||
| `list (object)` *Required* | DataPlaneRelease defines the image digests for a particular database version. |
| `dataPlane[].imageDigests` ||
| `object` *Required* | DataPlaneDigestSet contains the SHA digests for data plane container images. |
| `dataPlane[].imageDigests.database` ||
| `string` *Optional* | SHA-256 image digest for a specific version's database component. |
| `dataPlane[].osType` ||
| `string` *Optional* | The base operating system type for the database image. Accepted values are \`Debian\` and \`UBI9\`. |
| `dataPlane[].version` ||
| `string` *Required* | The database version for the set of image digests. For example, "16.11.0". |

## Status schema

ImageCatalogStatus defines the observed state of ImageCatalog.

```yaml
conditions:
- lastTransitionTime: string
  message: string
  observedGeneration: integer
  reason: string
  status: string
  type: string
criticalIncidents:
- code: string
  createTime: string
  message: string
  messageTemplateParams: object
  resource:
    component: string
    location:
      cluster: string
      group: string
      kind: string
      name: string
      namespace: string
      version: string
  stackTrace:
  - component: string
    message: string
  transientUntil: string
observedGeneration: integer
reconciled: boolean
```

| Field Type Required or optional | Description |
|---|---|
| `conditions` ||
| `list (object)` *Optional* | Conditions represents the latest available observations of the Entity's current state. |
| `conditions[].lastTransitionTime` ||
| `string` *Required* | lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| `conditions[].message` ||
| `string` *Required* | message is a human readable message indicating details about the transition. This may be an empty string. |
| `conditions[].observedGeneration` ||
| `integer` *Optional* | observedGeneration represents the .metadata.generation that the condition was set based upon. For example, if .metadata.generation is 12 but the .status.conditions\[x\].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. |
| `conditions[].reason` ||
| `string` *Required* | reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. |
| `conditions[].status` ||
| `string` *Required* | Status of the condition, one of True, False, Unknown. |
| `conditions[].type` ||
| `string` *Required* | Type of condition in CamelCase or in foo.example.com/CamelCase. Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt). |
| `criticalIncidents` ||
| `list (object)` *Optional* | CriticalIncidents is a flat list of all active Critical Incidents. |
| `criticalIncidents[].code` ||
| `string` *Required* | The error code of this particular error. Error codes are DBSE+numeric strings, like "DBSE1012". |
| `criticalIncidents[].createTime` ||
| `string` *Required* | The timestamp when this Incident was created at the origin. |
| `criticalIncidents[].message` ||
| `string` *Optional* | Message describes the incident/error that occurred. |
| `criticalIncidents[].messageTemplateParams` ||
| `object` *Optional* | Contains key-value pairs necessary for generating a user-friendly data-driven version of Message in the user interface. |
| `criticalIncidents[].resource` ||
| `object` *Required* | Contains information about the Database Service component that reported the incident as well as about the K8s resource. |
| `criticalIncidents[].resource.component` ||
| `string` *Required* | An internal identifier of the Database Service subsystem that reported the incident. |
| `criticalIncidents[].resource.location` ||
| `object` *Optional* | Location. |
| `criticalIncidents[].resource.location.cluster` ||
| `string` *Optional* | The name of the cluster of the affected Kubernetes resource. |
| `criticalIncidents[].resource.location.group` ||
| `string` *Optional* | The Group name of the Kubernetes resource. |
| `criticalIncidents[].resource.location.kind` ||
| `string` *Optional* | The Kind of the Kubernetes resource. |
| `criticalIncidents[].resource.location.name` ||
| `string` *Optional* | The name of the affected Kubernetes resource. |
| `criticalIncidents[].resource.location.namespace` ||
| `string` *Optional* | The namespace of the affected Kubernetes resource. |
| `criticalIncidents[].resource.location.version` ||
| `string` *Optional* | The Version of the Kubernetes resource. |
| `criticalIncidents[].stackTrace` ||
| `list (object)` *Optional* | An unstructured list of messages from the stack trace. |
| `criticalIncidents[].stackTrace[].component` ||
| `string` *Optional* | The name of a Database Service component that logged the message. |
| `criticalIncidents[].stackTrace[].message` ||
| `string` *Optional* | Logged message. |
| `criticalIncidents[].transientUntil` ||
| `string` *Optional* | If present indicates that the issue should be considered transient until the specified time. |
| `observedGeneration` ||
| `integer` *Optional* | Internal: The generation observed by the controller. |
| `reconciled` ||
| `boolean` *Optional* | Internal: Whether the resource was reconciled by the controller. |