diff --git a/Chart.yaml b/Chart.yaml index dec49b4..a51e8ee 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 name: pgdog -version: v0.28 +version: v0.29 appVersion: "0.1.21" diff --git a/README.md b/README.md index 6e424fb..8d29337 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,11 @@ openMetricsPort: 9090 ### Docker Image -Pin to a specific version for production deployments: +By default, the chart uses the `appVersion` from `Chart.yaml` as the image +tag. This ensures the chart deploys a known-compatible version of PgDog +without requiring explicit configuration. + +To override with a specific version: ```yaml image: @@ -56,6 +60,17 @@ image: pullPolicy: IfNotPresent ``` +To pin to an exact build, use a digest instead of a tag: + +```yaml +image: + repository: ghcr.io/pgdogdev/pgdog + digest: "sha256:abc123def456..." # Immutable reference + pullPolicy: IfNotPresent +``` + +When `digest` is specified, it takes precedence over `tag`. + **Legacy format** (still supported for backward compatibility): ```yaml