diff --git a/charts/hedgedoc/Chart.yaml b/charts/hedgedoc/Chart.yaml index 422d8ff95da73fa9d7cd0ad58b8544f45a28ae4e..f163c47cf36916f51d27bd33e9ed3392d5980d42 100644 --- a/charts/hedgedoc/Chart.yaml +++ b/charts/hedgedoc/Chart.yaml @@ -11,7 +11,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.1.2 +version: 0.1.3 # renovate: image=quay.io/hedgedoc/hedgedoc appVersion: 1.9.7 maintainers: diff --git a/charts/hedgedoc/README.md b/charts/hedgedoc/README.md index 652329b5bdecf891de956b995cc0a7db4c2c1951..dceb58f28fd86254b5550167359e082c6c2bace2 100644 --- a/charts/hedgedoc/README.md +++ b/charts/hedgedoc/README.md @@ -1,6 +1,6 @@ # hedgedoc -   +   A platform to write and share markdown. diff --git a/charts/hedgedoc/templates/_helpers.tpl b/charts/hedgedoc/templates/_helpers.tpl index f2c532d115fd8e031d97fd728645e3d9049d380c..c99b8a96853afd47230dc45ffc11f25f2496deb9 100644 --- a/charts/hedgedoc/templates/_helpers.tpl +++ b/charts/hedgedoc/templates/_helpers.tpl @@ -67,10 +67,8 @@ Get the postgresql secret. {{- define "hedgedoc.postgresql.secretName" -}} {{- if (and (or .Values.postgresql.enabled .Values.postgresql.postgresqlHostname) .Values.postgresql.auth.existingSecret) }} {{- printf "%s" (tpl .Values.postgresql.auth.existingSecret $) -}} -{{- else if .Values.postgresql.enabled -}} - {{- printf "%s-postgresql" (tpl .Release.Name $) -}} {{- else -}} - {{- printf "%s" (include "common.names.fullname" .) -}} + {{- printf "%s-postgresql" (tpl .Release.Name $) -}} {{- end -}} {{- end -}} diff --git a/charts/hedgedoc/templates/secret.yaml b/charts/hedgedoc/templates/secret.yaml index e21c66fc1e00c19eb1cec1319a872f4e08e6418b..437bca31d7676d7ce97c9d889d11bd5609b6122c 100644 --- a/charts/hedgedoc/templates/secret.yaml +++ b/charts/hedgedoc/templates/secret.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Secret metadata: - name: dotfile-secret + name: {{ include "hedgedoc.fullname" . }} data: {{- with .Values.config.session.secret }} CMD_SESSION_SECRET: {{ . | b64enc }} diff --git a/charts/hedgedoc/tests/__snapshot__/98_snapshot_test.yaml.snap b/charts/hedgedoc/tests/__snapshot__/98_snapshot_test.yaml.snap index 57561565cbfd6453bfb67b06f0dd658ce19d3980..706e250f68e7632ba272beba82199f9a0057ea67 100644 --- a/charts/hedgedoc/tests/__snapshot__/98_snapshot_test.yaml.snap +++ b/charts/hedgedoc/tests/__snapshot__/98_snapshot_test.yaml.snap @@ -110,7 +110,7 @@ should match basic snapshot: data: null kind: Secret metadata: - name: dotfile-secret + name: RELEASE-NAME-hedgedoc 5: | apiVersion: v1 kind: Service