only create banned user name env var if it was provided

This commit is contained in:
jessebot
2025-01-19 19:36:06 +01:00
parent 58586a9cd5
commit fac1d906da
2 changed files with 5 additions and 3 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.0 version: 0.14.1
# 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
+4 -2
View File
@@ -91,14 +91,16 @@ data:
# filesystem # filesystem
FILESYSTEM_DRIVER: {{ .Values.pixelfed.filesystem.driver }} FILESYSTEM_DRIVER: {{ .Values.pixelfed.filesystem.driver }}
FILESYSTEM_CLOUD: {{ .Values.pixelfed.filesystem.cloud }} FILESYSTEM_CLOUD: {{ .Values.pixelfed.filesystem.cloud }}
MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud }} 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 }}
COVID_LABEL_URL: {{ .Values.pixelfed.covid.label_url }} COVID_LABEL_URL: {{ .Values.pixelfed.covid.label_url }}
COVID_LABEL_ORG: {{ .Values.pixelfed.covid.label_org }} COVID_LABEL_ORG: {{ .Values.pixelfed.covid.label_org }}
BANNED_USERNAMES: {{ .Values.pixelfed.banned_usernames }} {{- with .Values.pixelfed.banned_usernames }}
BANNED_USERNAMES: {{ . }}
{{- end }}
# activity pub # activity pub
ACTIVITY_PUB: {{ .Values.pixelfed.activity_pub.enabled | quote }} ACTIVITY_PUB: {{ .Values.pixelfed.activity_pub.enabled | quote }}