Skip to content

Commit ac96151

Browse files
Carlos Rodríguez HernándezBitnami Containers
andauthored
[bitnami/postgresql] Detect non-standard images (#30936)
* [bitnami/postgresql] Detect non-standard images Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> * Modify NOTES.txt Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
1 parent fcea029 commit ac96151

File tree

6 files changed

+38
-23
lines changed

6 files changed

+38
-23
lines changed

bitnami/postgresql/CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Changelog
22

3-
## 16.2.5 (2024-12-03)
3+
## 16.3.0 (2024-12-10)
44

5-
* [bitnami/postgresql] Release 16.2.5 ([#30733](https://github.com/bitnami/charts/pull/30733))
5+
* [bitnami/postgresql] Detect non-standard images ([#30936](https://github.com/bitnami/charts/pull/30936))
6+
7+
## <small>16.2.5 (2024-12-03)</small>
8+
9+
* [bitnami/postgresql] Release 16.2.5 (#30733) ([34606c1](https://github.com/bitnami/charts/commit/34606c10dedd06431182d0563fb61703e691ddf1)), closes [#30733](https://github.com/bitnami/charts/issues/30733)
610

711
## <small>16.2.4 (2024-12-03)</small>
812

bitnami/postgresql/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: common
33
repository: oci://registry-1.docker.io/bitnamicharts
4-
version: 2.27.2
5-
digest: sha256:6fd86cc5a4b5094abca1f23c8ec064e75e51eceaded94a5e20977274b2abb576
6-
generated: "2024-12-03T14:55:08.259631517Z"
4+
version: 2.28.0
5+
digest: sha256:5b30f0fa07bb89b01c55fd6258c8ce22a611b13623d4ad83e8fdd1d4490adc74
6+
generated: "2024-12-10T17:23:28.154759+01:00"

bitnami/postgresql/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ maintainers:
3535
name: postgresql
3636
sources:
3737
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql
38-
version: 16.2.5
38+
version: 16.3.0

bitnami/postgresql/README.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -342,22 +342,23 @@ If you already have data in it, you will fail to sync to standby nodes for all c
342342

343343
### Global parameters
344344

345-
| Name | Description | Value |
346-
| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
347-
| `global.imageRegistry` | Global Docker image registry | `""` |
348-
| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` |
349-
| `global.defaultStorageClass` | Global default StorageClass for Persistent Volume(s) | `""` |
350-
| `global.storageClass` | DEPRECATED: use global.defaultStorageClass instead | `""` |
351-
| `global.postgresql.auth.postgresPassword` | Password for the "postgres" admin user (overrides `auth.postgresPassword`) | `""` |
352-
| `global.postgresql.auth.username` | Name for a custom user to create (overrides `auth.username`) | `""` |
353-
| `global.postgresql.auth.password` | Password for the custom user to create (overrides `auth.password`) | `""` |
354-
| `global.postgresql.auth.database` | Name for a custom database to create (overrides `auth.database`) | `""` |
355-
| `global.postgresql.auth.existingSecret` | Name of existing secret to use for PostgreSQL credentials (overrides `auth.existingSecret`). | `""` |
356-
| `global.postgresql.auth.secretKeys.adminPasswordKey` | Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.adminPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set. | `""` |
357-
| `global.postgresql.auth.secretKeys.userPasswordKey` | Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.userPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set. | `""` |
358-
| `global.postgresql.auth.secretKeys.replicationPasswordKey` | Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.replicationPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set. | `""` |
359-
| `global.postgresql.service.ports.postgresql` | PostgreSQL service port (overrides `service.ports.postgresql`) | `""` |
360-
| `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` |
345+
| Name | Description | Value |
346+
| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
347+
| `global.imageRegistry` | Global Docker image registry | `""` |
348+
| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` |
349+
| `global.defaultStorageClass` | Global default StorageClass for Persistent Volume(s) | `""` |
350+
| `global.storageClass` | DEPRECATED: use global.defaultStorageClass instead | `""` |
351+
| `global.security.allowInsecureImages` | Allows skipping image verification | `false` |
352+
| `global.postgresql.auth.postgresPassword` | Password for the "postgres" admin user (overrides `auth.postgresPassword`) | `""` |
353+
| `global.postgresql.auth.username` | Name for a custom user to create (overrides `auth.username`) | `""` |
354+
| `global.postgresql.auth.password` | Password for the custom user to create (overrides `auth.password`) | `""` |
355+
| `global.postgresql.auth.database` | Name for a custom database to create (overrides `auth.database`) | `""` |
356+
| `global.postgresql.auth.existingSecret` | Name of existing secret to use for PostgreSQL credentials (overrides `auth.existingSecret`). | `""` |
357+
| `global.postgresql.auth.secretKeys.adminPasswordKey` | Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.adminPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set. | `""` |
358+
| `global.postgresql.auth.secretKeys.userPasswordKey` | Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.userPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set. | `""` |
359+
| `global.postgresql.auth.secretKeys.replicationPasswordKey` | Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.replicationPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set. | `""` |
360+
| `global.postgresql.service.ports.postgresql` | PostgreSQL service port (overrides `service.ports.postgresql`) | `""` |
361+
| `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` |
361362

362363
### Common parameters
363364

@@ -906,6 +907,10 @@ Find more information about how to deal with common errors related to Bitnami's
906907

907908
## Upgrading
908909

910+
### To 16.3.0
911+
912+
This version introduces image verification for security purposes. To disable it, set `global.security.allowInsecureImages` to `true`. More details at [GitHub issue](https://github.com/bitnami/charts/issues/30850).
913+
909914
### To 15.0.0
910915

911916
This major bump changes the following security defaults:

bitnami/postgresql/templates/NOTES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,5 @@ WARNING: The configured password will be ignored on new installation in case whe
117117
{{- include "common.warnings.rollingTag" .Values.image -}}
118118
{{- include "common.warnings.rollingTag" .Values.volumePermissions.image }}
119119
{{- include "common.warnings.resources" (dict "sections" (list "metrics" "primary" "readReplicas" "volumePermissions") "context" $) }}
120-
{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image .Values.volumePermissions.image .Values.metrics.image) "context" $) }}
120+
{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image .Values.volumePermissions.image .Values.metrics.image) "context" $) }}
121+
{{- include "common.errors.insecureImages" (dict "images" (list .Values.image .Values.volumePermissions.image .Values.metrics.image) "context" $) }}

bitnami/postgresql/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ global:
1919
##
2020
defaultStorageClass: ""
2121
storageClass: ""
22+
## Security parameters
23+
##
24+
security:
25+
## @param global.security.allowInsecureImages Allows skipping image verification
26+
allowInsecureImages: false
2227
postgresql:
2328
## @param global.postgresql.auth.postgresPassword Password for the "postgres" admin user (overrides `auth.postgresPassword`)
2429
## @param global.postgresql.auth.username Name for a custom user to create (overrides `auth.username`)

0 commit comments

Comments
 (0)