Commit new App releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2021-10-26 10:06:54 +00:00
parent 4f9ea0e24f
commit 73fe6f3554
15 changed files with 17 additions and 69 deletions

View File

@ -1,6 +1,20 @@
# Changelog<br>
<a name="postgresql-5.1.0"></a>
### [postgresql-5.1.0](https://github.com/truecharts/apps/compare/postgresql-4.1.0...postgresql-5.1.0) (2021-10-26)
<a name="postgresql-4.1.0"></a>
### [postgresql-4.1.0](https://github.com/truecharts/apps/compare/postgresql-5.0.0...postgresql-4.1.0) (2021-10-26)
#### Fix
* fix migration scripting for new major
<a name="postgresql-5.0.0"></a>
### [postgresql-5.0.0](https://github.com/truecharts/apps/compare/postgresql-4.0.3...postgresql-5.0.0) (2021-10-25)
@ -83,17 +97,3 @@
<a name="postgresql-3.0.19"></a>
### [postgresql-3.0.19](https://github.com/truecharts/apps/compare/postgresql-3.0.18...postgresql-3.0.19) (2021-10-19)
#### Chore
* Add description on persistence ([#1172](https://github.com/truecharts/apps/issues/1172))
#### Fix
* Solve issues regarding ix_values.yaml not containing the image and tag definitions. ([#1176](https://github.com/truecharts/apps/issues/1176))
#### Refactor
* Project Eclipse - part 1 - remove ix_values.yaml ([#1168](https://github.com/truecharts/apps/issues/1168))

View File

@ -3,4 +3,4 @@ dependencies:
repository: https://truecharts.org
version: 8.3.14
digest: sha256:2278950106e480dac22f26c75bdff4cffbc2d5262a24692f160c3bfa37bda367
generated: "2021-10-25T11:51:35.127441956Z"
generated: "2021-10-26T10:03:36.689796943Z"

View File

@ -18,14 +18,11 @@ 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
version: 5.0.0
version: 5.1.0
annotations:
truecharts.org/catagories: |
- database

View File

@ -20,27 +20,9 @@ You will, however, be able to use all values referenced in the common chart here
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"bitnami/postgresql"` | |
| image.tag | string | `"13.4.0@sha256:6ae26c46c20358fb2889a759d11d237b1d6d5f73ba206ef3d66f95448a859382"` | |
| 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.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"` | |
| initContainers.migrate-db.volumeMounts[0].name | string | `"db"` | |
| initContainers.migrate-db.volumeMounts[1].mountPath | string | `"/bitnami/postgresql/old"` | |
| 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.storageClass | string | `"-"` | |
| persistence.data.type | string | `"pvc"` | |
| persistence.db.accessMode | string | `"ReadWriteOnce"` | |
| persistence.db.enabled | bool | `true` | |
| persistence.db.mountPath | string | `"/bitnami/postgresql/old"` | |
| persistence.db.mountPath | string | `"/bitnami/postgresql"` | |
| persistence.db.size | string | `"999Gi"` | |
| persistence.db.type | string | `"pvc"` | |
| podSecurityContext.runAsGroup | int | `0` | |

View File

@ -16,47 +16,16 @@ service:
## TODO: Fix the backup-on-upgrade system
enableUpgradeBackup: false
initContainers:
migrate-db:
image: "{{ .Values.alpineImage.repository}}:{{ .Values.alpineImage.tag }}"
securityContext:
runAsUser: 0
privileged: true
runAsNonRoot: false
command:
- /bin/sh
- -cx
- |
echo 'trying to migrate old db to new location...'
mkdir -p /bitnami/postgresql/data
mv -f /bitnami/postgresql/old/* /bitnami/postgresql/data/ || true
chown -R {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/postgresql/data
chmod 775 /bitnami/postgresql/data
imagePullPolicy: IfNotPresent
volumeMounts:
- name: db
mountPath: /bitnami/postgresql
- name: data
mountPath: /bitnami/postgresql/old
podSecurityContext:
runAsGroup: 0
persistence:
db:
enabled: true
mountPath: "/bitnami/postgresql/old"
type: pvc
accessMode: ReadWriteOnce
size: "999Gi"
data:
enabled: true
mountPath: "/bitnami/postgresql"
type: pvc
accessMode: ReadWriteOnce
size: "999Gi"
storageClass: "-"
postgresqlPassword: "testpass"
postgresqlUsername: "test"