Skip to content

Add support for ImageVolume extensions#851

Open
dvarrazzo wants to merge 1 commit intocloudnative-pg:mainfrom
dvarrazzo:fix/cluster-extensions
Open

Add support for ImageVolume extensions#851
dvarrazzo wants to merge 1 commit intocloudnative-pg:mainfrom
dvarrazzo:fix/cluster-extensions

Conversation

@dvarrazzo
Copy link
Copy Markdown

The Cluster resource defines the .spec.postgresql.extensions list of objects to import an extension as an image volume.

However the chart doesn't recognise this setting and throws an error if set.

Add support for the setting, which can be used for example as:

cluster:
  postgresql:
    extensions:
      - name: pg-oidc-validator
        image:
          reference: registry.codicelieve.com/pg-oidc-validator:v0.2-pg18-trixie
          pullPolicy: IfNotPresent

@dvarrazzo dvarrazzo requested a review from itay-grudev as a code owner April 13, 2026 12:45
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. chart( cluster ) Related to the cluster chart labels Apr 13, 2026
@dvarrazzo dvarrazzo force-pushed the fix/cluster-extensions branch from b237d25 to 223930f Compare April 13, 2026 12:46
The Cluster resource defines the .spec.postgresql.extensions list of
objects to import an extension as an image volume.

https://cloudnative-pg.io/docs/1.29/imagevolume_extensions

However the chart doesn't recognise this setting and throws an error if set.

Add support for the setting, which can be used for example as:

```yaml
cluster:
  postgresql:
    extensions:
      - name: pg-oidc-validator
        image:
          reference: registry.codicelieve.com/pg-oidc-validator:v0.2-pg18-trixie
          pullPolicy: IfNotPresent
```

Signed-off-by: Daniele Varrazzo <daniele.varrazzo@gmail.com>
@dvarrazzo dvarrazzo force-pushed the fix/cluster-extensions branch from 223930f to 703d84e Compare April 13, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart( cluster ) Related to the cluster chart size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant