diff --git a/library/ix-dev/community/planka/Chart.lock b/library/ix-dev/community/planka/Chart.lock index 7fcc0a6cf5..f645c70659 100644 --- a/library/ix-dev/community/planka/Chart.lock +++ b/library/ix-dev/community/planka/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: file://../../../common - version: 1.1.1 -digest: sha256:a7dbe3e4d42dbcd4325776e5e01a1d630c7f185f79e7ebf22b1b9cc80f56eed7 -generated: "2023-10-18T08:08:50.240697425+03:00" + version: 1.2.1 +digest: sha256:d695592ea5213fe64453171205ca326015d02df3888a7858becc0c733b0de4c7 +generated: "2023-11-06T19:55:14.483127524+02:00" diff --git a/library/ix-dev/community/planka/Chart.yaml b/library/ix-dev/community/planka/Chart.yaml index ea6a36b7d9..7e021c9834 100644 --- a/library/ix-dev/community/planka/Chart.yaml +++ b/library/ix-dev/community/planka/Chart.yaml @@ -3,7 +3,7 @@ description: Planka is an Elegant open source project tracking annotations: title: Planka type: application -version: 1.1.2 +version: 1.1.3 apiVersion: v2 appVersion: 1.14.3 kubeVersion: '>=1.16.0-0' @@ -14,7 +14,7 @@ maintainers: dependencies: - name: common repository: file://../../../common - version: 1.1.1 + version: 1.2.1 home: https://github.com/plankanban/planka icon: https://media.sys.truenas.net/apps/planka/icons/icon.png sources: diff --git a/library/ix-dev/community/planka/charts/common-1.1.1.tgz b/library/ix-dev/community/planka/charts/common-1.1.1.tgz deleted file mode 100644 index 58d44318e0..0000000000 Binary files a/library/ix-dev/community/planka/charts/common-1.1.1.tgz and /dev/null differ diff --git a/library/ix-dev/community/planka/charts/common-1.2.1.tgz b/library/ix-dev/community/planka/charts/common-1.2.1.tgz new file mode 100644 index 0000000000..e5e5492223 Binary files /dev/null and b/library/ix-dev/community/planka/charts/common-1.2.1.tgz differ diff --git a/library/ix-dev/community/planka/templates/_persistence.tpl b/library/ix-dev/community/planka/templates/_persistence.tpl index aeca9787a9..1bde3ee95b 100644 --- a/library/ix-dev/community/planka/templates/_persistence.tpl +++ b/library/ix-dev/community/planka/templates/_persistence.tpl @@ -68,35 +68,9 @@ persistence: mountPath: /mnt/directories{{ $storage.mountPath }} {{- end }} - {{/* Database */}} - postgresdata: - enabled: true - type: {{ .Values.plankaStorage.pgData.type }} - datasetName: {{ .Values.plankaStorage.pgData.datasetName | default "" }} - hostPath: {{ .Values.plankaStorage.pgData.hostPath | default "" }} - targetSelector: - # Postgres pod - postgres: - # Postgres container - postgres: - mountPath: /var/lib/postgresql/data - # Postgres - Permissions container - # Different than the 01-permissions - permissions: - mountPath: /mnt/directories/postgres_data - postgresbackup: - enabled: true - type: {{ .Values.plankaStorage.pgBackup.type }} - datasetName: {{ .Values.plankaStorage.pgBackup.datasetName | default "" }} - hostPath: {{ .Values.plankaStorage.pgBackup.hostPath | default "" }} - targetSelector: - # Postgres backup pod - postgresbackup: - # Postgres backup container - postgresbackup: - mountPath: /postgres_backup - # Postgres - Permissions container - # Different than the 01-permissions - permissions: - mountPath: /mnt/directories/postgres_backup + + {{- include "ix.v1.common.app.postgresPersistence" + (dict "pgData" .Values.plankaStorage.pgData + "pgBackup" .Values.plankaStorage.pgBackup + ) | nindent 2 }} {{- end -}} diff --git a/library/ix-dev/community/planka/templates/_service.tpl b/library/ix-dev/community/planka/templates/_service.tpl index ac1dcfb27a..ba9ae1508b 100644 --- a/library/ix-dev/community/planka/templates/_service.tpl +++ b/library/ix-dev/community/planka/templates/_service.tpl @@ -12,15 +12,6 @@ service: port: {{ .Values.plankaNetwork.webPort }} nodePort: {{ .Values.plankaNetwork.webPort }} targetSelector: planka - postgres: - enabled: true - type: ClusterIP - targetSelector: postgres - ports: - postgres: - enabled: true - primary: true - port: 5432 - targetPort: 5432 - targetSelector: postgres + {{- include "ix.v1.common.app.postgresService" $ | nindent 2 }} + {{- end -}}