fix(gotosocial): no empty values in secret

This commit is contained in:
WrenIX 2024-10-10 23:18:39 +02:00
parent d3df54a036
commit 0f400688df
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 20 additions and 8 deletions

View file

@ -3,7 +3,7 @@ name: gotosocial
description: With GoToSocial, you can keep in touch with your friends, post, read, and share images and articles. All without being tracked or advertised to! description: With GoToSocial, you can keep in touch with your friends, post, read, and share images and articles. All without being tracked or advertised to!
icon: https://docs.gotosocial.org/en/latest/assets/sloth.png icon: https://docs.gotosocial.org/en/latest/assets/sloth.png
type: application type: application
version: 0.2.1 version: 0.2.2
# renovate: image=docker.io/superseriousbusiness/gotosocial # renovate: image=docker.io/superseriousbusiness/gotosocial
appVersion: "0.16.0" appVersion: "0.16.0"
maintainers: maintainers:

View file

@ -2,7 +2,7 @@
= gotosocial = gotosocial
image::https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square[Version: 0.2.1] image::https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square[Version: 0.2.2]
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
image::https://img.shields.io/badge/AppVersion-0.16.0-informational?style=flat-square[AppVersion: 0.16.0] image::https://img.shields.io/badge/AppVersion-0.16.0-informational?style=flat-square[AppVersion: 0.16.0]
== Maintainers == Maintainers

View file

@ -12,7 +12,9 @@ data:
TZ: {{ .tz | b64enc }} TZ: {{ .tz | b64enc }}
GTS_APPLICATION_NAME: {{ .applicationName | b64enc }} GTS_APPLICATION_NAME: {{ .applicationName | b64enc }}
GTS_LANDING_PAGE_USER: {{ .landingPageUser | b64enc }} {{- with .landingPageUser }}
GTS_LANDING_PAGE_USER: {{ . | b64enc }}
{{- end }}
GTS_HOST: {{ .host | b64enc }} GTS_HOST: {{ .host | b64enc }}
GTS_ACCOUNT_DOMAIN: {{ .accountDomain | b64enc }} GTS_ACCOUNT_DOMAIN: {{ .accountDomain | b64enc }}
@ -43,7 +45,9 @@ data:
{{- end }}{{/* end-else-if sqlite */}} {{- end }}{{/* end-else-if sqlite */}}
{{- with .instance }} {{- with .instance }}
GTS_INSTANCE_LANGUAGES: {{ .languages | join "," | b64enc }} {{- with .languages }}
GTS_INSTANCE_LANGUAGES: {{ . | join "," | b64enc }}
{{- end }}
{{- with .federation }} {{- with .federation }}
GTS_INSTANCE_FEDERATION_MODE: {{ .mode | b64enc }} GTS_INSTANCE_FEDERATION_MODE: {{ .mode | b64enc }}
GTS_INSTANCE_FEDERATION_SPAM_FILTER: {{ toYaml .spamFilter | b64enc }} GTS_INSTANCE_FEDERATION_SPAM_FILTER: {{ toYaml .spamFilter | b64enc }}
@ -106,11 +110,19 @@ data:
{{- end }}{{/* end-with oidc */}} {{- end }}{{/* end-with oidc */}}
{{- with .smtp }} {{- with .smtp }}
GTS_SMTP_HOST: {{ .host | default "" | b64enc }} {{- with .host }}
GTS_SMTP_HOST: {{ . | b64enc }}
{{- end }}
GTS_SMTP_PORT: {{ toYaml .port | b64enc }} GTS_SMTP_PORT: {{ toYaml .port | b64enc }}
GTS_SMTP_USERNAME: {{ .username | default "" | b64enc }} {{- with .username }}
GTS_SMTP_PASSWORD: {{ .password | default "" | b64enc }} GTS_SMTP_USERNAME: {{ . | b64enc }}
GTS_SMTP_FROM: {{ .from | default "" | b64enc }} {{- end }}
{{- with .password }}
GTS_SMTP_PASSWORD: {{ . | b64enc }}
{{- end }}
{{- with .from }}
GTS_SMTP_FROM: {{ . | b64enc }}
{{- end }}
GTS_SMTP_DISCLOSE_RECIPIENTS: {{ toYaml .discloseRecipients | b64enc }} GTS_SMTP_DISCLOSE_RECIPIENTS: {{ toYaml .discloseRecipients | b64enc }}
{{- end }}{{/* end-with smtp */}} {{- end }}{{/* end-with smtp */}}