diff --git a/dependency/mariadb/1.0.0/CHANGELOG.md b/dependency/mariadb/1.0.1/CHANGELOG.md
similarity index 57%
rename from dependency/mariadb/1.0.0/CHANGELOG.md
rename to dependency/mariadb/1.0.1/CHANGELOG.md
index 0746dfa1b4..eb7a02fb93 100644
--- a/dependency/mariadb/1.0.0/CHANGELOG.md
+++ b/dependency/mariadb/1.0.1/CHANGELOG.md
@@ -1,6 +1,15 @@
# Changelog
+
+### [mariadb-1.0.1](https://github.com/truecharts/apps/compare/mariadb-1.0.0...mariadb-1.0.1) (2021-11-15)
+
+#### Feat
+
+* move postgresql to use statefullset and cleanup ([#1335](https://github.com/truecharts/apps/issues/1335))
+
+
+
### [mariadb-1.0.0](https://github.com/truecharts/apps/compare/mariadb-0.0.1...mariadb-1.0.0) (2021-11-15)
diff --git a/dependency/mariadb/1.0.0/CONFIG.md b/dependency/mariadb/1.0.1/CONFIG.md
similarity index 100%
rename from dependency/mariadb/1.0.0/CONFIG.md
rename to dependency/mariadb/1.0.1/CONFIG.md
diff --git a/dependency/postgresql/5.1.18/Chart.lock b/dependency/mariadb/1.0.1/Chart.lock
similarity index 78%
rename from dependency/postgresql/5.1.18/Chart.lock
rename to dependency/mariadb/1.0.1/Chart.lock
index 9db170fea8..25c8ebc259 100644
--- a/dependency/postgresql/5.1.18/Chart.lock
+++ b/dependency/mariadb/1.0.1/Chart.lock
@@ -3,4 +3,4 @@ dependencies:
repository: https://truecharts.org
version: 8.6.1
digest: sha256:e20ba044bec59b72113064287786636a095f51f6f97c4fa2c3791a8a046514c5
-generated: "2021-11-15T19:04:19.982293821Z"
+generated: "2021-11-15T19:51:27.525527773Z"
diff --git a/dependency/mariadb/1.0.0/Chart.yaml b/dependency/mariadb/1.0.1/Chart.yaml
similarity index 98%
rename from dependency/mariadb/1.0.0/Chart.yaml
rename to dependency/mariadb/1.0.1/Chart.yaml
index 69042644c2..02787e728f 100644
--- a/dependency/mariadb/1.0.0/Chart.yaml
+++ b/dependency/mariadb/1.0.1/Chart.yaml
@@ -24,7 +24,7 @@ sources:
- https://github.com/prometheus/mysqld_exporter
- https://mariadb.org
type: application
-version: 1.0.0
+version: 1.0.1
annotations:
truecharts.org/catagories: |
- database
diff --git a/dependency/mariadb/1.0.0/README.md b/dependency/mariadb/1.0.1/README.md
similarity index 100%
rename from dependency/mariadb/1.0.0/README.md
rename to dependency/mariadb/1.0.1/README.md
diff --git a/dependency/mariadb/1.0.0/app-readme.md b/dependency/mariadb/1.0.1/app-readme.md
similarity index 100%
rename from dependency/mariadb/1.0.0/app-readme.md
rename to dependency/mariadb/1.0.1/app-readme.md
diff --git a/dependency/mariadb/1.0.0/charts/common-8.6.1.tgz b/dependency/mariadb/1.0.1/charts/common-8.6.1.tgz
similarity index 100%
rename from dependency/mariadb/1.0.0/charts/common-8.6.1.tgz
rename to dependency/mariadb/1.0.1/charts/common-8.6.1.tgz
diff --git a/dependency/mariadb/1.0.0/helm-values.md b/dependency/mariadb/1.0.1/helm-values.md
similarity index 95%
rename from dependency/mariadb/1.0.0/helm-values.md
rename to dependency/mariadb/1.0.1/helm-values.md
index 9c91fb29ef..82f1fb27c5 100644
--- a/dependency/mariadb/1.0.0/helm-values.md
+++ b/dependency/mariadb/1.0.1/helm-values.md
@@ -49,8 +49,7 @@ You will, however, be able to use all values referenced in the common chart here
| service.main.enabled | bool | `true` | |
| service.main.ports.main.port | int | `3306` | |
| service.main.ports.main.targetPort | int | `3306` | |
-| volumeClaimTemplates.db.accessMode | string | `"ReadWriteOnce"` | |
-| volumeClaimTemplates.db.enabled | bool | `true` | |
-| volumeClaimTemplates.db.mountPath | string | `"/bitnami/mariadb"` | |
+| volumeClaimTemplates.data.enabled | bool | `true` | |
+| volumeClaimTemplates.data.mountPath | string | `"/bitnami/mariadb"` | |
All Rights Reserved - The TrueCharts Project
diff --git a/dependency/mariadb/1.0.0/ix_values.yaml b/dependency/mariadb/1.0.1/ix_values.yaml
similarity index 98%
rename from dependency/mariadb/1.0.0/ix_values.yaml
rename to dependency/mariadb/1.0.1/ix_values.yaml
index 89e41a39fc..10426839e1 100644
--- a/dependency/mariadb/1.0.0/ix_values.yaml
+++ b/dependency/mariadb/1.0.1/ix_values.yaml
@@ -40,10 +40,9 @@ podSecurityContext:
runAsGroup: 0
volumeClaimTemplates:
- db:
+ data:
enabled: true
mountPath: "/bitnami/mariadb"
- accessMode: ReadWriteOnce
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
diff --git a/dependency/mariadb/1.0.0/questions.yaml b/dependency/mariadb/1.0.1/questions.yaml
similarity index 99%
rename from dependency/mariadb/1.0.0/questions.yaml
rename to dependency/mariadb/1.0.1/questions.yaml
index 5551957676..f7974d1766 100644
--- a/dependency/mariadb/1.0.0/questions.yaml
+++ b/dependency/mariadb/1.0.1/questions.yaml
@@ -70,7 +70,7 @@ questions:
label: "(Advanced) Controller Type"
schema:
type: string
- default: "deployment"
+ default: "statefulset"
required: true
enum:
- value: "deployment"
@@ -91,7 +91,7 @@ questions:
label: "(Advanced) Update Strategy"
schema:
type: string
- default: "Recreate"
+ default: "RollingUpdate"
required: true
enum:
- value: "Recreate"
@@ -584,15 +584,15 @@ questions:
min: 9000
max: 65535
- - variable: persistence
+ - variable: volumeClaimTemplates
label: "Integrated Persistent Storage"
description: "Integrated Persistent Storage"
group: "Storage and Persistence"
schema:
type: dict
attrs:
- - variable: db
- label: "Old db Storage"
+ - variable: data
+ label: "DB Storage"
description: "Stores the old Application Database."
schema:
type: dict
@@ -613,14 +613,8 @@ questions:
enum:
- value: "simplePVC"
description: "PVC (simple)"
- - value: "simpleHP"
- description: "HostPath (simple)"
- - value: "emptyDir"
- description: "emptyDir"
- value: "pvc"
description: "pvc"
- - value: "hostPath"
- description: "hostPath"
- variable: setPermissionsSimple
label: "Automatic Permissions"
description: "Automatically set permissions on install"
diff --git a/dependency/mariadb/1.0.0/templates/common.yaml b/dependency/mariadb/1.0.1/templates/common.yaml
similarity index 100%
rename from dependency/mariadb/1.0.0/templates/common.yaml
rename to dependency/mariadb/1.0.1/templates/common.yaml
diff --git a/dependency/mariadb/1.0.0/templates/secret.yaml b/dependency/mariadb/1.0.1/templates/secret.yaml
similarity index 100%
rename from dependency/mariadb/1.0.0/templates/secret.yaml
rename to dependency/mariadb/1.0.1/templates/secret.yaml
diff --git a/dependency/mariadb/1.0.0/values.yaml b/dependency/mariadb/1.0.1/values.yaml
similarity index 100%
rename from dependency/mariadb/1.0.0/values.yaml
rename to dependency/mariadb/1.0.1/values.yaml
diff --git a/dependency/postgresql/5.1.18/helm-values.md b/dependency/postgresql/5.1.18/helm-values.md
deleted file mode 100644
index d7d6ec06bd..0000000000
--- a/dependency/postgresql/5.1.18/helm-values.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# Default Helm-Values
-
-TrueCharts is primarily build to supply TrueNAS SCALE Apps.
-However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
-
-Most of our Apps also consume our "common" Helm Chart.
-If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
-You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
-
-## Values
-
-| Key | Type | Default | Description |
-|-----|------|---------|-------------|
-| enableUpgradeBackup | bool | `false` | |
-| envTpl.POSTGRES_DB | string | `"{{ .Values.postgresqlDatabase }}"` | |
-| envTpl.POSTGRES_USER | string | `"{{ .Values.postgresqlUsername }}"` | |
-| envValueFrom.POSTGRESQL_POSTGRES_PASSWORD.secretKeyRef.key | string | `"postgresql-postgres-password"` | |
-| envValueFrom.POSTGRESQL_POSTGRES_PASSWORD.secretKeyRef.name | string | `"{{ ( tpl .Values.existingSecret $ ) | default ( include \"common.names.fullname\" . ) }}"` | |
-| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
-| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.name | string | `"{{ ( tpl .Values.existingSecret $ ) | default ( include \"common.names.fullname\" . ) }}"` | |
-| existingSecret | string | `""` | |
-| image.pullPolicy | string | `"IfNotPresent"` | |
-| image.repository | string | `"bitnami/postgresql"` | |
-| image.tag | string | `"14.1.0@sha256:480fa9cd68d9013ea622b8a6dc71505bc8f0eaeac6d062cb5182bff44d0fcdbb"` | |
-| persistence.db.enabled | bool | `true` | |
-| persistence.db.mountPath | string | `"/bitnami/postgresql"` | |
-| podSecurityContext.runAsGroup | int | `0` | |
-| postgrespassword | string | `"testroot"` | |
-| postgresqlDatabase | string | `"test"` | |
-| postgresqlPassword | string | `"testpass"` | |
-| postgresqlUsername | string | `"test"` | |
-| securityContext.readOnlyRootFilesystem | bool | `false` | |
-| service.main.enabled | bool | `true` | |
-| service.main.ports.main.port | int | `5432` | |
-| service.main.ports.main.targetPort | int | `5432` | |
-
-All Rights Reserved - The TrueCharts Project
diff --git a/dependency/postgresql/5.1.18/ix_values.yaml b/dependency/postgresql/5.1.18/ix_values.yaml
deleted file mode 100644
index 6ec26a9f15..0000000000
--- a/dependency/postgresql/5.1.18/ix_values.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-image:
- repository: bitnami/postgresql
- pullPolicy: IfNotPresent
- tag: 14.1.0@sha256:480fa9cd68d9013ea622b8a6dc71505bc8f0eaeac6d062cb5182bff44d0fcdbb
-
-securityContext:
- readOnlyRootFilesystem: false
-
-service:
- main:
- enabled: true
- ports:
- main:
- port: 5432
- targetPort: 5432
-
-## TODO: Fix the backup-on-upgrade system
-enableUpgradeBackup: false
-
-podSecurityContext:
- runAsGroup: 0
-
-persistence:
- db:
- enabled: true
- mountPath: "/bitnami/postgresql"
-
-
-postgresqlPassword: "testpass"
-postgresqlUsername: "test"
-postgresqlDatabase: "test"
-postgrespassword: "testroot"
-existingSecret: ""
-
-envValueFrom:
- POSTGRES_PASSWORD:
- secretKeyRef:
- name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
- key: "postgresql-password"
- POSTGRESQL_POSTGRES_PASSWORD:
- secretKeyRef:
- name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
- key: "postgresql-postgres-password"
-
-envTpl:
- POSTGRES_USER: "{{ .Values.postgresqlUsername }}"
- POSTGRES_DB: "{{ .Values.postgresqlDatabase }}"
-# POSTGRESQL_POSTGRES_PASSWORD: "{{ .Values.postgrespassword }}"
-# POSTGRESQL_PASSWORD: "{{ .Values.password }}"
diff --git a/dependency/postgresql/5.1.18/CHANGELOG.md b/dependency/postgresql/5.2.0/CHANGELOG.md
similarity index 90%
rename from dependency/postgresql/5.1.18/CHANGELOG.md
rename to dependency/postgresql/5.2.0/CHANGELOG.md
index a984bcccfb..725e50f0c9 100644
--- a/dependency/postgresql/5.1.18/CHANGELOG.md
+++ b/dependency/postgresql/5.2.0/CHANGELOG.md
@@ -1,6 +1,15 @@
# Changelog
+
+### [postgresql-5.2.0](https://github.com/truecharts/apps/compare/postgresql-5.1.18...postgresql-5.2.0) (2021-11-15)
+
+#### Feat
+
+* move postgresql to use statefullset and cleanup ([#1335](https://github.com/truecharts/apps/issues/1335))
+
+
+
### [postgresql-5.1.18](https://github.com/truecharts/apps/compare/postgresql-5.1.17...postgresql-5.1.18) (2021-11-15)
@@ -88,12 +97,3 @@
### [postgresql-5.1.11](https://github.com/truecharts/apps/compare/postgresql-5.1.10...postgresql-5.1.11) (2021-11-07)
#### Chore
-
-* update non-major deps helm releases ([#1295](https://github.com/truecharts/apps/issues/1295))
-
-
-
-
-### [postgresql-5.1.10](https://github.com/truecharts/apps/compare/postgresql-5.1.9...postgresql-5.1.10) (2021-11-07)
-
-#### Chore
diff --git a/dependency/postgresql/5.1.18/CONFIG.md b/dependency/postgresql/5.2.0/CONFIG.md
similarity index 100%
rename from dependency/postgresql/5.1.18/CONFIG.md
rename to dependency/postgresql/5.2.0/CONFIG.md
diff --git a/dependency/mariadb/1.0.0/Chart.lock b/dependency/postgresql/5.2.0/Chart.lock
similarity index 78%
rename from dependency/mariadb/1.0.0/Chart.lock
rename to dependency/postgresql/5.2.0/Chart.lock
index 40457bfa30..80120bb203 100644
--- a/dependency/mariadb/1.0.0/Chart.lock
+++ b/dependency/postgresql/5.2.0/Chart.lock
@@ -3,4 +3,4 @@ dependencies:
repository: https://truecharts.org
version: 8.6.1
digest: sha256:e20ba044bec59b72113064287786636a095f51f6f97c4fa2c3791a8a046514c5
-generated: "2021-11-15T19:03:26.650150611Z"
+generated: "2021-11-15T19:51:58.377303996Z"
diff --git a/dependency/postgresql/5.1.18/Chart.yaml b/dependency/postgresql/5.2.0/Chart.yaml
similarity index 97%
rename from dependency/postgresql/5.1.18/Chart.yaml
rename to dependency/postgresql/5.2.0/Chart.yaml
index 5acad29f1b..1d23f3306c 100644
--- a/dependency/postgresql/5.1.18/Chart.yaml
+++ b/dependency/postgresql/5.2.0/Chart.yaml
@@ -22,7 +22,7 @@ name: postgresql
sources:
- https://www.postgresql.org/
type: application
-version: 5.1.18
+version: 5.2.0
annotations:
truecharts.org/catagories: |
- database
diff --git a/dependency/postgresql/5.1.18/README.md b/dependency/postgresql/5.2.0/README.md
similarity index 100%
rename from dependency/postgresql/5.1.18/README.md
rename to dependency/postgresql/5.2.0/README.md
diff --git a/dependency/postgresql/5.1.18/app-readme.md b/dependency/postgresql/5.2.0/app-readme.md
similarity index 100%
rename from dependency/postgresql/5.1.18/app-readme.md
rename to dependency/postgresql/5.2.0/app-readme.md
diff --git a/dependency/postgresql/5.1.18/charts/common-8.6.1.tgz b/dependency/postgresql/5.2.0/charts/common-8.6.1.tgz
similarity index 100%
rename from dependency/postgresql/5.1.18/charts/common-8.6.1.tgz
rename to dependency/postgresql/5.2.0/charts/common-8.6.1.tgz
diff --git a/dependency/postgresql/5.2.0/helm-values.md b/dependency/postgresql/5.2.0/helm-values.md
new file mode 100644
index 0000000000..67a2c3dda9
--- /dev/null
+++ b/dependency/postgresql/5.2.0/helm-values.md
@@ -0,0 +1,58 @@
+# Default Helm-Values
+
+TrueCharts is primarily build to supply TrueNAS SCALE Apps.
+However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file.
+
+Most of our Apps also consume our "common" Helm Chart.
+If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart.
+You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document.
+
+## Values
+
+| Key | Type | Default | Description |
+|-----|------|---------|-------------|
+| controller.replicas | int | `1` | Number of desired pods |
+| controller.revisionHistoryLimit | int | `3` | ReplicaSet revision history limit |
+| controller.rollingUpdate.partition | string | `nil` | Set statefulset RollingUpdate partition |
+| controller.rollingUpdate.surge | string | `nil` | Set deployment RollingUpdate max surge |
+| controller.rollingUpdate.unavailable | int | `1` | Set deployment RollingUpdate max unavailable |
+| controller.strategy | string | `"RollingUpdate"` | Set the controller upgrade strategy For Deployments, valid values are Recreate (default) and RollingUpdate. For StatefulSets, valid values are OnDelete and RollingUpdate (default). DaemonSets ignore this. |
+| controller.type | string | `"statefulset"` | Set the controller type. Valid options are deployment, daemonset or statefulset |
+| enableUpgradeBackup | bool | `false` | |
+| envTpl.POSTGRES_DB | string | `"{{ .Values.postgresqlDatabase }}"` | |
+| envTpl.POSTGRES_USER | string | `"{{ .Values.postgresqlUsername }}"` | |
+| envValueFrom.POSTGRESQL_POSTGRES_PASSWORD.secretKeyRef.key | string | `"postgresql-postgres-password"` | |
+| envValueFrom.POSTGRESQL_POSTGRES_PASSWORD.secretKeyRef.name | string | `"{{ ( tpl .Values.existingSecret $ ) | default ( include \"common.names.fullname\" . ) }}"` | |
+| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.key | string | `"postgresql-password"` | |
+| envValueFrom.POSTGRES_PASSWORD.secretKeyRef.name | string | `"{{ ( tpl .Values.existingSecret $ ) | default ( include \"common.names.fullname\" . ) }}"` | |
+| existingSecret | string | `""` | |
+| image.pullPolicy | string | `"IfNotPresent"` | |
+| image.repository | string | `"bitnami/postgresql"` | |
+| image.tag | string | `"14.1.0@sha256:480fa9cd68d9013ea622b8a6dc71505bc8f0eaeac6d062cb5182bff44d0fcdbb"` | |
+| 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/ || true\nchown -R {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/postgresql/\nchmod 775 /bitnami/postgresql/\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/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.db.enabled | bool | `true` | |
+| persistence.db.mountPath | string | `"/bitnami/postgresql/old"` | |
+| podSecurityContext.runAsGroup | int | `0` | |
+| postgrespassword | string | `"testroot"` | |
+| postgresqlDatabase | string | `"test"` | |
+| postgresqlPassword | string | `"testpass"` | |
+| postgresqlUsername | string | `"test"` | |
+| securityContext.readOnlyRootFilesystem | bool | `false` | |
+| service.main.enabled | bool | `true` | |
+| service.main.ports.main.port | int | `5432` | |
+| service.main.ports.main.targetPort | int | `5432` | |
+| volumeClaimTemplates.data.enabled | bool | `true` | |
+| volumeClaimTemplates.data.mountPath | string | `"/bitnami/postgresql"` | |
+
+All Rights Reserved - The TrueCharts Project
diff --git a/dependency/postgresql/5.2.0/ix_values.yaml b/dependency/postgresql/5.2.0/ix_values.yaml
new file mode 100644
index 0000000000..026cdc722c
--- /dev/null
+++ b/dependency/postgresql/5.2.0/ix_values.yaml
@@ -0,0 +1,98 @@
+image:
+ repository: bitnami/postgresql
+ pullPolicy: IfNotPresent
+ tag: 14.1.0@sha256:480fa9cd68d9013ea622b8a6dc71505bc8f0eaeac6d062cb5182bff44d0fcdbb
+
+controller:
+ # -- Set the controller type.
+ # Valid options are deployment, daemonset or statefulset
+ type: statefulset
+ # -- Number of desired pods
+ replicas: 1
+ # -- Set the controller upgrade strategy
+ # For Deployments, valid values are Recreate (default) and RollingUpdate.
+ # For StatefulSets, valid values are OnDelete and RollingUpdate (default).
+ # DaemonSets ignore this.
+ strategy: RollingUpdate
+ rollingUpdate:
+ # -- Set deployment RollingUpdate max unavailable
+ unavailable: 1
+ # -- Set deployment RollingUpdate max surge
+ surge:
+ # -- Set statefulset RollingUpdate partition
+ partition:
+ # -- ReplicaSet revision history limit
+ revisionHistoryLimit: 3
+
+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/ || true
+ chown -R {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} /bitnami/postgresql/
+ chmod 775 /bitnami/postgresql/
+ imagePullPolicy: IfNotPresent
+ volumeMounts:
+ - name: db
+ mountPath: /bitnami/postgresql/old
+ - name: data
+ mountPath: /bitnami/postgresql
+
+securityContext:
+ readOnlyRootFilesystem: false
+
+service:
+ main:
+ enabled: true
+ ports:
+ main:
+ port: 5432
+ targetPort: 5432
+
+## TODO: Fix the backup-on-upgrade system
+enableUpgradeBackup: false
+
+podSecurityContext:
+ runAsGroup: 0
+
+persistence:
+ db:
+ enabled: true
+ mountPath: "/bitnami/postgresql/old"
+
+volumeClaimTemplates:
+ data:
+ enabled: true
+ mountPath: "/bitnami/postgresql"
+
+
+postgresqlPassword: "testpass"
+postgresqlUsername: "test"
+postgresqlDatabase: "test"
+postgrespassword: "testroot"
+existingSecret: ""
+
+envValueFrom:
+ POSTGRES_PASSWORD:
+ secretKeyRef:
+ name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
+ key: "postgresql-password"
+ POSTGRESQL_POSTGRES_PASSWORD:
+ secretKeyRef:
+ name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
+ key: "postgresql-postgres-password"
+
+envTpl:
+ POSTGRES_USER: "{{ .Values.postgresqlUsername }}"
+ POSTGRES_DB: "{{ .Values.postgresqlDatabase }}"
+# POSTGRESQL_POSTGRES_PASSWORD: "{{ .Values.postgrespassword }}"
+# POSTGRESQL_PASSWORD: "{{ .Values.password }}"
diff --git a/dependency/postgresql/5.1.18/questions.yaml b/dependency/postgresql/5.2.0/questions.yaml
similarity index 99%
rename from dependency/postgresql/5.1.18/questions.yaml
rename to dependency/postgresql/5.2.0/questions.yaml
index 050d8b63ed..75d496cc66 100644
--- a/dependency/postgresql/5.1.18/questions.yaml
+++ b/dependency/postgresql/5.2.0/questions.yaml
@@ -70,7 +70,7 @@ questions:
label: "(Advanced) Controller Type"
schema:
type: string
- default: "deployment"
+ default: "statefulset"
required: true
enum:
- value: "deployment"
@@ -91,7 +91,7 @@ questions:
label: "(Advanced) Update Strategy"
schema:
type: string
- default: "Recreate"
+ default: "RollingUpdate"
required: true
enum:
- value: "Recreate"
@@ -584,15 +584,15 @@ questions:
min: 9000
max: 65535
- - variable: persistence
+ - variable: volumeClaimTemplates
label: "Integrated Persistent Storage"
description: "Integrated Persistent Storage"
group: "Storage and Persistence"
schema:
type: dict
attrs:
- - variable: db
- label: "Old db Storage"
+ - variable: data
+ label: "DB Storage"
description: "Stores the old Application Database."
schema:
type: dict
@@ -613,14 +613,8 @@ questions:
enum:
- value: "simplePVC"
description: "PVC (simple)"
- - value: "simpleHP"
- description: "HostPath (simple)"
- - value: "emptyDir"
- description: "emptyDir"
- value: "pvc"
description: "pvc"
- - value: "hostPath"
- description: "hostPath"
- variable: setPermissionsSimple
label: "Automatic Permissions"
description: "Automatically set permissions on install"
diff --git a/dependency/postgresql/5.1.18/templates/backup-postgres-config.yaml b/dependency/postgresql/5.2.0/templates/backup-postgres-config.yaml
similarity index 100%
rename from dependency/postgresql/5.1.18/templates/backup-postgres-config.yaml
rename to dependency/postgresql/5.2.0/templates/backup-postgres-config.yaml
diff --git a/dependency/postgresql/5.1.18/templates/common.yaml b/dependency/postgresql/5.2.0/templates/common.yaml
similarity index 100%
rename from dependency/postgresql/5.1.18/templates/common.yaml
rename to dependency/postgresql/5.2.0/templates/common.yaml
diff --git a/dependency/postgresql/5.1.18/templates/secret.yaml b/dependency/postgresql/5.2.0/templates/secret.yaml
similarity index 100%
rename from dependency/postgresql/5.1.18/templates/secret.yaml
rename to dependency/postgresql/5.2.0/templates/secret.yaml
diff --git a/dependency/postgresql/5.1.18/templates/upgrade-backup-postgres-hook.yaml b/dependency/postgresql/5.2.0/templates/upgrade-backup-postgres-hook.yaml
similarity index 100%
rename from dependency/postgresql/5.1.18/templates/upgrade-backup-postgres-hook.yaml
rename to dependency/postgresql/5.2.0/templates/upgrade-backup-postgres-hook.yaml
diff --git a/dependency/postgresql/5.1.18/values.yaml b/dependency/postgresql/5.2.0/values.yaml
similarity index 100%
rename from dependency/postgresql/5.1.18/values.yaml
rename to dependency/postgresql/5.2.0/values.yaml
diff --git a/dependency/redis/1.0.2/CHANGELOG.md b/dependency/redis/1.0.3/CHANGELOG.md
similarity index 84%
rename from dependency/redis/1.0.2/CHANGELOG.md
rename to dependency/redis/1.0.3/CHANGELOG.md
index c75b199eb3..b55851fbfe 100644
--- a/dependency/redis/1.0.2/CHANGELOG.md
+++ b/dependency/redis/1.0.3/CHANGELOG.md
@@ -1,6 +1,15 @@
# Changelog
+
+### [redis-1.0.3](https://github.com/truecharts/apps/compare/redis-1.0.2...redis-1.0.3) (2021-11-15)
+
+#### Feat
+
+* move postgresql to use statefullset and cleanup ([#1335](https://github.com/truecharts/apps/issues/1335))
+
+
+
### [redis-1.0.2](https://github.com/truecharts/apps/compare/redis-1.0.1...redis-1.0.2) (2021-11-15)
diff --git a/dependency/redis/1.0.2/CONFIG.md b/dependency/redis/1.0.3/CONFIG.md
similarity index 100%
rename from dependency/redis/1.0.2/CONFIG.md
rename to dependency/redis/1.0.3/CONFIG.md
diff --git a/dependency/redis/1.0.2/Chart.lock b/dependency/redis/1.0.3/Chart.lock
similarity index 78%
rename from dependency/redis/1.0.2/Chart.lock
rename to dependency/redis/1.0.3/Chart.lock
index 0c150b545e..25852edbe1 100644
--- a/dependency/redis/1.0.2/Chart.lock
+++ b/dependency/redis/1.0.3/Chart.lock
@@ -3,4 +3,4 @@ dependencies:
repository: https://truecharts.org
version: 8.6.1
digest: sha256:e20ba044bec59b72113064287786636a095f51f6f97c4fa2c3791a8a046514c5
-generated: "2021-11-15T19:04:46.518321972Z"
+generated: "2021-11-15T19:52:28.984647411Z"
diff --git a/dependency/redis/1.0.2/Chart.yaml b/dependency/redis/1.0.3/Chart.yaml
similarity index 98%
rename from dependency/redis/1.0.2/Chart.yaml
rename to dependency/redis/1.0.3/Chart.yaml
index d77c8249e8..1622889f88 100644
--- a/dependency/redis/1.0.2/Chart.yaml
+++ b/dependency/redis/1.0.3/Chart.yaml
@@ -22,7 +22,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-redis
- http://redis.io/
type: application
-version: 1.0.2
+version: 1.0.3
annotations:
truecharts.org/catagories: |
- database
diff --git a/dependency/redis/1.0.2/README.md b/dependency/redis/1.0.3/README.md
similarity index 100%
rename from dependency/redis/1.0.2/README.md
rename to dependency/redis/1.0.3/README.md
diff --git a/dependency/redis/1.0.2/app-readme.md b/dependency/redis/1.0.3/app-readme.md
similarity index 100%
rename from dependency/redis/1.0.2/app-readme.md
rename to dependency/redis/1.0.3/app-readme.md
diff --git a/dependency/redis/1.0.2/charts/common-8.6.1.tgz b/dependency/redis/1.0.3/charts/common-8.6.1.tgz
similarity index 100%
rename from dependency/redis/1.0.2/charts/common-8.6.1.tgz
rename to dependency/redis/1.0.3/charts/common-8.6.1.tgz
diff --git a/dependency/redis/1.0.2/helm-values.md b/dependency/redis/1.0.3/helm-values.md
similarity index 96%
rename from dependency/redis/1.0.2/helm-values.md
rename to dependency/redis/1.0.3/helm-values.md
index 543012effc..656f11bb33 100644
--- a/dependency/redis/1.0.2/helm-values.md
+++ b/dependency/redis/1.0.3/helm-values.md
@@ -50,10 +50,7 @@ You will, however, be able to use all values referenced in the common chart here
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| service.main.ports.main.port | int | `6379` | |
| service.main.ports.main.targetPort | int | `6379` | |
-| volumeClaimTemplates.data.accessMode | string | `"ReadWriteOnce"` | |
| volumeClaimTemplates.data.enabled | bool | `true` | |
| volumeClaimTemplates.data.mountPath | string | `"/bitnami/redis"` | |
-| volumeClaimTemplates.data.size | string | `"100Gi"` | |
-| volumeClaimTemplates.data.type | string | `"pvc"` | |
All Rights Reserved - The TrueCharts Project
diff --git a/dependency/redis/1.0.2/ix_values.yaml b/dependency/redis/1.0.3/ix_values.yaml
similarity index 98%
rename from dependency/redis/1.0.2/ix_values.yaml
rename to dependency/redis/1.0.3/ix_values.yaml
index 77614fe6ef..677cdb91b4 100644
--- a/dependency/redis/1.0.2/ix_values.yaml
+++ b/dependency/redis/1.0.3/ix_values.yaml
@@ -59,9 +59,6 @@ volumeClaimTemplates:
data:
enabled: true
mountPath: "/bitnami/redis"
- accessMode: ReadWriteOnce
- type: pvc
- size: "100Gi"
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
diff --git a/dependency/redis/1.0.2/questions.yaml b/dependency/redis/1.0.3/questions.yaml
similarity index 100%
rename from dependency/redis/1.0.2/questions.yaml
rename to dependency/redis/1.0.3/questions.yaml
diff --git a/dependency/redis/1.0.2/templates/common.yaml b/dependency/redis/1.0.3/templates/common.yaml
similarity index 100%
rename from dependency/redis/1.0.2/templates/common.yaml
rename to dependency/redis/1.0.3/templates/common.yaml
diff --git a/dependency/redis/1.0.2/templates/health-configmap.yaml b/dependency/redis/1.0.3/templates/health-configmap.yaml
similarity index 100%
rename from dependency/redis/1.0.2/templates/health-configmap.yaml
rename to dependency/redis/1.0.3/templates/health-configmap.yaml
diff --git a/dependency/redis/1.0.2/templates/secret.yaml b/dependency/redis/1.0.3/templates/secret.yaml
similarity index 100%
rename from dependency/redis/1.0.2/templates/secret.yaml
rename to dependency/redis/1.0.3/templates/secret.yaml
diff --git a/dependency/redis/1.0.2/values.yaml b/dependency/redis/1.0.3/values.yaml
similarity index 100%
rename from dependency/redis/1.0.2/values.yaml
rename to dependency/redis/1.0.3/values.yaml
diff --git a/stable/openldap/4.0.12/Chart.lock b/stable/openldap/4.0.12/Chart.lock
deleted file mode 100644
index 65740b36aa..0000000000
--- a/stable/openldap/4.0.12/Chart.lock
+++ /dev/null
@@ -1,6 +0,0 @@
-dependencies:
-- name: common
- repository: https://truecharts.org
- version: 8.5.7
-digest: sha256:2ba352eb349fd774c72b211477a059be1e479a30eef137afaca686a2946a6dc7
-generated: "2021-11-14T17:55:11.841145355Z"
diff --git a/stable/openldap/4.0.12/charts/common-8.5.7.tgz b/stable/openldap/4.0.12/charts/common-8.5.7.tgz
deleted file mode 100644
index 045b7f416a..0000000000
Binary files a/stable/openldap/4.0.12/charts/common-8.5.7.tgz and /dev/null differ
diff --git a/stable/openldap/4.0.12/CHANGELOG.md b/stable/openldap/4.0.13/CHANGELOG.md
similarity index 90%
rename from stable/openldap/4.0.12/CHANGELOG.md
rename to stable/openldap/4.0.13/CHANGELOG.md
index 889342d17b..3da0fe2b02 100644
--- a/stable/openldap/4.0.12/CHANGELOG.md
+++ b/stable/openldap/4.0.13/CHANGELOG.md
@@ -1,6 +1,15 @@
# Changelog
+
+### [openldap-4.0.13](https://github.com/truecharts/apps/compare/openldap-4.0.12...openldap-4.0.13) (2021-11-15)
+
+#### Feat
+
+* move postgresql to use statefullset and cleanup ([#1335](https://github.com/truecharts/apps/issues/1335))
+
+
+
### [openldap-4.0.12](https://github.com/truecharts/apps/compare/openldap-4.0.11...openldap-4.0.12) (2021-11-14)
@@ -88,12 +97,3 @@
### [openldap-4.0.4](https://github.com/truecharts/apps/compare/openldap-4.0.3...openldap-4.0.4) (2021-11-02)
-#### Chore
-
-* update non-major deps helm releases ([#1267](https://github.com/truecharts/apps/issues/1267))
-
-
-
-
-### [openldap-4.0.3](https://github.com/truecharts/apps/compare/openldap-4.0.2...openldap-4.0.3) (2021-11-01)
-
diff --git a/stable/openldap/4.0.12/CONFIG.md b/stable/openldap/4.0.13/CONFIG.md
similarity index 100%
rename from stable/openldap/4.0.12/CONFIG.md
rename to stable/openldap/4.0.13/CONFIG.md
diff --git a/stable/openldap/4.0.13/Chart.lock b/stable/openldap/4.0.13/Chart.lock
new file mode 100644
index 0000000000..64c439c854
--- /dev/null
+++ b/stable/openldap/4.0.13/Chart.lock
@@ -0,0 +1,6 @@
+dependencies:
+- name: common
+ repository: https://truecharts.org
+ version: 8.6.1
+digest: sha256:e20ba044bec59b72113064287786636a095f51f6f97c4fa2c3791a8a046514c5
+generated: "2021-11-15T19:52:59.609342723Z"
diff --git a/stable/openldap/4.0.12/Chart.yaml b/stable/openldap/4.0.13/Chart.yaml
similarity index 95%
rename from stable/openldap/4.0.12/Chart.yaml
rename to stable/openldap/4.0.13/Chart.yaml
index ceab8e2e1e..5c0a82cd1f 100644
--- a/stable/openldap/4.0.12/Chart.yaml
+++ b/stable/openldap/4.0.13/Chart.yaml
@@ -3,7 +3,7 @@ appVersion: "1.5.0"
dependencies:
- name: common
repository: https://truecharts.org
- version: 8.5.7
+ version: 8.6.1
deprecated: false
description: Community developed LDAP software
home: https://www.openldap.org
@@ -23,7 +23,7 @@ sources:
- https://github.com/jp-gouin/helm-openldap
- https://github.com/osixia/docker-openldap
type: application
-version: 4.0.12
+version: 4.0.13
annotations:
truecharts.org/catagories: |
- cloud
diff --git a/stable/openldap/4.0.12/README.md b/stable/openldap/4.0.13/README.md
similarity index 96%
rename from stable/openldap/4.0.12/README.md
rename to stable/openldap/4.0.13/README.md
index 441cfc9e66..e4c839735e 100644
--- a/stable/openldap/4.0.12/README.md
+++ b/stable/openldap/4.0.13/README.md
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
-| https://truecharts.org | common | 8.5.7 |
+| https://truecharts.org | common | 8.6.1 |
## Installing the Chart
diff --git a/stable/openldap/4.0.12/app-readme.md b/stable/openldap/4.0.13/app-readme.md
similarity index 100%
rename from stable/openldap/4.0.12/app-readme.md
rename to stable/openldap/4.0.13/app-readme.md
diff --git a/stable/openldap/4.0.13/charts/common-8.6.1.tgz b/stable/openldap/4.0.13/charts/common-8.6.1.tgz
new file mode 100644
index 0000000000..95122bc76f
Binary files /dev/null and b/stable/openldap/4.0.13/charts/common-8.6.1.tgz differ
diff --git a/stable/openldap/4.0.12/helm-values.md b/stable/openldap/4.0.13/helm-values.md
similarity index 91%
rename from stable/openldap/4.0.12/helm-values.md
rename to stable/openldap/4.0.13/helm-values.md
index 8624ae6bff..4c4c87a77e 100644
--- a/stable/openldap/4.0.12/helm-values.md
+++ b/stable/openldap/4.0.13/helm-values.md
@@ -60,6 +60,6 @@ You will, however, be able to use all values referenced in the common chart here
| service.ldaps.ports.ldaps.targetPort | int | `636` | |
| service.main.ports.main.port | int | `389` | |
| service.main.ports.main.targetPort | int | `389` | |
-| volumeClaimTemplates | object | `{"data":{"accessMode":"ReadWriteOnce","enabled":true,"mountPath":"/var/lib/ldap/","size":"100Gi"},"slapd":{"accessMode":"ReadWriteOnce","enabled":true,"mountPath":"/etc/ldap/slapd.d/","size":"100Gi"}}` | Used in conjunction with `controller.type: statefulset` to create individual disks for each instance. |
+| volumeClaimTemplates | object | `{"data":{"enabled":true,"mountPath":"/var/lib/ldap/"},"slapd":{"enabled":true,"mountPath":"/etc/ldap/slapd.d/"}}` | Used in conjunction with `controller.type: statefulset` to create individual disks for each instance. |
All Rights Reserved - The TrueCharts Project
diff --git a/stable/openldap/4.0.12/ix_values.yaml b/stable/openldap/4.0.13/ix_values.yaml
similarity index 96%
rename from stable/openldap/4.0.12/ix_values.yaml
rename to stable/openldap/4.0.13/ix_values.yaml
index 77afb1f4d0..b55930a311 100644
--- a/stable/openldap/4.0.12/ix_values.yaml
+++ b/stable/openldap/4.0.13/ix_values.yaml
@@ -95,10 +95,6 @@ volumeClaimTemplates:
data:
enabled: true
mountPath: "/var/lib/ldap/"
- accessMode: ReadWriteOnce
- size: "100Gi"
slapd:
enabled: true
mountPath: "/etc/ldap/slapd.d/"
- accessMode: ReadWriteOnce
- size: "100Gi"
diff --git a/stable/openldap/4.0.12/questions.yaml b/stable/openldap/4.0.13/questions.yaml
similarity index 100%
rename from stable/openldap/4.0.12/questions.yaml
rename to stable/openldap/4.0.13/questions.yaml
diff --git a/stable/openldap/4.0.12/templates/_configmap.tpl b/stable/openldap/4.0.13/templates/_configmap.tpl
similarity index 100%
rename from stable/openldap/4.0.12/templates/_configmap.tpl
rename to stable/openldap/4.0.13/templates/_configmap.tpl
diff --git a/stable/openldap/4.0.12/templates/common.yaml b/stable/openldap/4.0.13/templates/common.yaml
similarity index 100%
rename from stable/openldap/4.0.12/templates/common.yaml
rename to stable/openldap/4.0.13/templates/common.yaml
diff --git a/stable/openldap/4.0.12/values.yaml b/stable/openldap/4.0.13/values.yaml
similarity index 100%
rename from stable/openldap/4.0.12/values.yaml
rename to stable/openldap/4.0.13/values.yaml