fix string templating error with env file

This commit is contained in:
jessebot
2025-01-19 19:59:04 +01:00
parent a1e0a962a6
commit 3c46916807
3 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.14.2 version: 0.14.3
# This is the version number of the application being deployed. # This is the version number of the application being deployed.
# renovate:image=ghcr.io/mattlqx/docker-pixelfed # renovate:image=ghcr.io/mattlqx/docker-pixelfed
+10 -6
View File
@@ -14,7 +14,9 @@ data:
APP_DOMAIN: {{ . }} APP_DOMAIN: {{ . }}
{{- end }} {{- end }}
EXP_LOOPS: {{ .Values.pixelfed.exp_loops }} {{- with .Values.pixelfed.exp_loops }}
EXP_LOOPS: {{ . }}
{{- end }}
# registration related # registration related
OPEN_REGISTRATION: {{ .Values.pixelfed.open_registration | quote }} OPEN_REGISTRATION: {{ .Values.pixelfed.open_registration | quote }}
@@ -26,7 +28,7 @@ data:
# not sure where to put this # not sure where to put this
CUSTOM_EMOJI: {{ .Values.pixelfed.custom_emoji | quote }} CUSTOM_EMOJI: {{ .Values.pixelfed.custom_emoji | quote }}
CUSTOM_EMOJI_MAX_SIZE: {{ .Values.pixelfed.custom_emoji | quote }} CUSTOM_EMOJI_MAX_SIZE: {{ .Values.pixelfed.custom_emoji | quote }}
MEDIA_TYPES: {{ .Values.pixelfed.media_types }} MEDIA_TYPES: {{ .Values.pixelfed.media_types | quote }}
# limits # limits
MIN_PASSWORD_LENGTH: {{ .Values.pixelfed.min_password_length | quote }} MIN_PASSWORD_LENGTH: {{ .Values.pixelfed.min_password_length | quote }}
@@ -96,9 +98,9 @@ data:
MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud | quote }} MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud | quote }}
# covid # covid
ENABLE_COVID_LABEL: {{ .Values.pixelfed.covid.enable_label }} ENABLE_COVID_LABEL: {{ .Values.pixelfed.covid.enable_label | quote }}
COVID_LABEL_URL: {{ .Values.pixelfed.covid.label_url }} COVID_LABEL_URL: {{ .Values.pixelfed.covid.label_url | quote }}
COVID_LABEL_ORG: {{ .Values.pixelfed.covid.label_org }} COVID_LABEL_ORG: {{ .Values.pixelfed.covid.label_org | quote }}
{{- with .Values.pixelfed.banned_usernames }} {{- with .Values.pixelfed.banned_usernames }}
BANNED_USERNAMES: {{ . }} BANNED_USERNAMES: {{ . }}
@@ -110,7 +112,9 @@ data:
AP_SHAREDINBOX: {{ .Values.pixelfed.activity_pub.sharedinbox | quote }} AP_SHAREDINBOX: {{ .Values.pixelfed.activity_pub.sharedinbox | quote }}
AP_INBOX: {{ .Values.pixelfed.activity_pub.inbox | quote }} AP_INBOX: {{ .Values.pixelfed.activity_pub.inbox | quote }}
AP_OUTBOX: {{ .Values.pixelfed.activity_pub.outbox | quote }} AP_OUTBOX: {{ .Values.pixelfed.activity_pub.outbox | quote }}
AP_LOGGER_ENABLED: {{ .Values.pixelfed.activity_pub.logger_enabled | quote }} {{- with .Values.pixelfed.activity_pub.logger_enabled }}
AP_LOGGER_ENABLED: {{ . | quote }}
{{- end }}
# mail # mail
MAIL_DRIVER: "{{ .Values.pixelfed.mail.driver }}" MAIL_DRIVER: "{{ .Values.pixelfed.mail.driver }}"
+1 -1
View File
@@ -440,7 +440,7 @@ pixelfed:
# -- The public contact email for your server # -- The public contact email for your server
contact_email: "" contact_email: ""
# -- instance contact max per day # -- instance contact max per day
contact_max_per_day: "" contact_max_per_day: 1
# -- Enable the profile embed feature # -- Enable the profile embed feature
profile_embeds: true profile_embeds: true
# -- Enable the post embed feature # -- Enable the post embed feature