diff --git a/gotosocial/Chart.yaml b/gotosocial/Chart.yaml index 28384ea..549bde6 100644 --- a/gotosocial/Chart.yaml +++ b/gotosocial/Chart.yaml @@ -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! icon: https://docs.gotosocial.org/en/latest/assets/sloth.png type: application -version: 0.2.1 +version: 0.2.2 # renovate: image=docker.io/superseriousbusiness/gotosocial appVersion: "0.16.0" maintainers: diff --git a/gotosocial/README.adoc b/gotosocial/README.adoc index 2a139d0..fd3837d 100644 --- a/gotosocial/README.adoc +++ b/gotosocial/README.adoc @@ -2,7 +2,7 @@ = 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/AppVersion-0.16.0-informational?style=flat-square[AppVersion: 0.16.0] == Maintainers diff --git a/gotosocial/templates/secret.yaml b/gotosocial/templates/secret.yaml index 08f345b..070a6f6 100644 --- a/gotosocial/templates/secret.yaml +++ b/gotosocial/templates/secret.yaml @@ -12,7 +12,9 @@ data: TZ: {{ .tz | 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_ACCOUNT_DOMAIN: {{ .accountDomain | b64enc }} @@ -43,7 +45,9 @@ data: {{- end }}{{/* end-else-if sqlite */}} {{- with .instance }} - GTS_INSTANCE_LANGUAGES: {{ .languages | join "," | b64enc }} + {{- with .languages }} + GTS_INSTANCE_LANGUAGES: {{ . | join "," | b64enc }} + {{- end }} {{- with .federation }} GTS_INSTANCE_FEDERATION_MODE: {{ .mode | b64enc }} GTS_INSTANCE_FEDERATION_SPAM_FILTER: {{ toYaml .spamFilter | b64enc }} @@ -106,11 +110,19 @@ data: {{- end }}{{/* end-with oidc */}} {{- with .smtp }} - GTS_SMTP_HOST: {{ .host | default "" | b64enc }} + {{- with .host }} + GTS_SMTP_HOST: {{ . | b64enc }} + {{- end }} GTS_SMTP_PORT: {{ toYaml .port | b64enc }} - GTS_SMTP_USERNAME: {{ .username | default "" | b64enc }} - GTS_SMTP_PASSWORD: {{ .password | default "" | b64enc }} - GTS_SMTP_FROM: {{ .from | default "" | b64enc }} + {{- with .username }} + GTS_SMTP_USERNAME: {{ . | b64enc }} + {{- end }} + {{- with .password }} + GTS_SMTP_PASSWORD: {{ . | b64enc }} + {{- end }} + {{- with .from }} + GTS_SMTP_FROM: {{ . | b64enc }} + {{- end }} GTS_SMTP_DISCLOSE_RECIPIENTS: {{ toYaml .discloseRecipients | b64enc }} {{- end }}{{/* end-with smtp */}}