diff --git a/charts/hedgedoc/Chart.yaml b/charts/hedgedoc/Chart.yaml index 6d83461557b4757e8bef7604ee3837d03a175fb5..3a50c51e5a46598a2c73a6fc80ca7964c11546d2 100644 --- a/charts/hedgedoc/Chart.yaml +++ b/charts/hedgedoc/Chart.yaml @@ -1,6 +1,9 @@ apiVersion: v2 name: hedgedoc -description: A platform to write and share markdown. +description: | + A platform to write and share markdown. + + (Be aware: This is currently a PoC and not necessarily fit for all use-cases. It is mainly built for use with external PostgresQL databases.) home: https://hedgedoc.org icon: https://avatars.githubusercontent.com/u/67865462 type: application @@ -11,7 +14,7 @@ keywords: sources: - https://github.com/hedgedoc/hedgedoc/tree/master - https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/-/tree/main/charts/hedgedoc -version: 0.2.0 +version: 0.2.1 # renovate: image=quay.io/hedgedoc/hedgedoc appVersion: 1.9.7 maintainers: @@ -21,4 +24,4 @@ dependencies: - name: postgresql version: 11.9.13 repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami - condition: postgresql.enabled \ No newline at end of file + condition: postgresql.enabled diff --git a/charts/hedgedoc/README.md b/charts/hedgedoc/README.md index 45928477e54dabf382438c432fc6e6377dd87a4a..819c230aa4ba5e51d4da6e94134a54bc3af0f07a 100644 --- a/charts/hedgedoc/README.md +++ b/charts/hedgedoc/README.md @@ -1,9 +1,11 @@ # hedgedoc -   +   A platform to write and share markdown. +(Be aware: This is currently a PoC and not necessarily fit for all use-cases. It is mainly built for use with external PostgresQL databases.) + **Homepage:** <https://hedgedoc.org> ## Maintainers diff --git a/charts/hedgedoc/templates/deployment.yaml b/charts/hedgedoc/templates/deployment.yaml index 85734b29c6d287405aae370a060df848d0968a63..a7a0b902976602072178c806660238eee7b5b430 100644 --- a/charts/hedgedoc/templates/deployment.yaml +++ b/charts/hedgedoc/templates/deployment.yaml @@ -38,14 +38,14 @@ spec: name: {{ include "hedgedoc.fullname" . }} - secretRef: name: {{ include "hedgedoc.fullname" . }} + {{- if (or .Values.postgresql.enabled .Values.postgresql.auth.existingSecret) }} env: - {{- if (or .Values.postgresql.enabled .Values.postgresql.auth.existingSecret) }} - name: "CMD_DB_PASSWORD" valueFrom: secretKeyRef: name: {{ template "hedgedoc.postgresql.secretName" . }} key: password - {{- end }} + {{- end }} ports: - name: http containerPort: 3000