本页面为机器翻译。阅读英文原文。

Recipe

postgres-cloudnative-pg

PostgreSQL realized as a Cluster custom resource the CloudNativePG control plane reconciles, rather than a directly synthesized StatefulSet — the controller-driven realization of the same PostgreSQL component, selectable in the Manifest alongside the synthesis recipe and the reference recipe. The recipe emits one Cluster conformant to the postgresql.cnpg.io/v1 API; the controller turns it into a running server, the Services that reach it and the Secret holding the database owner's password, and creates the initial database and its owning role from the developer's own values. provides.host is the read-write Service, so a consumer wires to it exactly as it would to the synthesized realization. The Cluster, and the ConfigMap carrying any bootstrap scripts, are written into the namespace the Release, or else the Aggregate, names through the aggrega.ai/namespace annotation, where one is set. Credential custody is the operator's choice: infra.credentials generated leaves the owner's password with the controller, and supplied points it at an existing Secret named in infra.credentials_secret. The CloudNativePG control plane is a runtime prerequisite: the build halts unless the operator affirms it is installed (infra.control_plane_present), so no custom resource is emitted into a cluster that cannot reconcile it. Reach for this realization where the control plane is already in place; reach for the synthesis recipe where it is not, and for the reference recipe where the server already exists outside the deployment. A core/backup attachment bound to helm/backup-cloudnative-pg is realized through the Barman Cloud plugin.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:a50a07029dd0472d4b616f0a2f5afb88c0127fbc1178a9bc709ebe52be7e8486
发布时间
2026-11-10T10:26:25Z
签名身份
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

签名

  • 官方application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:fef15b8e5dc310d5230a64beef0e0603c16d81d17a48e78b6a5aae30ac835aae

此版本的引用

oci://hub.aggrega.ai/recipe/helm/postgres-cloudnative-pg:1.0.0
目标
—
实现
core/datastore/postgres:1.0.0

提供

此配方为使用方接入的确定性指针模板。

名称模板
host{{ .context.instance_id }}-rw
port{{ .locals.server_port }}
user{{ .values.user }}
database{{ .values.database }}
protocolpostgres
metrics_pod_selectorcnpg.io/cluster={{ .context.instance_id }},cnpg.io/podRole=instance
metrics_pod_portmetrics
metrics_path/metrics

Workload

未声明工作负载模板。

局部变量

名称模板
server_port5432
barman_cloud_pluginbarman-cloud.cloudnative-pg.io

值映射

未声明值映射。

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

被使用

目录中没有任何内容依赖此实体。

Recipe 概念参考 →

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私