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
- 署名 ID
- 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 }} |
| protocol | postgres |
| metrics_pod_selector | cnpg.io/cluster={{ .context.instance_id }},cnpg.io/podRole=instance |
| metrics_pod_port | metrics |
| metrics_path | /metrics |
Workload
ワークロードテンプレートは宣言されていません。
ローカル変数
| 名前 | テンプレート |
|---|---|
| server_port | 5432 |
| barman_cloud_plugin | barman-cloud.cloudnative-pg.io |
値のマッピング
値のマッピングは宣言されていません。
関係
他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。
使用先
- 実装実装コントラクト互換
core/datastore/postgres:1.0.0
必須の出力はすべて満たされており、提供されるすべての出力がコントラクトに記載されています。
使用元
カタログ内にこのエンティティに依存しているものはありません。