Skip to content

Commit fac1d90

Browse files
committed
only create banned user name env var if it was provided
1 parent 58586a9 commit fac1d90

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

charts/pixelfed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.14.0
18+
version: 0.14.1
1919

2020
# This is the version number of the application being deployed.
2121
# renovate:image=ghcr.io/mattlqx/docker-pixelfed

charts/pixelfed/templates/configmap_env.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,16 @@ data:
9191
# filesystem
9292
FILESYSTEM_DRIVER: {{ .Values.pixelfed.filesystem.driver }}
9393
FILESYSTEM_CLOUD: {{ .Values.pixelfed.filesystem.cloud }}
94-
MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud }}
94+
MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud | quote }}
9595

9696
# covid
9797
ENABLE_COVID_LABEL: {{ .Values.pixelfed.covid.enable_label }}
9898
COVID_LABEL_URL: {{ .Values.pixelfed.covid.label_url }}
9999
COVID_LABEL_ORG: {{ .Values.pixelfed.covid.label_org }}
100100

101-
BANNED_USERNAMES: {{ .Values.pixelfed.banned_usernames }}
101+
{{- with .Values.pixelfed.banned_usernames }}
102+
BANNED_USERNAMES: {{ . }}
103+
{{- end }}
102104

103105
# activity pub
104106
ACTIVITY_PUB: {{ .Values.pixelfed.activity_pub.enabled | quote }}

0 commit comments

Comments
 (0)