Skip to content
Snippets Groups Projects
Verified Commit 6ef4ff7d authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(hedgedoc): Adjust secret name for broken dependency

parent ef7dbe64
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
# hedgedoc
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.9.7](https://img.shields.io/badge/AppVersion-1.9.7-informational?style=flat-square)
![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.9.7](https://img.shields.io/badge/AppVersion-1.9.7-informational?style=flat-square)
A platform to write and share markdown.
......
......@@ -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 -}}
......
apiVersion: v1
kind: Secret
metadata:
name: dotfile-secret
name: {{ include "hedgedoc.fullname" . }}
data:
{{- with .Values.config.session.secret }}
CMD_SESSION_SECRET: {{ . | b64enc }}
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment