diff --git a/charts/stable/postgresql/CHANGELOG.md b/charts/stable/postgresql/CHANGELOG.md
index 0bb88d481e5..63313512e23 100644
--- a/charts/stable/postgresql/CHANGELOG.md
+++ b/charts/stable/postgresql/CHANGELOG.md
@@ -1,6 +1,25 @@
# Changelog
+
+### [postgresql-2.1.0](https://github.com/truecharts/apps/compare/postgresql-2.0.0...postgresql-2.1.0) (2021-09-11)
+
+#### Chore
+
+* Use bitnami instead of stock postgresql container ([#960](https://github.com/truecharts/apps/issues/960))
+* update non-major
+
+#### Feat
+
+* pin all container references to digests ([#963](https://github.com/truecharts/apps/issues/963))
+
+#### Fix
+
+* make sure podSecurityContext is included in both SCALE and Helm installs ([#956](https://github.com/truecharts/apps/issues/956))
+* move runAsNonRoot to container securityContext to allow root sidecarts ([#954](https://github.com/truecharts/apps/issues/954))
+
+
+
### [postgresql-2.0.0](https://github.com/truecharts/apps/compare/postgresql-1.6.6...postgresql-2.0.0) (2021-09-09)
diff --git a/charts/stable/postgresql/Chart.yaml b/charts/stable/postgresql/Chart.yaml
index d03b0f4bb34..9295c424c62 100644
--- a/charts/stable/postgresql/Chart.yaml
+++ b/charts/stable/postgresql/Chart.yaml
@@ -1,5 +1,5 @@
apiVersion: v2
-appVersion: "13.4"
+appVersion: 13.4.0@sha
dependencies:
- name: common
repository: https://truecharts.org/
diff --git a/charts/stable/postgresql/README.md b/charts/stable/postgresql/README.md
index ff3c1088d00..0cf471c5f95 100644
--- a/charts/stable/postgresql/README.md
+++ b/charts/stable/postgresql/README.md
@@ -17,7 +17,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
-| https://truecharts.org/ | common | 7.0.0 |
+| https://truecharts.org/ | common | 7.0.2 |
## Installing the Chart
diff --git a/charts/stable/postgresql/SCALE/CHANGELOG.md b/charts/stable/postgresql/SCALE/CHANGELOG.md
index 3ba56bf30f4..1d3b2c6b441 100644
--- a/charts/stable/postgresql/SCALE/CHANGELOG.md
+++ b/charts/stable/postgresql/SCALE/CHANGELOG.md
@@ -1,7 +1,17 @@
-
-### [postgresql-2.0.0](https://github.com/truecharts/apps/compare/postgresql-1.6.6...postgresql-2.0.0) (2021-09-09)
+
+### [postgresql-2.1.0](https://github.com/truecharts/apps/compare/postgresql-2.0.0...postgresql-2.1.0) (2021-09-11)
#### Chore
-* fix postgresql version
+* Use bitnami instead of stock postgresql container ([#960](https://github.com/truecharts/apps/issues/960))
+* update non-major
+
+#### Feat
+
+* pin all container references to digests ([#963](https://github.com/truecharts/apps/issues/963))
+
+#### Fix
+
+* make sure podSecurityContext is included in both SCALE and Helm installs ([#956](https://github.com/truecharts/apps/issues/956))
+* move runAsNonRoot to container securityContext to allow root sidecarts ([#954](https://github.com/truecharts/apps/issues/954))
diff --git a/charts/stable/postgresql/helm-values.md b/charts/stable/postgresql/helm-values.md
index c4ee872e772..2ea2f1e49d2 100644
--- a/charts/stable/postgresql/helm-values.md
+++ b/charts/stable/postgresql/helm-values.md
@@ -18,23 +18,49 @@ You will, however, be able to use all values referenced in the common chart here
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.name | string | `"{{ ( tpl .Values.existingSecret $ ) | default ( include \"common.names.fullname\" . ) }}"` | |
| existingSecret | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
-| image.repository | string | `"postgres"` | |
-| image.tag | string | `"13.4"` | |
+| image.repository | string | `"bitnami/postgresql"` | |
+| image.tag | string | `"13.4.0@sha256:7fff0f7e827cd8e1daa3adbf0ca3f19e21006023c0f6d1c2d835718961516a87"` | |
+| initContainers.migrate-db.command[0] | string | `"/bin/sh"` | |
+| initContainers.migrate-db.command[1] | string | `"-cx"` | |
+| initContainers.migrate-db.command[2] | string | `"echo 'trying to migrate old db to new location...'\nmkdir -p /bitnami/postgresql/data\nmv -f /bitnami/postgresql/old/* /bitnami/postgresql/data/ || true\nchown -R {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/postgresql/data\nchmod 775 /bitnami/postgresql/data\n"` | |
+| initContainers.migrate-db.image | string | `"{{ .Values.alpineImage.repository}}:{{ .Values.alpineImage.tag }}"` | |
+| initContainers.migrate-db.imagePullPolicy | string | `"IfNotPresent"` | |
+| initContainers.migrate-db.securityContext.allowPrivilegeEscalation | bool | `true` | |
+| initContainers.migrate-db.securityContext.privileged | bool | `true` | |
+| initContainers.migrate-db.securityContext.runAsNonRoot | bool | `false` | |
+| initContainers.migrate-db.securityContext.runAsUser | int | `0` | |
+| initContainers.migrate-db.volumeMounts[0].mountPath | string | `"/bitnami/postgresql/old"` | |
+| initContainers.migrate-db.volumeMounts[0].name | string | `"db"` | |
+| initContainers.migrate-db.volumeMounts[1].mountPath | string | `"/bitnami/postgresql"` | |
+| initContainers.migrate-db.volumeMounts[1].name | string | `"data"` | |
+| persistence.data.accessMode | string | `"ReadWriteOnce"` | |
+| persistence.data.enabled | bool | `true` | |
+| persistence.data.mountPath | string | `"/bitnami/postgresql"` | |
+| persistence.data.size | string | `"999Gi"` | |
+| persistence.data.type | string | `"pvc"` | |
| persistence.db.accessMode | string | `"ReadWriteOnce"` | |
| persistence.db.enabled | bool | `true` | |
-| persistence.db.mountPath | string | `"/var/lib/postgresql/data"` | |
-| persistence.db.size | string | `"100Gi"` | |
+| persistence.db.mountPath | string | `"/bitnami/postgresql/old"` | |
+| persistence.db.size | string | `"999Gi"` | |
| persistence.db.type | string | `"pvc"` | |
| persistence.dbbackups.accessMode | string | `"ReadWriteOnce"` | |
| persistence.dbbackups.enabled | bool | `true` | |
| persistence.dbbackups.mountPath | string | `"/dbbackups"` | |
-| persistence.dbbackups.size | string | `"100Gi"` | |
+| persistence.dbbackups.size | string | `"999Gi"` | |
| persistence.dbbackups.type | string | `"pvc"` | |
+| podSecurityContext.fsGroup | int | `568` | |
+| podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | |
+| podSecurityContext.runAsGroup | int | `0` | |
+| podSecurityContext.runAsUser | int | `568` | |
+| podSecurityContext.supplementalGroups | list | `[]` | |
| postgresqlDatabase | string | `"test"` | |
| postgresqlPassword | string | `"testpass"` | |
| postgresqlUsername | string | `"test"` | |
+| securityContext.allowPrivilegeEscalation | bool | `true` | |
+| securityContext.privileged | bool | `false` | |
+| securityContext.readOnlyRootFilesystem | bool | `false` | |
+| securityContext.runAsNonRoot | bool | `false` | |
| service.main.enabled | bool | `true` | |
| service.main.ports.main.port | int | `5432` | |
-| strategy.type | string | `"Recreate"` | |
All Rights Reserved - The TrueCharts Project
diff --git a/docs/apps/stable/postgresql/CHANGELOG.md b/docs/apps/stable/postgresql/CHANGELOG.md
index 0bb88d481e5..63313512e23 100644
--- a/docs/apps/stable/postgresql/CHANGELOG.md
+++ b/docs/apps/stable/postgresql/CHANGELOG.md
@@ -1,6 +1,25 @@
# Changelog
+
+### [postgresql-2.1.0](https://github.com/truecharts/apps/compare/postgresql-2.0.0...postgresql-2.1.0) (2021-09-11)
+
+#### Chore
+
+* Use bitnami instead of stock postgresql container ([#960](https://github.com/truecharts/apps/issues/960))
+* update non-major
+
+#### Feat
+
+* pin all container references to digests ([#963](https://github.com/truecharts/apps/issues/963))
+
+#### Fix
+
+* make sure podSecurityContext is included in both SCALE and Helm installs ([#956](https://github.com/truecharts/apps/issues/956))
+* move runAsNonRoot to container securityContext to allow root sidecarts ([#954](https://github.com/truecharts/apps/issues/954))
+
+
+
### [postgresql-2.0.0](https://github.com/truecharts/apps/compare/postgresql-1.6.6...postgresql-2.0.0) (2021-09-09)
diff --git a/docs/apps/stable/postgresql/helm-values.md b/docs/apps/stable/postgresql/helm-values.md
index c4ee872e772..2ea2f1e49d2 100644
--- a/docs/apps/stable/postgresql/helm-values.md
+++ b/docs/apps/stable/postgresql/helm-values.md
@@ -18,23 +18,49 @@ You will, however, be able to use all values referenced in the common chart here
| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.name | string | `"{{ ( tpl .Values.existingSecret $ ) | default ( include \"common.names.fullname\" . ) }}"` | |
| existingSecret | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
-| image.repository | string | `"postgres"` | |
-| image.tag | string | `"13.4"` | |
+| image.repository | string | `"bitnami/postgresql"` | |
+| image.tag | string | `"13.4.0@sha256:7fff0f7e827cd8e1daa3adbf0ca3f19e21006023c0f6d1c2d835718961516a87"` | |
+| initContainers.migrate-db.command[0] | string | `"/bin/sh"` | |
+| initContainers.migrate-db.command[1] | string | `"-cx"` | |
+| initContainers.migrate-db.command[2] | string | `"echo 'trying to migrate old db to new location...'\nmkdir -p /bitnami/postgresql/data\nmv -f /bitnami/postgresql/old/* /bitnami/postgresql/data/ || true\nchown -R {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/postgresql/data\nchmod 775 /bitnami/postgresql/data\n"` | |
+| initContainers.migrate-db.image | string | `"{{ .Values.alpineImage.repository}}:{{ .Values.alpineImage.tag }}"` | |
+| initContainers.migrate-db.imagePullPolicy | string | `"IfNotPresent"` | |
+| initContainers.migrate-db.securityContext.allowPrivilegeEscalation | bool | `true` | |
+| initContainers.migrate-db.securityContext.privileged | bool | `true` | |
+| initContainers.migrate-db.securityContext.runAsNonRoot | bool | `false` | |
+| initContainers.migrate-db.securityContext.runAsUser | int | `0` | |
+| initContainers.migrate-db.volumeMounts[0].mountPath | string | `"/bitnami/postgresql/old"` | |
+| initContainers.migrate-db.volumeMounts[0].name | string | `"db"` | |
+| initContainers.migrate-db.volumeMounts[1].mountPath | string | `"/bitnami/postgresql"` | |
+| initContainers.migrate-db.volumeMounts[1].name | string | `"data"` | |
+| persistence.data.accessMode | string | `"ReadWriteOnce"` | |
+| persistence.data.enabled | bool | `true` | |
+| persistence.data.mountPath | string | `"/bitnami/postgresql"` | |
+| persistence.data.size | string | `"999Gi"` | |
+| persistence.data.type | string | `"pvc"` | |
| persistence.db.accessMode | string | `"ReadWriteOnce"` | |
| persistence.db.enabled | bool | `true` | |
-| persistence.db.mountPath | string | `"/var/lib/postgresql/data"` | |
-| persistence.db.size | string | `"100Gi"` | |
+| persistence.db.mountPath | string | `"/bitnami/postgresql/old"` | |
+| persistence.db.size | string | `"999Gi"` | |
| persistence.db.type | string | `"pvc"` | |
| persistence.dbbackups.accessMode | string | `"ReadWriteOnce"` | |
| persistence.dbbackups.enabled | bool | `true` | |
| persistence.dbbackups.mountPath | string | `"/dbbackups"` | |
-| persistence.dbbackups.size | string | `"100Gi"` | |
+| persistence.dbbackups.size | string | `"999Gi"` | |
| persistence.dbbackups.type | string | `"pvc"` | |
+| podSecurityContext.fsGroup | int | `568` | |
+| podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | |
+| podSecurityContext.runAsGroup | int | `0` | |
+| podSecurityContext.runAsUser | int | `568` | |
+| podSecurityContext.supplementalGroups | list | `[]` | |
| postgresqlDatabase | string | `"test"` | |
| postgresqlPassword | string | `"testpass"` | |
| postgresqlUsername | string | `"test"` | |
+| securityContext.allowPrivilegeEscalation | bool | `true` | |
+| securityContext.privileged | bool | `false` | |
+| securityContext.readOnlyRootFilesystem | bool | `false` | |
+| securityContext.runAsNonRoot | bool | `false` | |
| service.main.enabled | bool | `true` | |
| service.main.ports.main.port | int | `5432` | |
-| strategy.type | string | `"Recreate"` | |
All Rights Reserved - The TrueCharts Project
diff --git a/docs/apps/stable/postgresql/index.md b/docs/apps/stable/postgresql/index.md
index ff3c1088d00..0cf471c5f95 100644
--- a/docs/apps/stable/postgresql/index.md
+++ b/docs/apps/stable/postgresql/index.md
@@ -17,7 +17,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
-| https://truecharts.org/ | common | 7.0.0 |
+| https://truecharts.org/ | common | 7.0.2 |
## Installing the Chart
diff --git a/docs/index.yaml b/docs/index.yaml
index 4892e11bcda..2c1b60b5c39 100644
--- a/docs/index.yaml
+++ b/docs/index.yaml
@@ -122498,6 +122498,37 @@ entries:
- https://github.com/truecharts/apps/releases/download/podgrab-1.0.3/podgrab-1.0.3.tgz
version: 1.0.3
postgresql:
+ - apiVersion: v2
+ appVersion: 13.4.0@sha
+ created: "2021-09-11T19:00:33.267860631Z"
+ dependencies:
+ - name: common
+ repository: https://truecharts.org/
+ version: 7.0.2
+ description: PostgresSQL
+ digest: 36f3bba12e25c7a82da833aa4ebc4202de8064354096eda05aa70e485a427455
+ home: https://github.com/truecharts/apps/tree/master/stable/postgres
+ icon: https://d1q6f0aelx0por.cloudfront.net/product-logos/library-postgres-logo.png
+ keywords:
+ - postgres
+ - postgressql
+ - dtabase
+ - sql
+ kubeVersion: '>=1.16.0-0'
+ maintainers:
+ - email: info@truecharts.org
+ name: TrueCharts
+ url: truecharts.org
+ - email: kjeld@schouten-lebbing.nl
+ name: Ornias1993
+ url: truecharts.org
+ name: postgresql
+ sources:
+ - https://www.postgresql.org/
+ type: application
+ urls:
+ - https://github.com/truecharts/apps/releases/download/postgresql-2.1.0/postgresql-2.1.0.tgz
+ version: 2.1.0
- apiVersion: v2
appVersion: "13.4"
created: "2021-09-09T20:08:26.276074897Z"
@@ -178687,4 +178718,4 @@ entries:
urls:
- https://github.com/truecharts/apps/releases/download/zwavejs2mqtt-3.1.5/zwavejs2mqtt-3.1.5.tgz
version: 3.1.5
-generated: "2021-09-11T10:10:31.939137605Z"
+generated: "2021-09-11T19:00:33.328622948Z"