mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 21:59:10 +08:00
joplin - replace boilerplate with template
This commit is contained in:
committed by
Stavros Kois
parent
e5ddf6694a
commit
51dfa67376
@@ -1,6 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.2.0
|
||||
digest: sha256:a87a6988cedfc3f8a90eb308dffaaeaa1cbd0cad31c20e15b1147084360b9ec1
|
||||
generated: "2023-11-02T12:20:39.027755478+02:00"
|
||||
version: 1.2.1
|
||||
digest: sha256:d695592ea5213fe64453171205ca326015d02df3888a7858becc0c733b0de4c7
|
||||
generated: "2023-11-06T19:46:30.510415405+02:00"
|
||||
|
||||
@@ -15,7 +15,7 @@ maintainers:
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.2.0
|
||||
version: 1.2.1
|
||||
home: https://joplinapp.org/
|
||||
icon: https://media.sys.truenas.net/apps/joplin/icons/icon.png
|
||||
sources:
|
||||
|
||||
Binary file not shown.
BIN
library/ix-dev/community/joplin/charts/common-1.2.1.tgz
Normal file
BIN
library/ix-dev/community/joplin/charts/common-1.2.1.tgz
Normal file
Binary file not shown.
@@ -1,31 +1,7 @@
|
||||
{{- define "joplin.persistence" -}}
|
||||
persistence:
|
||||
postgresdata:
|
||||
enabled: true
|
||||
type: {{ .Values.joplinStorage.pgData.type }}
|
||||
datasetName: {{ .Values.joplinStorage.pgData.datasetName | default "" }}
|
||||
hostPath: {{ .Values.joplinStorage.pgData.hostPath | default "" }}
|
||||
targetSelector:
|
||||
# Postgres pod
|
||||
postgres:
|
||||
# Postgres container
|
||||
postgres:
|
||||
mountPath: /var/lib/postgresql/data
|
||||
# Postgres - Permissions container
|
||||
permissions:
|
||||
mountPath: /mnt/directories/postgres_data
|
||||
postgresbackup:
|
||||
enabled: true
|
||||
type: {{ .Values.joplinStorage.pgBackup.type }}
|
||||
datasetName: {{ .Values.joplinStorage.pgBackup.datasetName | default "" }}
|
||||
hostPath: {{ .Values.joplinStorage.pgBackup.hostPath | default "" }}
|
||||
targetSelector:
|
||||
# Postgres backup pod
|
||||
postgresbackup:
|
||||
# Postgres backup container
|
||||
postgresbackup:
|
||||
mountPath: /postgres_backup
|
||||
# Postgres - Permissions container
|
||||
permissions:
|
||||
mountPath: /mnt/directories/postgres_backup
|
||||
{{- include "ix.v1.common.app.postgresPersistence"
|
||||
(dict "pgData" .Values.joplinStorage.pgData
|
||||
"pgBackup" .Values.joplinStorage.pgBackup
|
||||
) | nindent 2 }}
|
||||
{{- end -}}
|
||||
|
||||
@@ -12,15 +12,6 @@ service:
|
||||
port: {{ .Values.joplinNetwork.webPort }}
|
||||
nodePort: {{ .Values.joplinNetwork.webPort }}
|
||||
targetSelector: joplin
|
||||
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 -}}
|
||||
|
||||
Reference in New Issue
Block a user