From 70002b17c7ae9c7201a98674bb06a2576ad59991 Mon Sep 17 00:00:00 2001 From: Tristan <74349933+trispera@users.noreply.github.com> Date: Mon, 25 Mar 2024 14:16:54 +0200 Subject: [PATCH] Fix postgresql service name for HedgeDoc (#27) * Update .gitignore * Update github actions workflow * Fix postgresql service name * Edit values.yaml * Update github actions --- .gitignore | 3 +-- charts/hedgedoc/Chart.yaml | 4 ++-- charts/hedgedoc/templates/deployment.yaml | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 6dcaad8..8e53e9c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ .DS_Store -Chart.lock -!values.schema.json \ No newline at end of file +Chart.lock \ No newline at end of file diff --git a/charts/hedgedoc/Chart.yaml b/charts/hedgedoc/Chart.yaml index 65cf338..0f51909 100644 --- a/charts/hedgedoc/Chart.yaml +++ b/charts/hedgedoc/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -name: hedgedoc-helm +name: hedgedoc description: Hedgedoc Helm Chart for Rahti platform Link to the repo https://github.com/CSCfi/helm-charts -version: 1.1.1 +version: 1.1.2 sources: - https://github.com/CSCfi/helm-charts icon: https://raw.githubusercontent.com/hedgedoc/hedgedoc/develop/frontend/src/app/icon.png diff --git a/charts/hedgedoc/templates/deployment.yaml b/charts/hedgedoc/templates/deployment.yaml index 5388921..f5b6ce9 100644 --- a/charts/hedgedoc/templates/deployment.yaml +++ b/charts/hedgedoc/templates/deployment.yaml @@ -40,7 +40,7 @@ spec: key: database-name name: postgres - name: CMD_DB_HOST - value: hedgedoc-postgresql + value: {{ include "postgresql.v1.primary.fullname" . }}-postgresql - name: CMD_DB_PORT value: "5432" - name: CMD_DB_DIALECT